Skip to content

Commit 9bf2ea7

Browse files
update to v11.4.1000
1 parent cbbe849 commit 9bf2ea7

207 files changed

Lines changed: 6861 additions & 528 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

android/BarcodeScannerAPISamples/ScanMultipleBarcodes/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ android {
2828
}
2929

3030
dependencies {
31-
implementation 'com.dynamsoft:barcodereaderbundle:11.2.5000'
31+
implementation 'com.dynamsoft:barcodereaderbundle:11.4.1000'
3232

3333
implementation 'androidx.activity:activity:1.10.1'
3434
implementation 'androidx.appcompat:appcompat:1.7.1'

android/BarcodeScannerAPISamples/ScanMultipleBarcodes/src/main/java/com/dynamsoft/scanmultiplebarcodes/MainActivity.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,9 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
3737

3838
//optional
3939
BarcodeScannerConfig config = new BarcodeScannerConfig();
40+
// Initialize the license.
41+
// The license string here is a trial license. Note that network connection is required for this license to work.
42+
// You can request an extension via the following link: https://www.dynamsoft.com/customer/license/trialLicense?product=dbr&utm_source=samples&package=android
4043
config.setLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9");
4144
config.setTorchButtonVisible(true);
4245
config.setCloseButtonVisible(true);

android/BarcodeScannerAPISamples/ScanSingleBarcode/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ android {
2727
}
2828

2929
dependencies {
30-
implementation 'com.dynamsoft:barcodereaderbundle:11.2.5000'
30+
implementation 'com.dynamsoft:barcodereaderbundle:11.4.1000'
3131

3232
implementation 'androidx.activity:activity:1.10.1'
3333
implementation 'androidx.appcompat:appcompat:1.7.1'

android/BarcodeScannerAPISamples/ScanSingleBarcodeKt/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ android {
3131
}
3232

3333
dependencies {
34-
implementation 'com.dynamsoft:barcodereaderbundle:11.2.5000'
34+
implementation 'com.dynamsoft:barcodereaderbundle:11.4.1000'
3535
implementation 'androidx.core:core-ktx:1.13.1'
3636

3737
implementation 'androidx.activity:activity-ktx:1.10.1'

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ android {
2929
}
3030

3131
dependencies {
32-
implementation 'com.dynamsoft:barcodereaderbundle:11.2.5000'
32+
implementation 'com.dynamsoft:barcodereaderbundle:11.4.1000'
3333

3434
implementation 'androidx.activity:activity:1.10.1'
3535
implementation 'androidx.appcompat:appcompat:1.7.1'

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadAztec.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"GlobalParameter":
3-
{
2+
"GlobalParameter": {
43
"IntraOpNumThreads": 2
54
},
65
"BarcodeReaderTaskSettingOptions": [
@@ -36,8 +35,7 @@
3635
"Section": "ST_BARCODE_DECODING",
3736
"StageArray": [
3837
{
39-
"DeblurModes":
40-
[
38+
"DeblurModes": [
4139
{
4240
"Mode": "DM_BASED_ON_LOC_BIN"
4341
},

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadCommon2D.json

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"GlobalParameter":
3-
{
2+
"GlobalParameter": {
43
"IntraOpNumThreads": 2
54
},
65
"CaptureVisionTemplates": [
@@ -38,8 +37,13 @@
3837
"BarcodeReaderTaskSettingOptions": [
3938
{
4039
"Name": "Task_Common2D",
41-
"BarcodeFormatIds": ["BF_QR_CODE", "BF_DATAMATRIX", "BF_PDF417"],
42-
"ExpectedBarcodesCount":1,
40+
"BarcodeFormatIds": [
41+
"BF_QR_CODE",
42+
"BF_DATAMATRIX",
43+
"BF_PDF417",
44+
"BF_MAXICODE"
45+
],
46+
"ExpectedBarcodesCount": 1,
4347
"MaxThreadsInOneTask": 1,
4448
"SectionArray": [
4549
{
@@ -57,7 +61,9 @@
5761
},
5862
{
5963
"Mode": "LM_NEURAL_NETWORK",
60-
"ModelNameArray": ["DataMatrixQRCodeLocalization"]
64+
"ModelNameArray": [
65+
"DataMatrixQRCodeLocalization"
66+
]
6167
}
6268
]
6369
}
@@ -69,7 +75,7 @@
6975
"StageArray": [
7076
{
7177
"Stage": "SST_DECODE_BARCODES",
72-
"DeblurModes":[
78+
"DeblurModes": [
7379
{
7480
"Mode": "DM_BASED_ON_LOC_BIN"
7581
},
@@ -85,15 +91,15 @@
8591
"Stage": "SST_COMPLEMENT_BARCODE",
8692
"BarcodeComplementModes": [
8793
{
88-
"Mode": "BCM_GENERAL"
94+
"Mode": "BCM_GENERAL"
8995
}
9096
]
9197
},
9298
{
9399
"Stage": "SST_RESIST_DEFORMATION",
94100
"DeformationResistingModes": [
95101
{
96-
"Mode" : "DRM_AUTO"
102+
"Mode": "DRM_AUTO"
97103
}
98104
]
99105
}
@@ -103,7 +109,11 @@
103109
},
104110
{
105111
"Name": "Task_Common2D_ReadRate",
106-
"BarcodeFormatIds": ["BF_QR_CODE", "BF_DATAMATRIX", "BF_PDF417"],
112+
"BarcodeFormatIds": [
113+
"BF_QR_CODE",
114+
"BF_DATAMATRIX",
115+
"BF_PDF417"
116+
],
107117
"ExpectedBarcodesCount": 999,
108118
"MaxThreadsInOneTask": 1,
109119
"SectionArray": [
@@ -122,7 +132,9 @@
122132
},
123133
{
124134
"Mode": "LM_NEURAL_NETWORK",
125-
"ModelNameArray": ["DataMatrixQRCodeLocalization"]
135+
"ModelNameArray": [
136+
"DataMatrixQRCodeLocalization"
137+
]
126138
}
127139
]
128140
}
@@ -140,15 +152,15 @@
140152
"Stage": "SST_COMPLEMENT_BARCODE",
141153
"BarcodeComplementModes": [
142154
{
143-
"Mode": "BCM_GENERAL"
155+
"Mode": "BCM_GENERAL"
144156
}
145157
]
146158
},
147159
{
148160
"Stage": "SST_RESIST_DEFORMATION",
149161
"DeformationResistingModes": [
150162
{
151-
"Mode" : "DRM_AUTO"
163+
"Mode": "DRM_AUTO"
152164
}
153165
]
154166
}

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDPM.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"GlobalParameter":
3-
{
2+
"GlobalParameter": {
43
"IntraOpNumThreads": 2
54
},
65
"BarcodeReaderTaskSettingOptions": [

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDataMatrix.json

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"GlobalParameter":
3-
{
2+
"GlobalParameter": {
43
"IntraOpNumThreads": 2
54
},
65
"CaptureVisionTemplates": [
@@ -37,19 +36,27 @@
3736
],
3837
"BarcodeFormatSpecificationOptions": [
3938
{
40-
"BarcodeFormatIds": ["BF_DATAMATRIX"],
41-
"DataMatrixSizeOptions": ["DMS_ALL"],
39+
"BarcodeFormatIds": [
40+
"BF_DATAMATRIX"
41+
],
42+
"DataMatrixSizeOptions": [
43+
"DMS_ALL"
44+
],
4245
"EnableDataMatrixECC000-140": 1,
4346
"Name": "FS_DataMatrix"
4447
}
4548
],
4649
"BarcodeReaderTaskSettingOptions": [
4750
{
4851
"Name": "Task_DataMatrix",
49-
"BarcodeFormatIds": ["BF_DATAMATRIX"],
52+
"BarcodeFormatIds": [
53+
"BF_DATAMATRIX"
54+
],
5055
"ExpectedBarcodesCount": 1,
5156
"MaxThreadsInOneTask": 1,
52-
"BarcodeFormatSpecificationNameArray": ["FS_DataMatrix"],
57+
"BarcodeFormatSpecificationNameArray": [
58+
"FS_DataMatrix"
59+
],
5360
"SectionArray": [
5461
{
5562
"Section": "ST_BARCODE_LOCALIZATION",
@@ -66,7 +73,9 @@
6673
},
6774
{
6875
"Mode": "LM_NEURAL_NETWORK",
69-
"ModelNameArray": ["DataMatrixQRCodeLocalization"]
76+
"ModelNameArray": [
77+
"DataMatrixQRCodeLocalization"
78+
]
7079
}
7180
]
7281
}
@@ -78,7 +87,7 @@
7887
"StageArray": [
7988
{
8089
"Stage": "SST_DECODE_BARCODES",
81-
"DeblurModes":[
90+
"DeblurModes": [
8291
{
8392
"Mode": "DM_BASED_ON_LOC_BIN"
8493
},
@@ -94,7 +103,7 @@
94103
"Stage": "SST_RESIST_DEFORMATION",
95104
"DeformationResistingModes": [
96105
{
97-
"Mode" : "DRM_AUTO"
106+
"Mode": "DRM_AUTO"
98107
}
99108
]
100109
}
@@ -104,8 +113,10 @@
104113
},
105114
{
106115
"Name": "Task_DataMatrix_ReadRate",
107-
"BarcodeFormatIds": ["BF_DATAMATRIX"],
108-
"ExpectedBarcodesCount":999,
116+
"BarcodeFormatIds": [
117+
"BF_DATAMATRIX"
118+
],
119+
"ExpectedBarcodesCount": 999,
109120
"MaxThreadsInOneTask": 1,
110121
"SectionArray": [
111122
{
@@ -123,7 +134,9 @@
123134
},
124135
{
125136
"Mode": "LM_NEURAL_NETWORK",
126-
"ModelNameArray": ["DataMatrixQRCodeLocalization"]
137+
"ModelNameArray": [
138+
"DataMatrixQRCodeLocalization"
139+
]
127140
}
128141
]
129142
}
@@ -141,7 +154,7 @@
141154
"Stage": "SST_RESIST_DEFORMATION",
142155
"DeformationResistingModes": [
143156
{
144-
"Mode" : "DRM_AUTO"
157+
"Mode": "DRM_AUTO"
145158
}
146159
]
147160
}

android/BarcodeScannerAPISamples/ScenarioOrientedSamples/src/main/assets/Templates/ReadDenseBarcodes.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
2-
"GlobalParameter":
3-
{
2+
"GlobalParameter": {
43
"IntraOpNumThreads": 2
54
},
65
"BarcodeReaderTaskSettingOptions": [

0 commit comments

Comments
 (0)