You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: programming/java/api-reference/simplified-barcode-reader-settings.md
+54-32Lines changed: 54 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,58 +58,90 @@ public int expectedBarcodesCount
58
58
**Remarks**
59
59
60
60
* Set `expectedBarcodesCount` to 0 if the barcode count is unknown. The library will try to find at least 1 barcode.
61
-
* Set `expected_barcodes_count` to 1 to reach the highest speed for processing single barcode.
62
-
* Set `expected_barcodes_count` to "n" if there will be "n" barcodes to process from an image.
63
-
* Set `expected_barcodes_count` to the highest expected value if there exists multiple barcode but the exact count is not confirmed.
61
+
* Set `expectedBarcodesCount` to 1 to reach the highest speed for processing single barcode.
62
+
* Set `expectedBarcodesCount` to "n" if there will be "n" barcodes to process from an image.
63
+
* Set `expectedBarcodesCount` to the highest expected value if there exists multiple barcode but the exact count is not confirmed.
64
64
65
-
### grayscale_transformation_modes
65
+
### grayscaleTransformationModes
66
66
67
67
Specifies how grayscale transformations should be applied, including whether to process inverted grayscale images and the specific transformation mode to use.
68
68
69
-
It is a list of 8 integers, where each integer represents a mode specified by the [`EnumGrayscaleTransformationMode`]({{ site.dcvb_python_api }}core/enum-grayscale-transformation-mode.html) enumeration.
69
+
```java
70
+
publicint[] grayscaleTransformationModes
71
+
```
72
+
73
+
It is an array of 8 integers, where each integer represents a mode specified by the [`EnumGrayscaleTransformationMode`]({{ site.dcvb_java_api }}core/enum-grayscale-transformation-mode.html) enumeration.
70
74
71
75
View the parameter reference page of <ahref="{{ site.dcvb_parameters_reference }}image-parameter/grayscale-transformation-modes.html">`GrayscaleTransformationModes`</a> for more detail about grayscale transformation modes.
72
76
73
-
### grayscale_enhancement_modes
77
+
### grayscaleEnhancementModes
74
78
75
79
Specifies how to enhance the quality of the grayscale image.
76
80
77
-
It is a list of 8 integers, where each integer represents a mode specified by the [`EnumGrayscaleEnhancementMode`]({{ site.dcvb_python_api }}core/enum-grayscale-enhancement-mode.html) enumeration.
81
+
```java
82
+
publicint[] grayscaleEnhancementModes
83
+
```
84
+
85
+
It is an array of 8 integers, where each integer represents a mode specified by the [`EnumGrayscaleEnhancementMode`]({{ site.dcvb_java_api }}core/enum-grayscale-enhancement-mode.html) enumeration.
78
86
79
87
View the parameter reference page of <ahref="{{ site.dcvb_parameters_reference }}image-parameter/grayscale-enhancement-modes.html">`GrayscaleEnhancementModes`</a> for more detail about grayscale enhancement modes.
80
88
81
-
### localization_modes
89
+
### localizationModes
82
90
83
-
Specifies how to localize barcodes.
91
+
Specifies how to localize barcodes.
92
+
93
+
```java
94
+
publicint[] localizationModes
95
+
```
84
96
85
-
It is a list of 8 integers, where each integer represents a mode specified by the [`EnumLocalizationMode`]({{ site.dbr_python_api }}enum-localization-mode.html) enumeration.
97
+
It is an array of 8 integers, where each integer represents a mode specified by the [`EnumLocalizationMode`]({{ site.dbr_java_api }}enum-localization-mode.html) enumeration.
86
98
87
99
View the parameter reference page of <ahref="{{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html">`LocalizationModes`</a> for more detail about location modes.
88
100
89
-
### deblur_modes
101
+
### deblurModes
102
+
103
+
Specifies the mode and priority for deblurring.
90
104
91
-
Specifies the mode and priority for deblurring.
105
+
```java
106
+
publicint[] deblurModes
107
+
```
92
108
93
-
It is a list of 10 integers, where each integer represents a mode specified by the [`EnumDeblurMode`]({{ site.dbr_python_api }}enum-deblur-mode.html) enumeration.
109
+
It is an array of 10 integers, where each integer represents a mode specified by the [`EnumDeblurMode`]({{ site.dbr_java_api }}enum-deblur-mode.html) enumeration.
94
110
95
111
View the parameter reference page of <ahref="{{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html">`DeblurModes`</a> for more detail about deblur modes.
96
112
97
-
### min_result_confidence
113
+
### minResultConfidence
98
114
99
115
Specifies the minimum result confidence to filter out the low confidence results. The default value is 30.
100
116
101
-
### min_barcode_text_length
117
+
```java
118
+
publicint minResultConfidence
119
+
```
120
+
121
+
### minBarcodeTextLength
102
122
103
123
Specifies the minimum barcode text length to filter out the unqualified results.
104
124
105
-
### barcode_text_regex_pattern
125
+
```java
126
+
publicint minBarcodeTextLength
127
+
```
128
+
129
+
### barcodeTextRegExPattern
106
130
107
131
Specifies the RegEx pattern of the barcode text to filter out the unqualified results.
108
132
109
-
### max_threads_in_one_task
133
+
```java
134
+
publicString barcodeTextRegExPattern
135
+
```
136
+
137
+
### maxThreadsInOneTask
110
138
111
139
Specifies the maximum available threads count in one barcode decoding task.
112
140
141
+
```java
142
+
publicint maxThreadsInOneTask
143
+
```
144
+
113
145
**Value Range**
114
146
115
147
[1, 256]
@@ -118,10 +150,14 @@ Specifies the maximum available threads count in one barcode decoding task.
118
150
119
151
4
120
152
121
-
### scale_down_threshold
153
+
### scaleDownThreshold
122
154
123
155
Specifies the threshold for image shrinking.
124
156
157
+
```java
158
+
publicint scaleDownThreshold
159
+
```
160
+
125
161
**Value Range**
126
162
127
163
[512, 0x7fffffff]
@@ -134,17 +170,3 @@ Specifies the threshold for image shrinking.
134
170
135
171
If the shorter edge size is larger than the given threshold value, the library will calculate the required height and width of the target image and shrink the image to that size before further operation. Otherwise, the library will perform operation on the original image.
136
172
137
-
## Methods
138
-
139
-
| Method | Description |
140
-
|------- | ---- |
141
-
|[`__init__`](#__init__)| Initializes a new instance of the `SimplifiedBarcodeReaderSettings` class. |
142
-
143
-
### \_\_init\_\_
144
-
145
-
Initializes a new instance of the `SimplifiedBarcodeReaderSettings` class.
0 commit comments