Dev Center
Table of contents

LocalizationResult

Stores the localization result.

public class LocalizationResult

Attributes

Attribute Type
terminate_phase TerminatePhase
barcode_format BarcodeFormat
barcode_format_string str
barcode_format_2 BarcodeFormat_2
barcode_format_string_2 str
localization_points tuple
angle int
module_size int
page_number int
region_name str
document_name str
result_coordinate_type ResultCoordinateType
accompanying_text_bytes bytearray
confidence int
transformation_matrix list[double]

terminate_phase

The terminate phase of localization result.

LocalizationResult.terminate_phase

barcode_format

Barcode type in BarcodeFormat group 1.

LocalizationResult.barcode_format

barcode_format_string

Barcode type as string.

LocalizationResult.barcode_format_string

barcode_format_2

Barcode type in BarcodeFormat group 2.

LocalizationResult.barcode_format_2

barcode_format_string_2

Deprecated. Use barcode_format_string instead.

LocalizationResult.barcode_format_string_2

localization_points

The tuple which stores the coordinates of four result points.

LocalizationResult.localization_points

angle

The angle of a barcode. Values range is from 0 to 360.

LocalizationResult.angle

module_size

The barcode module size (the minimum bar width in pixel).

LocalizationResult.module_size

page_number

The page number the barcode located in. The index is 0-based.

LocalizationResult.page_number

region_name

The region name the barcode located in.

LocalizationResult.region_name

document_name

The document name.

LocalizationResult.document_name

result_coordinate_type

The coordinate type.

LocalizationResult.result_coordinate_type

accompanying_text_bytes

The accompanying text content in a byte array.

LocalizationResult.accompanying_text_bytes

confidence

The confidence of the localization result.

LocalizationResult.confidence

transformation_matrix

The transformation matrix. With this matrix, you can transform the localization coordinates to image’s natural orientation.

LocalizationResult.transformation_matrix

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

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 +