OpenCV2-Python-Tutorials icon indicating copy to clipboard operation
OpenCV2-Python-Tutorials copied to clipboard

Pose Estimation Code Mistake

Open cglukas opened this issue 5 years ago • 0 comments

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: image On the right is the output of the excecution

cglukas avatar Feb 14 '20 23:02 cglukas