1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

test: reproducible results, enabled 2-channel tests, increased some thresholds

This commit is contained in:
Alexander Alekhin
2019-12-19 14:26:48 +03:00
committed by Maksim Shabunin
parent c664cf3717
commit 69020666fe
7 changed files with 43 additions and 72 deletions
+1 -1
View File
@@ -180,7 +180,7 @@ cvTsIsPointOnLineSegment(const cv::Point2f &x, const cv::Point2f &a, const cv::P
double d2 = cvTsDist(cvPoint2D32f(x.x, x.y), cvPoint2D32f(b.x, b.y));
double d3 = cvTsDist(cvPoint2D32f(a.x, a.y), cvPoint2D32f(b.x, b.y));
return (abs(d1 + d2 - d3) <= (1E-5));
return (abs(d1 + d2 - d3) <= (1E-4));
}