A humble image tracking code
Project description
A humble image tracking code
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file tracking-markers-0.5.0.tar.gz
.
File metadata
- Download URL: tracking-markers-0.5.0.tar.gz
- Upload date:
- Size: 7.0 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | c77c2554f9b028e3c5126323b2205cf3d306bc8d9ed0b2c2c7bd76153726eca1 |
|
MD5 | 7e19df6fad1fcdbbe76c8de16d048a44 |
|
BLAKE2b-256 | fe546cdbe39c6c4ac21f13ffdd635ce4868826d3d1d121aac6a91011037a8f27 |
File details
Details for the file tracking_markers-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: tracking_markers-0.5.0-py3-none-any.whl
- Upload date:
- Size: 7.7 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6a2c4dbaa1145876b860f4efbd3625c7d683a6d9f8567f6b94df875effd2416 |
|
MD5 | b252b4750fc214ba99d8ee1dc2daadb4 |
|
BLAKE2b-256 | f09baf03fa743dd6dfb2f2c38c796fa9ce491cf200b0679d0176eb282dc26049 |