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:
http://openptv-python.readthedocs.io
git clone http://github.com/alexlib/pyptv.git pyptv
cd pyptv
conda create -n pyptv --file requirements.txt
conda activate pyptv
cd ~/openptv/py_bind
python setup.py install
-
If Cython is missing, add it using:
conda install cython -n pyptv python setup.py install
If the compilation passed, open the terminal and run:
python pyptv_gui/pyptv_gui.py ../test_cavity
or:
pythonw pyptv_gui/pyptv_gui.py ../test_cavity
It is possible to install wxPython instead of PyQt4, and switch between those:
ETS_TOOLKIT=qt4 python pyptv_gui/pyptv_gui.py ../test_cavity
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: