mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 07:43:03 +04:00
5.x: cleanup compatibility code (2021-10)
This commit is contained in:
@@ -315,7 +315,7 @@ TEST(usac_Essential, accuracy) {
|
||||
for (auto flag : flags) {
|
||||
cv::Mat mask, E;
|
||||
try {
|
||||
E = cv::findEssentialMat(pts1, pts2, K1, flag, conf, thr, mask);
|
||||
E = cv::findEssentialMat(pts1, pts2, K1, flag, conf, thr, 1000/*maxIters*/, mask);
|
||||
} catch (cv::Exception &e) {
|
||||
if (e.code != cv::Error::StsNotImplemented)
|
||||
FAIL() << "Essential matrix estimation failed!\n";
|
||||
|
||||
Reference in New Issue
Block a user