Skip to content

Commit 2a2456a

Browse files
update to internal commit 607c7542
1 parent 61715ff commit 2a2456a

File tree

2 files changed

+58
-36
lines changed

2 files changed

+58
-36
lines changed

programming/java/api-reference/simplified-barcode-reader-settings.md

Lines changed: 54 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -58,58 +58,90 @@ public int expectedBarcodesCount
5858
**Remarks**
5959

6060
* 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.
6464

65-
### grayscale_transformation_modes
65+
### grayscaleTransformationModes
6666

6767
Specifies how grayscale transformations should be applied, including whether to process inverted grayscale images and the specific transformation mode to use.
6868

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+
public int[] 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.
7074

7175
View the parameter reference page of <a href="{{ site.dcvb_parameters_reference }}image-parameter/grayscale-transformation-modes.html">`GrayscaleTransformationModes`</a> for more detail about grayscale transformation modes.
7276

73-
### grayscale_enhancement_modes
77+
### grayscaleEnhancementModes
7478

7579
Specifies how to enhance the quality of the grayscale image.
7680

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+
public int[] 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.
7886

7987
View the parameter reference page of <a href="{{ site.dcvb_parameters_reference }}image-parameter/grayscale-enhancement-modes.html">`GrayscaleEnhancementModes`</a> for more detail about grayscale enhancement modes.
8088

81-
### localization_modes
89+
### localizationModes
8290

83-
Specifies how to localize barcodes.
91+
Specifies how to localize barcodes.
92+
93+
```java
94+
public int[] localizationModes
95+
```
8496

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.
8698

8799
View the parameter reference page of <a href="{{ site.dcvb_parameters_reference }}barcode-reader-task-settings/localization-modes.html">`LocalizationModes`</a> for more detail about location modes.
88100

89-
### deblur_modes
101+
### deblurModes
102+
103+
Specifies the mode and priority for deblurring.
90104

91-
Specifies the mode and priority for deblurring.
105+
```java
106+
public int[] deblurModes
107+
```
92108

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.
94110

95111
View the parameter reference page of <a href="{{ site.dcvb_parameters_reference }}barcode-reader-task-settings/deblur-modes.html">`DeblurModes`</a> for more detail about deblur modes.
96112

97-
### min_result_confidence
113+
### minResultConfidence
98114

99115
Specifies the minimum result confidence to filter out the low confidence results. The default value is 30.
100116

101-
### min_barcode_text_length
117+
```java
118+
public int minResultConfidence
119+
```
120+
121+
### minBarcodeTextLength
102122

103123
Specifies the minimum barcode text length to filter out the unqualified results.
104124

105-
### barcode_text_regex_pattern
125+
```java
126+
public int minBarcodeTextLength
127+
```
128+
129+
### barcodeTextRegExPattern
106130

107131
Specifies the RegEx pattern of the barcode text to filter out the unqualified results.
108132

109-
### max_threads_in_one_task
133+
```java
134+
public String barcodeTextRegExPattern
135+
```
136+
137+
### maxThreadsInOneTask
110138

111139
Specifies the maximum available threads count in one barcode decoding task.
112140

141+
```java
142+
public int maxThreadsInOneTask
143+
```
144+
113145
**Value Range**
114146

115147
[1, 256]
@@ -118,10 +150,14 @@ Specifies the maximum available threads count in one barcode decoding task.
118150

119151
4
120152

121-
### scale_down_threshold
153+
### scaleDownThreshold
122154

123155
Specifies the threshold for image shrinking.
124156

157+
```java
158+
public int scaleDownThreshold
159+
```
160+
125161
**Value Range**
126162

127163
[512, 0x7fffffff]
@@ -134,17 +170,3 @@ Specifies the threshold for image shrinking.
134170

135171
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.
136172

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.
146-
147-
```python
148-
def __init__(self):
149-
```
150-

programming/java/samples/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: default-layout
3-
title: Samples - Dynamsoft Barcode Reader SDK Python Edition
4-
description: Sample list page of Dynamsoft Barcode Reader Python Edition.
5-
keywords: python
3+
title: Samples - Dynamsoft Barcode Reader SDK Java Edition
4+
description: Sample list page of Dynamsoft Barcode Reader Java Edition.
5+
keywords: java
66
needAutoGenerateSidebar: false
77
---
88

9-
# Samples and Demos - Python Edition
9+
# Samples and Demos - Java Edition
1010

1111

1212
## Samples

0 commit comments

Comments
 (0)