mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-07 10:17:45 +08:00
Fixed solvePnPRansac minInliers parameter changed to confidence in OpenCV3
This commit is contained in:
@@ -259,7 +259,11 @@ Transform OdometryOpticalFlow::computeTransform(
|
||||
true,
|
||||
this->getIterations(),
|
||||
this->getPnPReprojError(),
|
||||
0,
|
||||
#if CV_MAJOR_VERSION < 3
|
||||
0, // min inliers
|
||||
#else
|
||||
0.99, // confidence
|
||||
#endif
|
||||
inliersV,
|
||||
this->getPnPFlags());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user