Skip to content

Latest commit

 

History

History
99 lines (62 loc) · 2.62 KB

localized-barcode-element-v10.0.20.md

File metadata and controls

99 lines (62 loc) · 2.62 KB
layout title description keywords
default-layout
CLocalizedBarcodeElement Class - Dynamsoft Barcode Reader C++ Edition API Reference
This page shows CLocalizedBarcodeElement class definition of Dynamsoft Barcode Reader SDK C++ Edition.
GetAngle, GetConfidence, GetFormat, GetFormatString, GetModuleSize, CLocalizedBarcodeElement, api reference

CLocalizedBarcodeElement Class

The CLocalizedBarcodeElement class represents a localized barcode element detected in an image. It is inherited from CRegionObjectElement class.

Definition

Namespace: dynamsoft::dbr

Assembly: DynamsoftBarcodeReader

Inheritance: [CRegionObjectElement]({{ site.dcv_cpp_api }}core/intermediate-results/region-object-element.html) -> CLocalizedBarcodeElement

class CLocalizedBarcodeElement : public CRegionObjectElement

Methods

Method Description
GetAngle Gets the orientation angle of the barcode.
GetConfidence Gets the confidence score of the barcode localization result.
GetPossibleFormats Gets the possible format of the barcode.
GetPossibleFormatsString Get all possible formats of the localized barcode in one string splited by ",".
GetModuleSize Gets the module size of the barcode.

Inherited Methods

{%- include inherited-methods/region-object-element-10.0.20.md -%}

GetAngle

It is used to get the orientation angle of the barcode.

int GetAngle() const

Return value

Returns the orientation angle of the barcode.

GetConfidence

It is used to get the confidence score of the barcode localization result.

int GetConfidence() const

Return value

Returns the confidence score of the barcode recognition result. It represents the confidence that the positioning area is a barcode.

GetPossibleFormats

It is used to get the format of the barcode.

unsigned long long GetPossibleFormats()

Return value

Returns the format of the barcode.

See Also

[Enumeration BarcodeFormat]({{ site.dcv_enumerations }}barcode-reader/barcode-format.html?src=cpp&&lang=cpp)

GetPossibleFormatsString

It is used to get all possible formats of the localized barcode in one string splited by ",".

const char* GetPossibleFormatsString() const

Return value

Returns the string representation of the barcode format in one string splited by ",".

GetModuleSize

It is used to get the module size of the barcode.

int GetModuleSize() const

Return value

Returns the module size of the barcode.