CVB++ 14.0
ReadResultSonyCode Class Reference

Derived from ReadResult1D and gives specific access to SonyCode results. More...

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

Inherits ReadResult1D.

Public Member Functions

 ReadResultSonyCode (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...
 
int ProductId () const
 Product id. More...
 
double RadiusCode () const
 Radius code in mm (-1.0 if the radius code has not been calculated). More...
 
- Public Member Functions inherited from ReadResult1D
 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 ReadResult1D and gives specific access to SonyCode results.

Use this object for SonyCode barcodes.

Constructor & Destructor Documentation

◆ ReadResultSonyCode()

ReadResultSonyCode ( 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.

◆ ProductId()

int ProductId ( ) const
inline

Product id.

Returns
Product id.
Exceptions
Anyexception derived from std::exception including CvbException.

◆ RadiusCode()

double RadiusCode ( ) const
inline

Radius code in mm (-1.0 if the radius code has not been calculated).

Returns
Radius code in mm (-1.0 if the radius code has not been calculated).
Exceptions
Anyexception derived from std::exception including CvbException.