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.4.0.dev1659459748.tar.gz
.
File metadata
- Download URL: sparrow-tracky-0.4.0.dev1659459748.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4ef47314890313a5558be3bbf4c7be2a527b9cb74a5df8ed7cbf9d0ad7319e9 |
|
MD5 | fcb217a8dae76541e49082fca53c0069 |
|
BLAKE2b-256 | e14096949586f8d945b50c67d1bce19654c86d66eaf68a5f43542d5f815e80c7 |
File details
Details for the file sparrow_tracky-0.4.0.dev1659459748-py3-none-any.whl
.
File metadata
- Download URL: sparrow_tracky-0.4.0.dev1659459748-py3-none-any.whl
- Upload date:
- Size: 12.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.8.13 Linux/5.15.0-1014-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 778697acb0d1afdd99d8bcd16887a4e7e0c0a22ee46b4a816f3405033384cc33 |
|
MD5 | ccfe10df7fe8be6644e867da07d27c66 |
|
BLAKE2b-256 | de5815662881e89c5c471ca615df74da8f71d37391fcdbc52b102d5a37e4c805 |