Zivid C++ API 2.18.0+1b44dbef-1
Zivid::Experimental::Toolbox::LinearBarcodeDetectionResult Class Reference

Information about an image region that is likely (but not guaranteed) to be a linear (1D) barcode. More...

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

Public Member Functions

ZIVID_CORE_EXPORT PointXY centerPosition () const
 Get the location of the region in the 2D image.
ZIVID_CORE_EXPORT BoundingBox boundingBox () const
 Get the bounding box of the region in the 2D image.
ZIVID_CORE_EXPORT std::string toString () const
 Get string representation of the object.

Detailed Description

Information about an image region that is likely (but not guaranteed) to be a linear (1D) barcode.

Member Function Documentation

◆ boundingBox()

ZIVID_CORE_EXPORT BoundingBox Zivid::Experimental::Toolbox::LinearBarcodeDetectionResult::boundingBox ( ) const

Get the bounding box of the region in the 2D image.

Returns
Bounding box as a BoundingBox

◆ centerPosition()

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

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

Returns
2D coordinates as a PointXY

◆ toString()

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

Get string representation of the object.

Returns
LinearBarcodeDetectionResult as a string

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