Hi. I have been trying to adapt the real time pose estimation tutorial for my own data, but i cant get the registration to work right.
I have try change SolvePnP modes and parametrs, difrent mode gives difrent results but non is so close as ITERATIVE shown at the picture here. Change of parametrs make same results or none.
Is there someone who would be able to help me make it more accurate?
All i did is set my own camera matrix, load my own(undistorted) image and own box in .ply format.
Edit: here is tutorial i am working with: http://docs.opencv.org/trunk/doc/tutorials/calib3d/real_time_pose/real_time_pose.html
Some points almost fit, maybe is problem with 3Dreprojection, but i also didnt found something fishy there...
I am going mad, how i am trying to found the problem. Thanks for any hints. Gabriel