mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-06 01:37:46 +08:00
Fixed solvePnPRansac minInliers parameter changed to confidence in OpenCV3
This commit is contained in:
@@ -459,7 +459,11 @@ std::multimap<int, pcl::PointXYZ> generateWords3DMono(
|
||||
true,
|
||||
pnpIterations,
|
||||
pnpReprojError,
|
||||
0,
|
||||
#if CV_MAJOR_VERSION < 3
|
||||
0, // min inliers
|
||||
#else
|
||||
0.99, // confidence
|
||||
#endif
|
||||
inliersV,
|
||||
pnpFlags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user