Python GUI for the OpenPTV library `liboptv`
Project description
PyPTV
Python GUI for the OpenPTV library liboptv
PyPTV or otherwise called OpenPTV-Python is the Python GUI for OpenPTV. It is based on traits, traitsui, chaco, enable and pyface from Enthought Inc. and provides an UI interface the OpenPTV library that includes all the core algorithms (correspondence, tracking, calibration, etc.) written in ANSI C and has Python bindings using Cython.
Both PyPTV and the OpenPTV library are in the development phase and continuously refactored. Please follow the development on the community mailing list:
Documentation:
👉 View full documentation at https://alexlib.github.io/pyptv
http://openptv-python.readthedocs.io
Installation instructions
Short version:
pip install numpy
python -m pip install pyptv --index-url https://pypi.fury.io/pyptv --extra-index-url https://pypi.org/simple
Detailed instructions for various platforms are in our documentation: https://openptv-python.readthedocs.io/en/latest/installation_instruction.html
Follow the instructions in our screencasts and tutorials:
-
Tutorial 1: http://youtu.be/S2fY5WFsFwo
-
Tutorial 2: http://www.youtube.com/watch?v=_JxFxwVDSt0
-
Tutorial 3: http://www.youtube.com/watch?v=z1eqFL5JIJc
Ask for help on our mailing list:
Working with plugins
Plugins is a system of extensions to PyPTV without the need to change the GUI
- copy the
sequence_plugins.txtandtracking_plugins.txtto the working folder - copy the
plugins/directory to the working folder - modify the code so it performs instead of the default sequence or default tracker
- Open the GUI and Plugins -> Choose , then run the rest: Init -> Sequence
Note, the specific branch plugin_remback requires installation of the pip install rembg[cpu] or pip install rembg[gpu]
Developers:
Version Management:
- Bump version:
python bump_version.py --patch
Publishing to PyPI:
- See DEPLOYMENT.md for comprehensive deployment instructions using GitHub Actions and trusted publishing
Legacy Manual Publishing:
pip install build
python -m build
pip install dist/pyptv-*.whl # Install the built wheel
pip install twine
python -m twine upload dist/*
Compatibility Notes
NumPy Compatibility
- Minimum supported NumPy version: 1.23.5
- Tested with NumPy arrays in both float64 and uint8 formats
- Array operations maintained for image processing and coordinate transformations
OpenPTV (optv) Compatibility
- Compatible with optv versions 0.2.9 through 0.3.0
- Core functionality tested with latest optv release
- Calibration and tracking functions verified
Development Setup
For development work with latest NumPy:
conda create -n pyptv python=3.11
conda activate pyptv
conda install numpy>=1.23.5 optv>=0.3.0
pip install -e .
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyptv-0.4.1.tar.gz.
File metadata
- Download URL: pyptv-0.4.1.tar.gz
- Upload date:
- Size: 74.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
161a9d1e3d3fc4a29fb8ab98162d4136439dc1fde91ae4753a969e3bcab73ecd
|
|
| MD5 |
a5b9b46c94e5f3b6d6bc2a69334c9dfb
|
|
| BLAKE2b-256 |
26336b88ab2816ec6f218beda37b98f39894d7af24398d9785943409c03f9c41
|
Provenance
The following attestation bundles were made for pyptv-0.4.1.tar.gz:
Publisher:
publish-to-pypi.yml on alexlib/pyptv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyptv-0.4.1.tar.gz -
Subject digest:
161a9d1e3d3fc4a29fb8ab98162d4136439dc1fde91ae4753a969e3bcab73ecd - Sigstore transparency entry: 975978128
- Sigstore integration time:
-
Permalink:
alexlib/pyptv@605c58e9446bb6a6b18ab6cc00ac04e1d7431acc -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/alexlib
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@605c58e9446bb6a6b18ab6cc00ac04e1d7431acc -
Trigger Event:
release
-
Statement type:
File details
Details for the file pyptv-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pyptv-0.4.1-py3-none-any.whl
- Upload date:
- Size: 119.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87409500df204cc784d810c36eb78490a2b76aabb5caed28e7e68958ab507fcd
|
|
| MD5 |
fad4567b23b046fb53233efb589a9551
|
|
| BLAKE2b-256 |
d2d2e6c4e87a122807681b6406064385d3a2db1230cccac0b726016badc82be0
|
Provenance
The following attestation bundles were made for pyptv-0.4.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on alexlib/pyptv
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyptv-0.4.1-py3-none-any.whl -
Subject digest:
87409500df204cc784d810c36eb78490a2b76aabb5caed28e7e68958ab507fcd - Sigstore transparency entry: 975978133
- Sigstore integration time:
-
Permalink:
alexlib/pyptv@605c58e9446bb6a6b18ab6cc00ac04e1d7431acc -
Branch / Tag:
refs/tags/v0.4.1 - Owner: https://github.com/alexlib
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@605c58e9446bb6a6b18ab6cc00ac04e1d7431acc -
Trigger Event:
release
-
Statement type: