solvePnPRansac returns different results
Hi, i use solvePnPRansac function in in Android application in native. With identical input parameters it returns different results (rvec, tvec and status)
Can this appears or i have memory corruptions?
Could you post your code??
Ransac stands for "RANdom Sample Consensus". As it's a probabilistic algorithm, it's result can change even for constant input parameters. I haven't tried, but what happens if you reset the RNG before every call to solvePnPRansac? http://stackoverflow.com/questions/9748401/how-to-reset-the-random-number-generator-in-opencv