add alignment detect

This commit is contained in:
AleksandrPanov
2022-12-14 23:56:57 +03:00
parent 1788c93aea
commit a32143003d
4 changed files with 185 additions and 41 deletions
@@ -760,6 +760,12 @@ public:
*/
CV_WRAP void setEpsY(double epsY);
/** @brief use markers to improve the position of the corners of the QR code
*
* alignmentMarkers using by default
*/
CV_WRAP void setUseAlignmentMarkers(bool useAlignmentMarkers);
/** @brief Detects QR code in image and returns the quadrangle containing the code.
@param img grayscale or color (BGR) image containing (or not) QR code.
@param points Output vector of vertices of the minimum-area quadrangle containing the code.