-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a75eb8f
commit db02737
Showing
5 changed files
with
204 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
132 changes: 132 additions & 0 deletions
132
programming-old/java/api-reference/dlr-runtime-settings-v2.0.0.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
--- | ||
layout: default-layout | ||
title: Class DLRRuntimeSettings - Dynamsoft Label Recognizer Java Edition | ||
description: This page shows the DLRRuntimeSettings struct of Dynamsoft Label Recognizer for Java Language. | ||
keywords: DLRRuntimeSettings, struct, java | ||
needAutoGenerateSidebar: true | ||
needGenerateH3Content: true | ||
noTitleIndex: true | ||
permalink: /programming/java/api-reference/dlr-runtime-settings-v2.0.0.html | ||
--- | ||
|
||
|
||
# DLRRuntimeSettings | ||
Defines a struct to configure the text recognizer runtime settings. These settings control the text recognition process. | ||
|
||
```java | ||
class com.dynamsoft.dlr.DLRRuntimeSettings | ||
``` | ||
|
||
## Attributes | ||
|
||
| Attribute | Type | | ||
|---------- | ---- | | ||
| [`maxThreadCount`](#maxthreadcount) | *int* | | ||
| [`characterModelName`](#charactermodelname) | *String* | | ||
| [`referenceRegion`](#referenceregion) | [`DLRReferenceRegion`](dlr-reference-region.md) | | ||
| [`textArea`](#textarea) | [`DLRQuadrilateral`](dlr-quadrilateral.md) | | ||
| [`dictionaryPath`](#dictionarypath) | *String* | | ||
| [`dictionaryCorrectionThreshold`](#dictionarycorrectionthreshold) | [`DLRDictionaryCorrectionThreshold`](dlr-dictionary-correction-threshold.md) | | ||
| [`binarizationModes`](#binarizationmodes) | *int\[\]* | | ||
| [`furtherModes`](#furthermodes) | [`DLRFurtherModes`](dlr-further-modes.md)| | ||
|
||
| ||
|
||
### maxThreadCount | ||
Sets the number of threads the algorithm will use to recognize label. | ||
|
||
```java | ||
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. | ||
|
||
| ||
|
||
### characterModelName | ||
The name of the CharacterModel. | ||
|
||
```java | ||
String characterModelName | ||
``` | ||
|
||
| ||
|
||
### referenceRegion | ||
Sets the reference region to search for text. | ||
|
||
```java | ||
DLRReferenceRegion referenceRegion | ||
``` | ||
|
||
| ||
|
||
### textArea | ||
Sets the text area relative to the reference region. | ||
|
||
```java | ||
Quadrilateral textArea | ||
``` | ||
|
||
| ||
|
||
### dictionaryPath | ||
Sets the path of the dictionary file. | ||
|
||
```java | ||
String dictionaryPath | ||
``` | ||
|
||
| ||
|
||
### dictionaryCorrectionThreshold | ||
Sets the threshold of dictionary error correction. | ||
|
||
```java | ||
DLRDictionaryCorrectionThreshold dictionaryCorrectionThreshold | ||
``` | ||
|
||
|
||
| ||
|
||
### binarizationModes | ||
Sets the mode and priority for binarization. | ||
|
||
```java | ||
int[] 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. | ||
|
||
| ||
|
||
### furtherModes | ||
Sets further modes. | ||
|
||
```java | ||
DLRFurtherModes furtherModes | ||
``` | ||
|
||
**See also** | ||
|
||
[`DLRFurtherModes`](dlr-further-modes.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters