EstervQrCode 1.1.1
Library for qr code manipulation
graphical_code_detector.hpp
1 // This file is part of OpenCV project.
2 // It is subject to the license terms in the LICENSE file found in the top-level directory
3 // of this distribution and at http://opencv.org/license.html
4 #ifndef OPENCV_OBJDETECT_GRAPHICAL_CODE_DETECTOR_HPP
5 #define OPENCV_OBJDETECT_GRAPHICAL_CODE_DETECTOR_HPP
6 
7 #include <opencv2/core.hpp>
8 
9 namespace cv {
10 
13 
15 public:
16  CV_DEPRECATED_EXTERNAL // avoid using in C++ code, will be moved to "protected" (need to fix bindings first)
18 
23 
28  CV_WRAP bool detect(InputArray img, OutputArray points) const;
29 
37  CV_WRAP std::string decode(InputArray img, InputArray points, OutputArray straight_code = noArray()) const;
38 
46  OutputArray straight_code = noArray()) const;
47 
48 
53  CV_WRAP bool detectMulti(InputArray img, OutputArray points) const;
54 
62  OutputArrayOfArrays straight_code = noArray()) const;
63 
75  OutputArrayOfArrays straight_code = noArray()) const;
76  struct Impl;
77 protected:
79 };
80 
82 
83 }
84 
85 #endif
Definition: graphical_code_detector.hpp:14
CV_WRAP std::string detectAndDecode(InputArray img, OutputArray points=noArray(), OutputArray straight_code=noArray()) const
Both detects and decodes graphical code.
CV_WRAP bool detect(InputArray img, OutputArray points) const
Detects graphical code in image and returns the quadrangle containing the code.
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.
CV_DEPRECATED_EXTERNAL GraphicalCodeDetector()
GraphicalCodeDetector & operator=(GraphicalCodeDetector &&)=default
GraphicalCodeDetector & operator=(const GraphicalCodeDetector &)=default
Ptr< Impl > p
Definition: graphical_code_detector.hpp:76
CV_WRAP bool detectMulti(InputArray img, OutputArray points) const
Detects graphical codes in image and returns the vector of the quadrangles containing the codes.
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.
GraphicalCodeDetector(GraphicalCodeDetector &&)=default
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.
GraphicalCodeDetector(const GraphicalCodeDetector &)=default
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition: mat.hpp:296
CV_EXPORTS InputOutputArray noArray()
CV__DEBUG_NS_END typedef const _InputArray & InputArray
Definition: mat.hpp:442
#define CV_EXPORTS_W_SIMPLE
Definition: cvdef.h:473
#define CV_OUT
Definition: cvdef.h:478
#define CV_DEPRECATED_EXTERNAL
Definition: cvdef.h:458
#define CV_WRAP
Definition: cvdef.h:481
"black box" representation of the file storage associated with a file on disk.
Definition: calib3d.hpp:441