As far as I know solve pnp algorithm (almost all of the pose estimation algorithm - or at least all cv.solepnp
flags) suppose to produce a different answer in every run because of the idea of estimation in the first place.
I'm trying to check the avarage/median error in multiple runs, but unfortunatly every time I get the same results.
I'm using solvePnp function with OpenCV in Python, and this is the command:
(success, rotation_vector, translation_vector) =
cv2.solvePnP(realPoints, twoDimPoints, cam_matrix,
dist_coeffs,flags=cv2.*, useExtrinsicGuess=False\True)
What a I doing wrong? or am I wrong about my approach?