#include <opencv2/objdetect.hpp>
◆ QRCodeDetector()
cv::QRCodeDetector::QRCodeDetector |
( |
| ) |
|
◆ ~QRCodeDetector()
cv::QRCodeDetector::~QRCodeDetector |
( |
| ) |
|
◆ decode()
Decodes QR code in image once it's found by the detect() method.
Returns UTF8-encoded output string or empty string if the code cannot be decoded.
- Parameters
-
img | grayscale or color (BGR) image containing QR code. |
points | Quadrangle vertices found by detect() method (or some other algorithm). |
straight_qrcode | The optional output image containing rectified and binarized QR code |
◆ detect()
Detects QR code in image and returns the quadrangle containing the code.
- Parameters
-
img | grayscale or color (BGR) image containing (or not) QR code. |
points | Output vector of vertices of the minimum-area quadrangle containing the code. |
◆ detectAndDecode()
Both detects and decodes QR code.
- Parameters
-
img | grayscale or color (BGR) image containing QR code. |
points | opiotnal output array of vertices of the found QR code quadrangle. Will be empty if not found. |
straight_qrcode | The optional output image containing rectified and binarized QR code |
◆ setEpsX()
void cv::QRCodeDetector::setEpsX |
( |
double |
epsX | ) |
|
sets the epsilon used during the horizontal scan of QR code stop marker detection.
- Parameters
-
epsX | Epsilon neighborhood, which allows you to determine the horizontal pattern of the scheme 1:1:3:1:1 according to QR code standard. |
◆ setEpsY()
void cv::QRCodeDetector::setEpsY |
( |
double |
epsY | ) |
|
sets the epsilon used during the vertical scan of QR code stop marker detection.
- Parameters
-
epsY | Epsilon neighborhood, which allows you to determine the vertical pattern of the scheme 1:1:3:1:1 according to QR code standard. |
Ptr<Impl> cv::QRCodeDetector::p |
|
protected |
The documentation for this class was generated from the following file: