Skip to main content

"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. Check map_result variable in tracker.py for 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. hits will be initiated with hit_inertia_min+1. A tracklet will update hits depending on input detection. Check KalmanBoxTracker.update and KalmanBoxTracker.is_alive function in tracker.py for detailed implementation.
    • hit_inertia_max: hard cap of hits.

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

This version

0.1

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

techainer_ocsort-0.1-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

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

Hashes for techainer-ocsort-0.1.tar.gz
Algorithm Hash digest
SHA256 7d2f0c2d7c8fa0d62acb576a2a2cb49abf7e53994c8401cbd769f9d5a8c76edb
MD5 bdbb79ec2faaaa29ebc0b5cffaf98b6c
BLAKE2b-256 d3e4e458ada99987b6f9c2fc5ddfe5edef99253bbbf2810d320570ae78e0f51e

See more details on using hashes here.

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

Hashes for techainer_ocsort-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab5891bbef5209051cced597e6a34fac7ac9718d8c28046e10097ee675091388
MD5 461eadffac3447793661faa25a90c445
BLAKE2b-256 1b12b04ea627ea72a1ea369e42a0f4b730706a0fc0e0fe78fa92a08290c1e603

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page