Dev Center
Table of contents

BarcodeResultItem Class

The BarcodeResultItem class represents a barcode result item decoded by barcode reader engine. It is derived from CapturedResultItem.

Definition

Module: dynamsoft_barcode_reader

Inheritance: CapturedResultItem -> BarcodeResultItem

class BarcodeResultItem(dynamsoft_core.CapturedResultItem)

Methods

Method Description
get_format Gets the format of the decoded barcode result.
get_format_string Gets the format string of the decoded barcode result.
get_text Gets the text result of the decoded barcode.
get_bytes Gets the text bytes of the decoded barcode result.
get_location Gets the location of the decoded barcode in a quadrilateral.
get_confidence Gets the confidence of the decoded barcode result.
get_angle Gets the angle of the decoded barcode result.
get_module_size Gets the module size of the decoded barcode result.
get_details Gets the details of the decoded barcode result.
is_dpm Gets whether the decoded barcode is a DPM code.
is_mirrored Gets whether the decoded barcode is a mirrored barcode.

get_format

Gets the format of the decoded barcode result.

def get_format(self) -> int:

Return Value

Returns the format of the decoded barcode result which is a value of the EnumBarcodeFormat enumeration.

See Also

EnumBarcodeFormat

get_format_string

Gets the format string of the decoded barcode result.

def get_format_string(self) -> str:

Return Value

Returns the format string of the decoded barcode result.

get_text

Gets the text result of the decoded barcode.

def get_text(self) -> str:

Return Value

Returns the text result of the decoded barcode.

get_bytes

Gets the text bytes of the decoded barcode result.

def get_bytes(self) -> bytes:

Return Value

Returns the text bytes of the decoded barcode result.

get_location

Gets the location of the decoded barcode in a quadrilateral.

def get_location(self) -> Quadrilateral:

Return Value

Returns the location of the decoded barcode in a quadrilateral.

See Also

Quadrilateral

get_confidence

Gets the confidence of the decoded barcode result.

def get_confidence(self) -> int:

Return Value

Returns the confidence of the decoded barcode result.

get_angle

Gets the angle of the decoded barcode result.

def get_angle(self) -> int:

Return Value

Returns the angle of the decoded barcode result.

get_module_size

Gets the module size of the decoded barcode result.

def get_module_size(self) -> int:

Return Value

Returns the module size of the decoded barcode result.

get_details

Gets the details of the decoded barcode result.

def get_details(self) -> BarcodeDetails:

Return Value

Returns the details of the decoded barcode result.

See Also

is_dpm

Gets whether the decoded barcode is a DPM code.

def is_dpm(self) -> bool:

Return Value

Returns whether the decoded barcode is a DPM code.

is_mirrored

Gets whether the decoded barcode is mirrored.

def is_mirrored(self) -> bool:

Return Value

Returns whether the decoded barcode is mirrored.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 10.x
      • Version 10.4.2000
      • Version 10.4.10
      • Version 10.2.10
      • 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
    • Documentation Homepage
    Change +