mirror of
https://github.com/opencv/opencv.git
synced 2025-08-05 22:19:14 +08:00
Fix comment for fitEllipse Java case accurracy test
This commit is contained in:
parent
2aee94752a
commit
9b85ab0a63
@ -94,7 +94,7 @@ TEST(Imgproc_FitEllipse_JavaCase, accuracy) {
|
||||
pts.push_back(Point2f(-1, -1)*scale+shift);
|
||||
pts.push_back(Point2f(1, -1)*scale+shift);
|
||||
|
||||
// check that we get almost vertical ellipse centered around (1, 3)
|
||||
// check that we get almost circle centered around (0, 0)
|
||||
RotatedRect e = fitEllipse(pts);
|
||||
EXPECT_NEAR(e.center.x, 0, 0.01);
|
||||
EXPECT_NEAR(e.center.y, 0, 0.01);
|
||||
|
Loading…
Reference in New Issue
Block a user