Using Solvepnp with rvec fixed and only optimizing tvec?

You cannot fix the rotation and only refine for the translation with SOLVEPNP_ITERATIVE.

But you can for sure code it yourself (or modify the OpenCV code):

1 Like