simple-tracker

Track multiple objects using just x, y coordinates


License
MIT
Install
pip install simple-tracker==0.1.3

Documentation

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)