Skip to main content

Track multiple objects using just x, y coordinates

Project description

simple_tracker

License Python package

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

Video

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 hashes)

Uploaded Source

Built Distribution

simple_tracker-0.1.3-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

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