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:
committed by
Maksim Shabunin
parent
c664cf3717
commit
69020666fe
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user