Class for storing the results of barcode decoding. More...
#include <result.hpp>
Public Member Functions | |
String | Data () const |
Gets the decoded barcode data. More... | |
Point2D< int > | Center () const noexcept |
Gets center coordinates of decoded barcode. More... | |
std::array< Point2D< int >, 4 > | Corners () const noexcept |
Gets corner coordinates of decoded barcode. More... | |
Symbology | SymbologyType () const noexcept |
Gets symbology type of decoded barcode. More... | |
DecodeStatus | DecodeStatus () const noexcept |
Gets decoding status of decoded barcode. More... | |
Cvb::optional< class Result2D > | Result2D () const noexcept |
Gets the result of a 2D barcode, if available. More... | |
Class for storing the results of barcode decoding.
This class holds the results of a decoded barcode. After executing the barcode decoding process with Decoder::Execute(), a vector of Result objects is returned, containing the decoding outcomes.
|
inlinenoexcept |
Gets center coordinates of decoded barcode.
|
inlinenoexcept |
Gets corner coordinates of decoded barcode.
|
inline |
Gets the decoded barcode data.
|
inlinenoexcept |
Gets decoding status of decoded barcode.
|
inlinenoexcept |
Gets the result of a 2D barcode, if available.
This function returns a 2D barcode result if the decoded barcode is of a 2D type. If the decoded barcode is not a 2D barcode, an empty result is returned.
|
inlinenoexcept |
Gets symbology type of decoded barcode.