New Python library

24 views
Skip to first unread message

Alex Liberzon

unread,
Dec 10, 2023, 1:36:37 PM12/10/23
to openptv
Dear all,

You might find it useful to know that there is a Python copy of the core library of OpenPTV - previously written in C, liboptv.


The good news - it allows us to find bugs and understand the code better, it helps us to connect GUI or develop the next version, together with MyPTV and other software packages. For instance, I have one branch in which we can replace the present calibration optimization through manually coded gradient descent with a more sophisticated scipy.optimize or other methods. It allows to find the non-linear combinations for the additional parameters.

Bad news - it's quite slow as I coded it more or less similar to C :) I'd be very happy to discuss with you how to make it run faster than it does now, but preserves all the nice Python debugging and profiling, plus simple installation.

It's already on the PyPI - if you want to try (without GUI)

pip install openptv-python


Best
Alex


Reply all
Reply to author
Forward
0 new messages