Dev Center
Table of contents

DecodedBarcodesResult Class

The DecodedBarcodesResult class represents the result of a barcode reading process. It provides access to information about the decoded barcodes, the source image, and any errors that occurred during the barcode reading process.

Definition

Module: dynamsoft_barcode_reader

class DecodedBarcodesResult(object)

Methods

Method Description
get_error_code Gets the error code of the barcode reading result, if an error occurred.
get_error_string Gets the error message of the barcode reading result, if an error occurred.
get_items Gets all the barcode result items.
get_original_image_hash_id Gets the hash ID of the source image.
get_original_image_tag Gets the tag of the source image.
get_rotation_transform_matrix Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.

get_error_code

Gets the error code of the barcode reading result, if an error occurred.

def get_error_code(self) -> int:

Return Value

Returns the error code of the barcode reading result, or 0 if no error occurred.

See Also

EnumErrorCode

get_error_string

Gets the error message of the barcode reading result, if an error occurred.

def get_error_string(self) -> str:

Return Value

Returns a string containing the error message of the barcode reading result, or an empty string if no error occurred.

get_items

Gets all the decoded barcode result items.

def get_items(self) -> List[BarcodeResultItem]:

Return Value

Returns a BarcodeResultItem list.

See Also

BarcodeResultItem

get_original_image_hash_id

Gets the hash ID of the source image.

def get_original_image_hash_id(self) -> str:

Return Value

Returns a string containing the hash ID of the source image.

get_original_image_tag

Gets the tag of the source image.

def get_original_image_tag(self) -> ImageTag:

Return Value

Returns an ImageTag object representing the tag of the source image.

See Also

ImageTag

get_rotation_transform_matrix

Gets the 3x3 rotation transformation matrix of the original image relative to the rotated image.

def get_rotation_transform_matrix(self) -> List[float]:

Return Value

Returns a float list of length 9 which represents a 3x3 rotation matrix.

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 +