Dev Center
Table of contents

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 -> 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.
SetPossibleFormats Sets the posssible formats of the barcode.

Inherited Methods

The following methods are inherited from class CRegionObjectElement.

Method Description
GetLocation Gets the location of the CRegionObjectElement object.
GetReferencedElement Gets a pointer to a referenced CRegionObjectElement object.
GetElementType Gets the type of the CRegionObjectElement object.
SetLocation Sets the location of the CRegionObjectElement object.
Clone Clones the region object element.
Retain Increases the reference count of the CRegionObjectElement object.
Release Decreases the reference count of the CRegionObjectElement object.

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

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.

SetPossibleFormats

Sets the posssible formats of the barcode.

virtual void SetPossibleFormats(unsigned long long possibleFormats) = 0;

Parameters

possibleFormats The posssible formats of the barcode.

See Also

BarcodeFormat

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +