Object tracking and metrics
Project description
Sparrow Tracky
Sparrow Tracky is a Python package that implements basic object tracking and related metrics. The object tracking algorithm is a simplification of SORT and is designed for prototyping in Python -- not for production. The metrics Multi-Object Detection Accuracy (MODA) and Multi-Object Tracking Accuracy (MOTA) are useful for measuring the quality of box predictions.
Quick Start Example
Installation
pip install -U sparrow-tracky
Measuring MODA on frame boxes
import numpy as np
from sparrow_datums import FrameBoxes, PType
from sparrow_tracky import compute_moda
boxes = FrameBoxes(np.ones((4, 4)), PType.absolute_tlwh)
moda = compute_moda(boxes, boxes + 0.1)
moda
# Expected result
# MODA(false_negatives=0, false_positives=0, n_truth=4)
moda.value
# Expected result
# 1.0
Adding MODA objects
moda + moda
# Expected result
# MODA(false_negatives=0, false_positives=0, n_truth=8)
(moda + moda).value
# Expected result
# 1.0
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file sparrow-tracky-0.3.5.dev1657903505.tar.gz
.
File metadata
- Download URL: sparrow-tracky-0.3.5.dev1657903505.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f01104a89d27b62b9c399cbfe2011a7d94805803b0bb180ae83ec2f7099f3a9 |
|
MD5 | f1dba9e52de2e93e07660b1450a5ef2f |
|
BLAKE2b-256 | 68930bde2343e6863d048349aaddd6a3c3f9c6a193cc54808535db305e1d6fea |
File details
Details for the file sparrow_tracky-0.3.5.dev1657903505-py3-none-any.whl
.
File metadata
- Download URL: sparrow_tracky-0.3.5.dev1657903505-py3-none-any.whl
- Upload date:
- Size: 11.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.13.0-1031-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f89af3003ee00c9cb83cf7158ffa3f9a2849f46a994310fca20e7cfeec4a1c2 |
|
MD5 | 9acac9a11f1770be0c31e8f9914f85c2 |
|
BLAKE2b-256 | 41d2e18cc75913d60d760e2c7c8784d96f8b89cad2baf2986517fda602eb95e7 |