3 #include "read_result_2d.hpp" 4 #include "grade_result_qr.hpp" 26 , gradeResult_(nullptr)
37 return static_cast<int>(handle_.contrast);
47 return static_cast<EccLevelQr>(handle_.ecc_level);
57 auto tmpFormat = static_cast<int>(handle_.format);
58 return (tmpFormat > 40) ? tmpFormat - 40 : 0;
68 auto tmpFormat = static_cast<int>(handle_.format);
69 return (tmpFormat <= 40) ? tmpFormat : 0;
89 return static_cast<QrMasking>(handle_.number_system);
int Contrast() const
The contrast element contains the minimal contrast in the code.
Definition: read_result_qr.hpp:35
The key class for reading barcodes.
Definition: reader.hpp:31
Object contains information about a decoded barcode.
Definition: read_result_2d.hpp:18
EccLevelQr EccLevel() const
ECC level of the code.
Definition: read_result_qr.hpp:45
Root namespace for the Image Manager interface.
Definition: version.hpp:11
EccLevelQr
ECC levels as used by QR codes.
Definition: barcode.hpp:471
QrMasking Masking() const
Masking mode of the QR code.
Definition: read_result_qr.hpp:87
GradeResultQrPtr GradeResult() const
QR grading result.
Definition: read_result_qr.hpp:77
ReadResultQr(CExports::CVC_BC_INFO &handle)
Constructor to initialize object from info struct.
Definition: read_result_qr.hpp:24
int FormatMiniQr() const
Format of the Mini QR code (if applicable).
Definition: read_result_qr.hpp:55
Derived from ReadResult2D and gives specific access to Qr results.
Definition: read_result_qr.hpp:16
int FormatStandardQr() const
Format of the Standard QR code (if applicable).
Definition: read_result_qr.hpp:66
QrMasking
Masking modes of QR codes.
Definition: barcode.hpp:497