OpenCV2-Python-Tutorials
OpenCV2-Python-Tutorials copied to clipboard
Pose Estimation Code Mistake
Hello, first of all, thank you for this great tutorial! Excelent work.
I noticed there is a strange mistake in your code example: In the section where you calculate the translation and rotation, the solvePnPRansac function returns one extra value. This isn't documented, but it happend when i excecute it. It looks like the return value similar to the findChessboardCorners function or the calibrateCamera function.
This is a small snippet, a little modified to show the issue, from your tutorial:
On the right is the output of the excecution