Fix comment for fitEllipse Java case accurracy test

This commit is contained in:
MaximSmolskiy 2025-01-06 19:14:57 +03:00
parent 2aee94752a
commit 9b85ab0a63

View File

@ -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);