Skip to main content

A humble image tracking code

Project description

A humble image tracking code

Made with Python PyPI - Python Version PyPI PyPI - Wheel GitHub license Hits

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

Installation

Intall latest version directly from PyPI with

pip install tracking-markers

Or install from this repository (assuming you have access to the repo and ssh keys are set up in your GitHub account) with

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

Or clone the repository and install with

git clone git@github.com:bertoldi-collab/tracking-markers.git
cd tracking-markers
pip install -e .

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.4.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

tracking_markers-0.4.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file tracking-markers-0.4.0.tar.gz.

File metadata

  • Download URL: tracking-markers-0.4.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.14 Linux/5.4.0-150-generic

File hashes

Hashes for tracking-markers-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1915f51dcc08cd435eb71716a1551b085f53fa20d032733039edb215cf2bfbef
MD5 532db7575d68a80bff880e0d70654a8d
BLAKE2b-256 5b7a510fd56a38fb0f64fc14e643f7a7c648c4c461e1fa1a8d651b3bf0d5ad66

See more details on using hashes here.

File details

Details for the file tracking_markers-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: tracking_markers-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.14 Linux/5.4.0-150-generic

File hashes

Hashes for tracking_markers-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 74ba935d37389e3ef9921132b285339c0498319dfbe1c6e665f570708fa40a37
MD5 9000bd0334e5d2392beb1cd589b5db15
BLAKE2b-256 68c67d01d774b4dfbe9bb225f6ecfbb8159ee800281ace1fbdeccfa2658e3da1

See more details on using hashes here.

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