From 2fb95415dd46adeab7666df345d7da91b5ab3fd5 Mon Sep 17 00:00:00 2001 From: raimbekovm Date: Wed, 24 Dec 2025 22:11:28 +0600 Subject: [PATCH] Fix typos in documentation: 'algorighm' -> 'algorithm', 'necesary' -> 'necessary' --- modules/imgproc/include/opencv2/imgproc.hpp | 2 +- .../objdetect/include/opencv2/objdetect/charuco_detector.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/imgproc/include/opencv2/imgproc.hpp b/modules/imgproc/include/opencv2/imgproc.hpp index 375c0ab9bb..4250625bb4 100644 --- a/modules/imgproc/include/opencv2/imgproc.hpp +++ b/modules/imgproc/include/opencv2/imgproc.hpp @@ -4290,7 +4290,7 @@ area. It takes the set of points and the parameter k as input and returns the ar enclosing polygon. The Implementation is based on a paper by Aggarwal, Chang and Yap @cite Aggarwal1985. They -provide a \f$\theta(n²log(n)log(k))\f$ algorighm for finding the minimal convex polygon with k +provide a \f$\theta(n²log(n)log(k))\f$ algorithm for finding the minimal convex polygon with k vertices enclosing a 2D convex polygon with n vertices (k < n). Since the #minEnclosingConvexPolygon function takes a 2D point set as input, an additional preprocessing step of computing the convex hull of the 2D point set is required. The complexity of the #convexHull function is \f$O(n log(n))\f$ which diff --git a/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp b/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp index e9681521d3..999874c12e 100644 --- a/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp +++ b/modules/objdetect/include/opencv2/objdetect/charuco_detector.hpp @@ -62,7 +62,7 @@ public: /** * @brief detect aruco markers and interpolate position of ChArUco board corners - * @param image input image necesary for corner refinement. Note that markers are not detected and + * @param image input image necessary for corner refinement. Note that markers are not detected and * should be sent in corners and ids parameters. * @param charucoCorners interpolated chessboard corners. * @param charucoIds interpolated chessboard corners identifiers.