oa::vision::solve_pnp_ransac
Robust solve_pnp: draws iterations seeded 6-point samples, keeps the largest consensus set under reprojection_threshold (pixels), refits by damped Gauss-Newton over the inliers, and returns the inlier mask. SOLVEPNP_ITERATIVE-style scoring matches solvePnPRansac. Errors Returns an error for degenerate inputs, nonpositive bounds, or when no sample yields a nonsingular pose.
Function Documentation
Robust solve_pnp: draws iterations seeded 6-point samples, keeps the largest consensus set under reprojection_threshold (pixels), refits by damped Gauss-Newton over the inliers, and returns the inlier mask. SOLVEPNP_ITERATIVE-style scoring matches solvePnPRansac. Errors Returns an error for degenerate inputs, nonpositive bounds, or when no sample yields a nonsingular pose.