1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Update imgproc.hpp, fix "algorighm" typo in approxPolyN docstring

This commit is contained in:
underdevelopedprefrontalcortex
2025-09-20 19:29:12 -04:00
committed by GitHub
parent 89e767b0d9
commit 3372286c7b
+1 -1
View File
@@ -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.
*/