layout | title | description | keywords | needAutoGenerateSidebar | needGenerateH3Content | noTitleIndex | permalink |
---|---|---|---|---|---|---|---|
default-layout |
DLR_RuntimeSettings - Dynamsoft Label Recognizer .Net Class |
This page shows the DLR_RuntimeSettings struct of Dynamsoft Label Recognizer for .Net Language. |
DLR_RuntimeSettings, struct, .Net |
true |
true |
true |
/programming/dotnet/api-reference/dlr-runtime-settings.html |
Defines a struct to configure the text recognizer runtime settings. These settings control the text recognition process.
class Dynamsoft.DLR.DLR_RuntimeSettings
Attribute | Type |
---|---|
MaxThreadCount |
int |
CharacterModelName |
string |
ReferenceRegion |
DLR_ReferenceRegion |
TextArea |
Quadrilateral |
DictionaryPath |
string |
DictionaryCorrectionThreshold |
DLR_DictionaryCorrectionThreshold |
BinarizationModes |
[EnumBinarizationMode ]({{ site.dlr_enumerations }}binarization-mode.html)[ ] |
FurtherModes |
DLR_FurtherModes |
Sets the number of threads the algorithm will use to recognize label.
int 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.
The name of the CharacterModel.
string CharacterModelName
Sets the reference region to search for text.
DLR_ReferenceRegion ReferenceRegion
Sets the text area relative to the reference region.
Quadrilateral TextArea
Sets the path of the dictionary file.
string DictionaryPath
Sets the threshold of dictionary error correction.
DLR_DictionaryCorrectionThreshold DictionaryCorrectionThreshold
Sets the mode and priority for binarization.
EnumBinarizationMode[] BinarizationModes
Value Range
Each array item can be any one of the [EnumBinarizationMode
]({{ site.dlr_enumerations }}binarization-mode.html) Enumeration items.
Default value
[EnumBinarizationMode.BM_LOCAL_BLOCK, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP, EnumBinarizationMode.BM_SKIP]
Remarks
The array index represents the priority of the item. The smaller index is, the higher priority is.
Sets further modes.
DLR_FurtherModes FurtherModes
See also