mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 09:37:46 +08:00
Fixed solvePnPRansac minInliers parameter changed to confidence in OpenCV3
This commit is contained in:
@@ -110,7 +110,11 @@ Transform estimateMotion3DTo2D(
|
||||
true,
|
||||
iterations,
|
||||
reprojError,
|
||||
0,
|
||||
#if CV_MAJOR_VERSION < 3
|
||||
0, // min inliers
|
||||
#else
|
||||
0.99, // confidence
|
||||
#endif
|
||||
inliers,
|
||||
flagsPnP);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user