From 9b85ab0a635cf44e86c75dc867dd253f7e5cf5dd Mon Sep 17 00:00:00 2001 From: MaximSmolskiy Date: Mon, 6 Jan 2025 19:14:57 +0300 Subject: [PATCH] Fix comment for fitEllipse Java case accurracy test --- modules/imgproc/test/test_fitellipse.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/test/test_fitellipse.cpp b/modules/imgproc/test/test_fitellipse.cpp index b564db96da..3e6d0478ca 100644 --- a/modules/imgproc/test/test_fitellipse.cpp +++ b/modules/imgproc/test/test_fitellipse.cpp @@ -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);