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:
- how to bump the version:
python bump_version.py --patch - how to build and publish: pip install build python -m build pip install dist/pyptv-0.3.2-py3-none-any.whl 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 Distributions
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.0-py3-none-any.whl.
File metadata
- Download URL: pyptv-0.4.0-py3-none-any.whl
- Upload date:
- Size: 100.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f00e5cd5163de97773ce9d475da23aea69a2d12addfcf22cac1d2c72df0b2092
|
|
| MD5 |
bf0a6d4daab7de81161e55d4c4306be4
|
|
| BLAKE2b-256 |
8e709bda75b6485321acd67508b9da324e60238987c71ce692db2a4a29996a1e
|