"Horus's general object tracker"
Project description
This is a fork from OC_SORT. Only the main implementations are used.
Adjustments
- Map 1-1 each input detection result with a tracked result so a detection will receive either a valid value or
None. Checkmap_resultvariable intracker.pyfor detailed implementation. - Only accept post-processed detections (e.g: boxes are scaled to original image size).
- Adjust stale tracklet removal logic by using 2 new arguments:
hit_inertia_min: minimum number of hits for a tracklet to be considered alive.hitswill be initiated withhit_inertia_min+1. A tracklet will updatehitsdepending on input detection. CheckKalmanBoxTracker.updateandKalmanBoxTracker.is_alivefunction intracker.pyfor detailed implementation.hit_inertia_max: hard cap ofhits.
Installation
pip install techainer-ocsort
Example
- Prepare a video for face detection. Reconfig video name accordingly in
tests/test_ocsort.py. - Replace our face detection with yours in
tests/test_ocsort.py. Make sure that tracker input format is[[x1,y1,x2,y2,score],[x1,y1,x2,y2,score],...]. - Run
python tests/test_ocsort.py. Output will be saved in your configed video name.
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
techainer-ocsort-0.1.tar.gz
(22.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file techainer-ocsort-0.1.tar.gz.
File metadata
- Download URL: techainer-ocsort-0.1.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7d2f0c2d7c8fa0d62acb576a2a2cb49abf7e53994c8401cbd769f9d5a8c76edb
|
|
| MD5 |
bdbb79ec2faaaa29ebc0b5cffaf98b6c
|
|
| BLAKE2b-256 |
d3e4e458ada99987b6f9c2fc5ddfe5edef99253bbbf2810d320570ae78e0f51e
|
File details
Details for the file techainer_ocsort-0.1-py3-none-any.whl.
File metadata
- Download URL: techainer_ocsort-0.1-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab5891bbef5209051cced597e6a34fac7ac9718d8c28046e10097ee675091388
|
|
| MD5 |
461eadffac3447793661faa25a90c445
|
|
| BLAKE2b-256 |
1b12b04ea627ea72a1ea369e42a0f4b730706a0fc0e0fe78fa92a08290c1e603
|