SolvepnpRansac gives same result as SolvePnP

Hi,

In my experiments found that using solvepnp and solvepnp ransac gives exactly the same result.

Is is solvepnpransac broken somehow ?

Thanks

Post code and data.

How many points are you feeding the function?
Do you have known outliers in the data? If not, it’s possible the RANSAC algorithm won’t discard any points, and the final result will be the same as solvePNP.

Have you inspected the inliers vector after calling the function? How many points did it use vs how many did you provide?