CVB++ 14.0
ReadResultQr Class Reference

Derived from ReadResult2D and gives specific access to Qr results. More...

#include <cvb/barcode/_detail/read_result_qr.hpp>

Inherits ReadResult2D.

Public Member Functions

 ReadResultQr (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
int Contrast () const
 The contrast element contains the minimal contrast in the code. More...
 
EccLevelQr EccLevel () const
 ECC level of the code. More...
 
int FormatMiniQr () const
 Format of the Mini QR code (if applicable). More...
 
int FormatStandardQr () const
 Format of the Standard QR code (if applicable). More...
 
GradeResultQrPtr GradeResult () const
 QR grading result. More...
 
QrMasking Masking () const
 Masking mode of the QR code. More...
 
- Public Member Functions inherited from ReadResult2D
 ReadResult2D (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
int NumColumns () const
 The return value specifies the number of columns of the code, only with Data Matrix and PDF 417. More...
 
int NumRows () const
 The return value specifies the number of rows of the code, only with Data Matrix and PDF 417. More...
 
int UsedEcc () const
 The return value specifies the used ecc for the error correction in percent. More...
 
- Public Member Functions inherited from ReadResult
 ReadResult (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
virtual Cvb::String Text () const noexcept
 The text content of the barcode. More...
 
int CharactersRead () const
 The return value contains the number of characters in the read barcode. More...
 
int DecodeTime () const
 The return value specifies the time consumed for decoding in units of ms. More...
 
std::vector< Cvb::Point2D< double > > Location () const
 Location of the barcode inside the image. More...
 
int NumWords () const
 Contains the number of code words composing the read barcode. More...
 
double Resolution () const
 The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel. More...
 
DecodeResult Result () const
 Decoding result. More...
 
Symbology Type () const
 Symbology of the decoded result. More...
 

Detailed Description

Derived from ReadResult2D and gives specific access to Qr results.

Use this object for QR barcodes.

Constructor & Destructor Documentation

◆ ReadResultQr()

ReadResultQr ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ Contrast()

int Contrast ( ) const
inline

The contrast element contains the minimal contrast in the code.

Returns
The contrast element contains the minimal contrast in the code.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ EccLevel()

EccLevelQr EccLevel ( ) const
inline

ECC level of the code.

Returns
ECC level of the code.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ FormatMiniQr()

int FormatMiniQr ( ) const
inline

Format of the Mini QR code (if applicable).

Returns
Format of the Mini QR code (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ FormatStandardQr()

int FormatStandardQr ( ) const
inline

Format of the Standard QR code (if applicable).

Returns
Format of the Standard QR code (if applicable).
Exceptions
Anyexception derived from std::exception including CvbException.

◆ GradeResult()

GradeResultQrPtr GradeResult ( ) const
inline

QR grading result.

Returns
QR grading result.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ Masking()

QrMasking Masking ( ) const
inline

Masking mode of the QR code.

Returns
Masking mode of the QR code.
Exceptions
Anyexception derived from std::exception including CvbException.