#include <graphical_code_detector.hpp>
|
CV_DEPRECATED_EXTERNAL | GraphicalCodeDetector () |
|
| GraphicalCodeDetector (const GraphicalCodeDetector &)=default |
|
| GraphicalCodeDetector (GraphicalCodeDetector &&)=default |
|
GraphicalCodeDetector & | operator= (const GraphicalCodeDetector &)=default |
|
GraphicalCodeDetector & | operator= (GraphicalCodeDetector &&)=default |
|
CV_WRAP bool | detect (InputArray img, OutputArray points) const |
| Detects graphical code in image and returns the quadrangle containing the code. More...
|
|
CV_WRAP std::string | decode (InputArray img, InputArray points, OutputArray straight_code=noArray()) const |
| Decodes graphical code in image once it's found by the detect() method. More...
|
|
CV_WRAP std::string | detectAndDecode (InputArray img, OutputArray points=noArray(), OutputArray straight_code=noArray()) const |
| Both detects and decodes graphical code. More...
|
|
CV_WRAP bool | detectMulti (InputArray img, OutputArray points) const |
| Detects graphical codes in image and returns the vector of the quadrangles containing the codes. More...
|
|
CV_WRAP bool | decodeMulti (InputArray img, InputArray points, CV_OUT std::vector< std::string > &decoded_info, OutputArrayOfArrays straight_code=noArray()) const |
| Decodes graphical codes in image once it's found by the detect() method. More...
|
|
CV_WRAP bool | detectAndDecodeMulti (InputArray img, CV_OUT std::vector< std::string > &decoded_info, OutputArray points=noArray(), OutputArrayOfArrays straight_code=noArray()) const |
| Both detects and decodes graphical codes. More...
|
|
◆ GraphicalCodeDetector() [1/3]
◆ GraphicalCodeDetector() [2/3]
◆ GraphicalCodeDetector() [3/3]
◆ decode()
Decodes graphical 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 graphical code. |
points | Quadrangle vertices found by detect() method (or some other algorithm). |
straight_code | The optional output image containing binarized code, will be empty if not found. |
◆ decodeMulti()
Decodes graphical codes in image once it's found by the detect() method.
- Parameters
-
img | grayscale or color (BGR) image containing graphical codes. |
decoded_info | UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded. |
points | vector of Quadrangle vertices found by detect() method (or some other algorithm). |
straight_code | The optional output vector of images containing binarized codes |
◆ detect()
Detects graphical code in image and returns the quadrangle containing the code.
- Parameters
-
img | grayscale or color (BGR) image containing (or not) graphical code. |
points | Output vector of vertices of the minimum-area quadrangle containing the code. |
◆ detectAndDecode()
Both detects and decodes graphical code.
- Parameters
-
img | grayscale or color (BGR) image containing graphical code. |
points | optional output array of vertices of the found graphical code quadrangle, will be empty if not found. |
straight_code | The optional output image containing binarized code |
◆ detectAndDecodeMulti()
Both detects and decodes graphical codes.
- Parameters
-
img | grayscale or color (BGR) image containing graphical codes. |
decoded_info | UTF8-encoded output vector of string or empty vector of string if the codes cannot be decoded. |
points | optional output vector of vertices of the found graphical code quadrangles. Will be empty if not found. |
straight_code | The optional vector of images containing binarized codes |
- If there are QR codes encoded with a Structured Append mode on the image and all of them detected and decoded correctly, method writes a full message to position corresponds to 0-th code in a sequence. The rest of QR codes from the same sequence have empty string.
◆ detectMulti()
Detects graphical codes in image and returns the vector of the quadrangles containing the codes.
- Parameters
-
img | grayscale or color (BGR) image containing (or not) graphical codes. |
points | Output vector of vector of vertices of the minimum-area quadrangle containing the codes. |
◆ operator=() [1/2]
◆ operator=() [2/2]
Ptr<Impl> cv::GraphicalCodeDetector::p |
|
protected |
The documentation for this class was generated from the following file: