Python binding for SRT3D: Region-Based 6DoF Object Tracking
stream.mp4
You don't need to specify max_body_diameter
manually, just as M3T.
If the predicted pose is good (close to the reality), the mean value of each correspondence line will be zero (at the center, without offset). We calculate KL divergence for each correspondence line and the optimal one:
We define thresholds for initialization and tracking (you can manually set them), so that you can easily align the object to the virtual one before starting tracking.
The confidences are calculated independently. You can easily add models and get their information (pose, conf., etc.).
Make sure that you have installed the following packages:
- OpenGL
- GLEW
- glfw3
- Eigen3
- OpenCV 3/4
- OpenMP
Your compilation environment should support C++ 17
.
cd ${repo_root}
pip install .
* The demo data is from DeepAC.
cd ${repo_root}/example
python demo.py
Just follow example/demo.py
or source/pysrt3d/pysrt3d.cpp
.