3#include "../../_cexports/c_barcode.h"
4#include "../../global.hpp"
5#include "cvb/string.hpp"
6#include "cvb/point_2d.hpp"
7#include "../barcode.hpp"
56 return static_cast<int>(handle_.char_read);
67 return static_cast<int>(handle_.decoding_time);
78 if ((handle_.p3_x == 0) && (handle_.p3_y == 0)
79 && (handle_.p4_x == 0) && (handle_.p4_y == 0))
101 return static_cast<int>(handle_.num_digits);
112 return static_cast<double>(handle_.resolution) / 10.0;
123 return static_cast<DecodeResult>(handle_.decoding_result);
135 return static_cast<Symbology>(handle_.type);
141 CExports::CVC_BC_INFO handle_;
Base class for reading decoded barcode results.
Definition: read_result.hpp:23
Symbology Type() const
Symbology of the decoded result.
Definition: read_result.hpp:133
int NumWords() const
Contains the number of code words composing the read barcode.
Definition: read_result.hpp:99
virtual Cvb::String Text() const noexcept
The text content of the barcode.
Definition: read_result.hpp:43
int CharactersRead() const
The return value contains the number of characters in the read barcode.
Definition: read_result.hpp:54
double Resolution() const
The resolution specifies the smallest width unit in the code in multiples of a 10th of a pixel.
Definition: read_result.hpp:110
DecodeResult Result() const
Decoding result.
Definition: read_result.hpp:121
std::vector< Cvb::Point2D< double > > Location() const
Location of the barcode inside the image.
Definition: read_result.hpp:76
ReadResult(CExports::CVC_BC_INFO &handle)
Constructor to initialize object from info struct.
Definition: read_result.hpp:30
int DecodeTime() const
The return value specifies the time consumed for decoding in units of ms.
Definition: read_result.hpp:65
The key class for reading barcodes.
Definition: reader.hpp:32
Symbology
The symbologies supported by Barcode.
Definition: barcode.hpp:97
DecodeResult
Possible barcode reading results.
Definition: barcode.hpp:443
Root namespace for the Image Manager interface.
Definition: c_barcode.h:24