Use explicit no-sse flags when SSE is off
Also: - Silence clang warnings about unsupported command line arguments - Add diagnostic print to calib3d test - Fixed perf test relative error check - Fix iOS build problem
This commit is contained in:
@@ -183,6 +183,9 @@ protected:
|
||||
method, totalTestsCount - successfulTestsCount, totalTestsCount, maxError, mode);
|
||||
ts->set_failed_test_info(cvtest::TS::FAIL_BAD_ACCURACY);
|
||||
}
|
||||
cout << "mode: " << mode << ", method: " << method << " -> "
|
||||
<< ((double)successfulTestsCount / totalTestsCount) * 100 << "%"
|
||||
<< " (err < " << maxError << ")" << endl;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -438,9 +438,9 @@ static int countViolations(const cv::Mat& expected, const cv::Mat& actual, const
|
||||
|
||||
if (v > 0 && max_violation != 0 && max_allowed != 0)
|
||||
{
|
||||
int loc[10];
|
||||
int loc[10] = {0};
|
||||
cv::minMaxIdx(maximum, 0, max_allowed, 0, loc, mask);
|
||||
*max_violation = diff64f.at<double>(loc[1], loc[0]);
|
||||
*max_violation = diff64f.at<double>(loc[0], loc[1]);
|
||||
}
|
||||
|
||||
return v;
|
||||
|
Reference in New Issue
Block a user