Track multiple objects using just x, y coordinates
Project description
simple_tracker
Track multiple objects using just x, y coordinates!
simple_tracker is a simple cemtrpod object tracker and requires no external dependencies other than the Python standard library. It is originally designed to count and track objects on OpenMV MicroPython boards and will see future use with opencv-python on Raspberry Pi.
In action
This was made using an OpenMV cam and the example here
Installation
$ pip install git+https://github.com/bherbruck/simple_tracker
or
$ pip install simple-tracker
Usage
All you need to do is pass a list of tuples (x, y) to the Tracker.update() method
from simple_tracker import Tracker
tracker = Tracker()
while True:
centroids = some_detection_algorithm()
tracker.update(centroids)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
simple_tracker-0.1.3.tar.gz
(3.5 kB
view details)
Built Distribution
File details
Details for the file simple_tracker-0.1.3.tar.gz
.
File metadata
- Download URL: simple_tracker-0.1.3.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d4eb135d6f6dbd6f2d7ae91ef3c2dfa9b3c426275c4d02419590a908ebdd956 |
|
MD5 | b45dafc0496b3f83e9845ec2a15731b9 |
|
BLAKE2b-256 | 82df1fabbac1aa5293232dc9ee4f7b975614785ae32e573e3aef612ea5a25ae9 |
File details
Details for the file simple_tracker-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: simple_tracker-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6847ca07bb2e581228e43fcb02b6a619cdcb92d533a9a4b0cb74d04ef2431916 |
|
MD5 | 6a99352d5064387b52f98cb234473c98 |
|
BLAKE2b-256 | 25d8cc0ee4aa7a5684f3f314b42885b0b2099f3624aedaf4d2b24582960082f3 |