Table of contents
Swift
Objective-C

LocalizationResult

Stores the localization result.

public class LocalizationResult

Attributes

Attribute Type
TerminatePhase EnumTerminatePhase
BarcodeFormat EnumBarcodeFormat
BarcodeFormatString string
BarcodeFormat_2 EnumBarcodeFormat_2
BarcodeFormatString_2 string
ResultPoints Point[ ]
Angle int
ModuleSize int
PageNumber int
RegionName string
DocumentName string
ResultCoordinateType EnumResultCoordinateType
AccompanyingTextBytes byte[ ]
Confidence int
TransformationMatrix double[]

TerminatePhase

The terminate phase of localization result.

EnumTerminatePhase Dynamsoft.LocalizationResult.TerminatePhase

BarcodeFormat

Barcode type in BarcodeFormat group 1.

EnumBarcodeFormat Dynamsoft.LocalizationResult.BarcodeFormat

BarcodeFormatString

Barcode type as string.

string Dynamsoft.LocalizationResult.BarcodeFormatString

BarcodeFormat_2

Barcode type in BarcodeFormat group 2.

EnumBarcodeFormat_2 Dynamsoft.LocalizationResult.BarcodeFormat_2

BarcodeFormatString_2

Deprecated. Use BarcodeFormatString instead.

string Dynamsoft.LocalizationResult.BarcodeFormatString_2

ResultPoints

The array which stores the coordinates of four result points.

Point[] Dynamsoft.LocalizationResult.ResultPoints

Angle

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

int Dynamsoft.LocalizationResult.Angle

ModuleSize

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

int Dynamsoft.LocalizationResult.ModuleSize

PageNumber

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

int Dynamsoft.LocalizationResult.PageNumber

RegionName

The region name the barcode located in.

string Dynamsoft.LocalizationResult.RegionName

DocumentName

The document name.

string Dynamsoft.LocalizationResult.DocumentName

ResultCoordinateType

The coordinate type.

EnumResultCoordinateType Dynamsoft.LocalizationResult.ResultCoordinateType

AccompanyingTextBytes

The accompanying text content in a byte array.

byte[] Dynamsoft.LocalizationResult.AccompanyingTextBytes

Confidence

The confidence of the localization result.

int Dynamsoft.LocalizationResult.Confidence

TransformationMatrix

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

double[] Dynamsoft.LocalizationResult.TransformationMatrix

Is this page helpful?

YesYes NoNo