Documentation
Table of contents
Notice: This documentation is archived. For the latest product features and documentation, please visit Dynamsoft Capture Vision Documentation.

iDLRRuntimeSettings

You are viewing a history document page of Dynamsoft Label Recognizer iOS v2.2.20.

Defines a struct to configure the text recognizer runtime settings. These settings control the text recognition process.

@interface iDLRRuntimeSettings : NSObject 

Attributes

Attribute Type
maxThreadCount NSInteger
characterModelName NSString*
referenceRegion iDLRReferenceRegion*
textArea iQuadrilateral*
dictionaryPath NSString*
dictionaryCorrectionThreshold iDLRDictionaryCorrectionThreshold*
binarizationModes NSArray*
furtherModes iDLRFurtherModes*
timeout NSInteger

 

maxThreadCount

Sets the number of threads the algorithm will use to recognize label.

NSInteger maxThreadCount

Value Range

[1, 4]

Default value

4

Remarks

To keep a balance between speed and quality, the library concurrently runs four different threads by default.

 

characterModelName

The name of the CharacterModel.

NSString* characterModelName

 

referenceRegion

Sets the reference region to search for text.

iDLRReferenceRegion* referenceRegion

 

textArea

Sets the text area relative to the reference region.

iQuadrilateral* textArea

 

dictionaryPath

Sets the path of the dictionary file.

NSString* dictionaryPath

 

dictionaryCorrectionThreshold

Sets the threshold of dictionary error correction.

iDLRDictionaryCorrectionThreshold* dictionaryCorrectionThreshold

 

binarizationModes

Sets the mode and priority for binarization.

NSArray* binarizationModes

Value Range

Each array item can be any one of the EnumBinarizationMode Enumeration items.

Default value

[EnumBinarizationModeLocalBlock, EnumBinarizationModeSkip, EnumBinarizationModeSkip, EnumBinarizationModeSkip, EnumBinarizationModeSkip, EnumBinarizationModeSkip, EnumBinarizationModeSkip, EnumBinarizationModeSkip]

Remarks

The array index represents the priority of the item. The smaller index is, the higher priority is.

 

furtherModes

Sets further modes.

iDLRFurtherModes* furtherModes

See also

iDLRFurtherModes

timeout

Set the timeout. Timeout value is measured by millisecond.

@property NSInteger timeout

Version 3.2.30

  • version 3.2.30
  • Version 3.x
    • Version 3.0.20
  • Version 2.x
    • Version 2.2.20
    • Version 2.0.0
  • Version 1.x
    • Version 1.2.1
    • Version 1.2.0
    • Version 1.0.0
Change +