Ask Your Question

Revision history [back]

3D pose estimation in a known object using solvePnP

I am doing 3D pose estimation in a known object using 5 3D points and the corresponding 2D points like in this tutorial https://www.learnopencv.com/head-pose-estimation-using-opencv-and-dlib/ .

How can i find the camera position w.r.t the object. I want to measure the distance between the object and the camera. Z coordinate is constant.