Skip to main content

A humble image tracking code

Project description

A humble image tracking code

Made with Python GitHub license Hits

This is a humble image tracking code. It is humble because it does what it can.

Installation

Assuming you have access to the repo and ssh keys are set up in your GitHub account, you can install the package with

pip install git+ssh://git@github.com/bertoldi-collab/tracking-markers.git@main

How to use

CLI

Run in a terminal

tracking-markers path/to/video.mp4

See tracking-markers --help for more info on all the options.

Python

The main module is tracking_points.py defining the track_points(...) function that actually does the tracking of a given video and the function select_markers(...) that allows the manual selection of markers. These functions can be used independently. The file tracking_points.py can also be used as a script.

Some info

  • It is based on the OpenCV library.
  • Allows for markers to be manually selected or an np.ndarray of markers can be loaded from a file.
  • Works best on high-contrast videos.

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

tracking-markers-0.2.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

tracking_markers-0.2.0-py3-none-any.whl (7.5 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