Base class for reading decoded barcode results.
More...
#include <cvb/barcode/read_result.hpp>
Inherited by ReadResult1D, and ReadResult2D.
Base class for reading decoded barcode results.
Use this result object in case of the following symbologies: Code32, FourStateAustralian, FourStateKix, FourStateRoyalMail, FourStateUsps, MicroPdf417, PharmaCode, Planet, Postnet
◆ ReadResult()
Constructor to initialize object from info struct.
- Exceptions
-
◆ CharactersRead()
int CharactersRead |
( |
| ) |
const |
|
inline |
The return value contains the number of characters in the read barcode.
- Returns
- The return value contains the number of characters in the read barcode.
- Exceptions
-
◆ DecodeTime()
The return value specifies the time consumed for decoding in units of ms.
- Returns
- The return value specifies the time consumed for decoding in units of ms.
- Exceptions
-
◆ Location()
Location of the barcode inside the image.
- Returns
- Location of the barcode inside the image.
- Exceptions
-
◆ NumWords()
Contains the number of code words composing the read barcode.
- Returns
- Contains the number of code words composing the read barcode.
- Exceptions
-
◆ Resolution()
double Resolution |
( |
| ) |
const |
|
inline |
The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel.
- Returns
- The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel.
- Exceptions
-
◆ Result()
Decoding result.
- Returns
- Result of a read operation (note that read operations may partly succeed, which is not considered an error).
- Exceptions
-
◆ Text()
The text content of the barcode.
- Returns
- The text content of the barcode.
- Exceptions
-
◆ Type()
Symbology of the decoded result.
- Returns
- The type element contains one of the Barcode::Symbology. This can also be Symbology::None if no barcode has been recognised.
- Exceptions
-