From 3372286c7b21fa37d1ad7120f715ff96afe4ed28 Mon Sep 17 00:00:00 2001 From: underdevelopedprefrontalcortex Date: Sat, 20 Sep 2025 19:29:12 -0400 Subject: [PATCH] Update imgproc.hpp, fix "algorighm" typo in approxPolyN docstring --- modules/imgproc/include/opencv2/imgproc.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 1bcf0c8b19..74c485871d 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -4114,7 +4114,7 @@ The algorithm based on the paper @cite LowIlie2003 . @param approxCurve Result of the approximation. The type is vector of a 2D point (Point2f or Point) in std::vector or Mat. @param nsides The parameter defines the number of sides of the result polygon. @param epsilon_percentage defines the percentage of the maximum of additional area. -If it equals -1, it is not used. Otherwise algorighm stops if additional area is greater than contourArea(_curve) * percentage. +If it equals -1, it is not used. Otherwise algorithm stops if additional area is greater than contourArea(_curve) * percentage. If additional area exceeds the limit, algorithm returns as many vertices as there were at the moment the limit was exceeded. @param ensure_convex If it is true, algorithm creates a convex hull of input contour. Otherwise input vector should be convex. */