Skip to content

Commit 9f6e5ed

Browse files
committed
update template
1 parent 06edb94 commit 9f6e5ed

3 files changed

Lines changed: 43 additions & 0 deletions

File tree

scenarios/scan-datamatrix-code/ReadDataMatrix.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,24 @@
3535
]
3636
}
3737
],
38+
"BarcodeFormatSpecificationOptions": [
39+
{
40+
"BarcodeFormatIds": [
41+
"BF_DATAMATRIX"
42+
],
43+
"EnableDataMatrixECC000-140" : 1,
44+
"DataMatrixSizeOptions" :
45+
[
46+
"DMS_ALL"
47+
],
48+
"Name": "FS_0"
49+
}
50+
],
3851
"BarcodeReaderTaskSettingOptions": [
3952
{
4053
"Name": "Task_DataMatrix",
4154
"BarcodeFormatIds": ["BF_DATAMATRIX"],
55+
"BarcodeFormatSpecificationNameArray" : ["FS_0"],
4256
"ExpectedBarcodesCount": 1,
4357
"MaxThreadsInOneTask": 1,
4458
"SectionArray": [
@@ -96,6 +110,7 @@
96110
{
97111
"Name": "Task_DataMatrix_ReadRate",
98112
"BarcodeFormatIds": ["BF_DATAMATRIX"],
113+
"BarcodeFormatSpecificationNameArray" : ["FS_0"],
99114
"ExpectedBarcodesCount":999,
100115
"MaxThreadsInOneTask": 1,
101116
"SectionArray": [

scenarios/scan-from-distance/ReadDistantBarcodes.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
"LocalizationModes": [
1717
{
1818
"Mode": "LM_CONNECTED_BLOCKS"
19+
},
20+
{
21+
"Mode": "LM_NEURAL_NETWORK"
1922
}
2023
],
2124
"Stage": "SST_LOCALIZE_CANDIDATE_BARCODES"
@@ -134,5 +137,19 @@
134137
"task_read_distant_barcodes"
135138
]
136139
}
140+
],
141+
"CaptureVisionModelOptions": [
142+
{
143+
"Name": "OneDLocalization",
144+
"ModelArgs": {
145+
"ImageDimensionThreshold": 3000000
146+
}
147+
},
148+
{
149+
"Name": "DataMatrixQRCodeLocalization",
150+
"ModelArgs": {
151+
"ImageDimensionThreshold": 3000000
152+
}
153+
}
137154
]
138155
}

scenarios/scan-qr-code/ReadQR.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,20 @@
3535
]
3636
}
3737
],
38+
"BarcodeFormatSpecificationOptions": [
39+
{
40+
"BarcodeFormatIds": [
41+
"BF_QR_CODE"
42+
],
43+
"EnableQRCodeModel1" : 1,
44+
"Name": "FS_0"
45+
}
46+
],
3847
"BarcodeReaderTaskSettingOptions": [
3948
{
4049
"Name": "Task_QR",
4150
"BarcodeFormatIds": ["BF_QR_CODE"],
51+
"BarcodeFormatSpecificationNameArray" : ["FS_0"],
4252
"ExpectedBarcodesCount":1,
4353
"MaxThreadsInOneTask": 1,
4454
"SectionArray": [
@@ -81,6 +91,7 @@
8191
{
8292
"Name": "Task_QR_ReadRate",
8393
"BarcodeFormatIds": ["BF_QR_CODE"],
94+
"BarcodeFormatSpecificationNameArray" : ["FS_0"],
8495
"ExpectedBarcodesCount": 999,
8596
"MaxThreadsInOneTask": 1,
8697
"SectionArray": [

0 commit comments

Comments
 (0)