Zivid C++ API 2.17.1+7516d437-1
Zivid::Experimental::Toolbox::MatrixBarcodeDetectionResult Class Reference

Information about a detected matrix (2D) barcode. More...

#include <Zivid/Experimental/Toolbox/Barcode.h>

Public Member Functions

ZIVID_CORE_EXPORT std::string code () const
 Get the code encoded in the barcode.
ZIVID_CORE_EXPORT MatrixBarcodeFormat codeFormat () const
 Get the format of the code.
ZIVID_CORE_EXPORT PointXY centerPosition () const
 Get the location of the barcode in the 2D image.
ZIVID_CORE_EXPORT std::string toString () const
 Get string representation of the object.

Detailed Description

Information about a detected matrix (2D) barcode.

Member Function Documentation

◆ centerPosition()

ZIVID_CORE_EXPORT PointXY Zivid::Experimental::Toolbox::MatrixBarcodeDetectionResult::centerPosition ( ) const

Get the location of the barcode in the 2D image.

Returns
2D coordinates as a PointXY

◆ code()

ZIVID_CORE_EXPORT std::string Zivid::Experimental::Toolbox::MatrixBarcodeDetectionResult::code ( ) const

Get the code encoded in the barcode.

Returns
Code as a string

◆ codeFormat()

ZIVID_CORE_EXPORT MatrixBarcodeFormat Zivid::Experimental::Toolbox::MatrixBarcodeDetectionResult::codeFormat ( ) const

Get the format of the code.

Returns
Format as a MatrixBarcodeFormat enum value

◆ toString()

ZIVID_CORE_EXPORT std::string Zivid::Experimental::Toolbox::MatrixBarcodeDetectionResult::toString ( ) const

Get string representation of the object.

Returns
MatrixBarcodeDetectionResult as a string

The documentation for this class was generated from the following file: