CVB++ 14.0
ReadResult1D Class Reference

Derived from ReadResult and gives specific access to 1D results. More...

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

Inherits ReadResult.

Inherited by ReadResultCode128, ReadResultCode39Code93, ReadResultSonyCode, and ReadResultUpcE.

Public Member Functions

 ReadResult1D (CExports::CVC_BC_INFO &handle)
 Constructor to initialize object from info struct. More...
 
GradeResult1DPtr GradeResult () const
 1D Code Grading Results. 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 ReadResult and gives specific access to 1D results.

Use this result object in case of the following symbologies: Codabar, Code11, Discrete2of5, Ean8, Ean13 , Interleaved2of5, MsiPlessey, RSS, UpcA

Constructor & Destructor Documentation

◆ ReadResult1D()

ReadResult1D ( CExports::CVC_BC_INFO &  handle)
inline

Constructor to initialize object from info struct.

Exceptions
Anyexception derived from std::exception including CvbException.

Member Function Documentation

◆ GradeResult()

GradeResult1DPtr GradeResult ( ) const
inline

1D Code Grading Results.

Returns
1D Code Grading Results.
Exceptions
Anyexception derived from std::exception including CvbException.