6#ifndef OPENCV_OBJDETECT_BARCODE_HPP
7#define OPENCV_OBJDETECT_BARCODE_HPP
9#include <opencv2/core.hpp>
10#include <opencv2/objdetect/graphical_code_detector.hpp>
Definition graphical_code_detector.hpp:14
This type is very similar to InputArray except that it is used for input/output and output function p...
Definition mat.hpp:296
Definition barcode.hpp:19
CV_WRAP bool detectAndDecodeWithType(InputArray img, CV_OUT std::vector< std::string > &decoded_info, CV_OUT std::vector< std::string > &decoded_type, OutputArray points=noArray()) const
Both detects and decodes barcode.
CV_WRAP BarcodeDetector()
Initialize the BarcodeDetector.
CV_WRAP double getDownsamplingThreshold() const
Get detector downsampling threshold.
CV_WRAP double getGradientThreshold() const
Get detector gradient magnitude threshold.
CV_WRAP BarcodeDetector(CV_WRAP_FILE_PATH const std::string &prototxt_path, CV_WRAP_FILE_PATH const std::string &model_path)
Initialize the BarcodeDetector.
CV_WRAP BarcodeDetector & setDownsamplingThreshold(double thresh)
Set detector downsampling threshold.
CV_WRAP void getDetectorScales(CV_OUT std::vector< float > &sizes) const
Returns detector box filter sizes.
CV_WRAP BarcodeDetector & setDetectorScales(const std::vector< float > &sizes)
Set detector box filter sizes.
CV_WRAP bool decodeWithType(InputArray img, InputArray points, CV_OUT std::vector< std::string > &decoded_info, CV_OUT std::vector< std::string > &decoded_type) const
Decodes barcode in image once it's found by the detect() method.
CV_WRAP BarcodeDetector & setGradientThreshold(double thresh)
Set detector gradient magnitude threshold.
CV_EXPORTS InputOutputArray noArray()
const int * sizes
Definition core_c.h:440
#define CV_EXPORTS_W_SIMPLE
Definition cvdef.h:473
#define CV_OUT
Definition cvdef.h:478
#define CV_WRAP_FILE_PATH
Definition cvdef.h:487
#define CV_WRAP
Definition cvdef.h:481
"black box" representation of the file storage associated with a file on disk.
Definition calib3d.hpp:441