Dev Center
Swift
Objective-C
Table of contents

LocalizedBarcodeElement Class

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

Definition

Assembly: DynamsoftBarcodeReader.aar

Namespace: com.dynamsoft.dbr.intermediate_results

class LocalizedBarcodeElement extends RegionObjectElement

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.
setPossibleFormats Sets 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

The following methods are inherited from class RegionObjectElement.

Method Description
getLocation Returns the location info of the element.
setLocation Sets the location info of the element.
getReferencedElement Returns the referenced element that supports the capturing of this element.
getRegionObjectElementType Returns the type of the element.

getAngle

Get the orientation angle of the barcode.

int getAngle();

Return value

Returns the orientation angle of the barcode.

getConfidence

Get the confidence score of the barcode localization result.

int getModuleSize();

Return value

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

getPossibleFormats

Get the format of the barcode.

long getPossibleFormats();

Return value

Returns the format of the barcode.

See Also

Enumeration BarcodeFormat

setPossibleFormats

Set the possibleformat of the barcode.

void setPossibleFormats(long possibleFormats);

Parameters

possibleFormats: The format of the barcode.

getPossibleFormatsString

Get all possible formats of the localized barcode in one string splited by “,”.

String getPossibleFormatsString();

Return value

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

getModuleSize

Get the module size of the barcode.

int getModuleSize();

Return value

Returns the module size of the barcode.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version (10.2.10)
  • Version 10.x
    • Version 10.0.21
    • Version 10.0.20
  • Version 9.x
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • 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 +