Ask Your Question

Revision history [back]

Hi Liam, I'm curious about why your aspect ratio is changed?(1080 : 2220 not equal to 480:640) If the aspect ratio changed, this means the image has deformation or cropping. And that is hard to define the new image coordinate system. Another thing, I think you should concern is solvePnP will use camera matrix. Sine you resize the resolution, the camera matrix will change. In my experience, solvePnP depends on good calibration of camera intrinsic(camera matrix + distortion coefficients) and you will get better result of object pose (rotation vector and translation vector). The definition of object point(Especially the origin point) for solvePnP are also important, sine you will map it to Unity. Hope this suggestion can help you.