Table of contents
Swift
Objective-C

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:

Is this page helpful?

YesYes NoNo