Skip to content

Commit 6dba643

Browse files
committed
Add a template.json
1 parent dc96f77 commit 6dba643

File tree

1 file changed

+381
-0
lines changed

1 file changed

+381
-0
lines changed

template.json

Lines changed: 381 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,381 @@
1+
{
2+
"BarcodeFormatSpecificationOptions": [
3+
{
4+
"AllModuleDeviation": 0,
5+
"AustralianPostEncodingTable": "C",
6+
"BarcodeAngleRangeArray": null,
7+
"BarcodeBytesLengthRangeArray": null,
8+
"BarcodeComplementModes": null,
9+
"BarcodeFormatIds": [
10+
"BF_PDF417",
11+
"BF_QR_CODE",
12+
"BF_DATAMATRIX",
13+
"BF_AZTEC",
14+
"BF_MICRO_QR",
15+
"BF_MICRO_PDF417",
16+
"BF_DOTCODE"
17+
],
18+
"BarcodeHeightRangeArray": null,
19+
"BarcodeTextLengthRangeArray": null,
20+
"BarcodeTextRegExPattern": "",
21+
"BarcodeWidthRangeArray": null,
22+
"BarcodeZoneBarCountRangeArray": null,
23+
"BarcodeZoneMinDistanceToImageBorders": 0,
24+
"BaseBarcodeFormatSpecification": "",
25+
"Code128Subset": "",
26+
"DeformationResistingModes": null,
27+
"EnableAddOnCode": 0,
28+
"EnableDataMatrixECC000-140": 0,
29+
"EnableQRCodeModel1": 0,
30+
"FindUnevenModuleBarcode": 1,
31+
"HeadModuleRatio": "",
32+
"MSICodeCheckDigitCalculation": "MSICCDC_MOD_10",
33+
"MinQuietZoneWidth": 4,
34+
"MinRatioOfBarcodeZoneWidthToHeight": 0,
35+
"MinResultConfidence": 30,
36+
"MirrorMode": "MM_BOTH",
37+
"ModuleSizeRangeArray": null,
38+
"Name": "bfs1-read-rate-first",
39+
"PartitionModes": [
40+
"PM_WHOLE_BARCODE",
41+
"PM_ALIGNMENT_PARTITION"
42+
],
43+
"PatchCodeSearchingMargins": {
44+
"Bottom": 20,
45+
"Left": 20,
46+
"MeasuredByPercentage": 1,
47+
"Right": 20,
48+
"Top": 20
49+
},
50+
"RequireStartStopChars": 1,
51+
"ReturnPartialBarcodeValue": 1,
52+
"StandardFormat": "",
53+
"TailModuleRatio": "",
54+
"VerifyCheckDigit": 0
55+
},
56+
{
57+
"AllModuleDeviation": 0,
58+
"AustralianPostEncodingTable": "C",
59+
"BarcodeAngleRangeArray": null,
60+
"BarcodeBytesLengthRangeArray": null,
61+
"BarcodeComplementModes": null,
62+
"BarcodeFormatIds": [
63+
"BF_ALL"
64+
],
65+
"BarcodeHeightRangeArray": null,
66+
"BarcodeTextLengthRangeArray": null,
67+
"BarcodeTextRegExPattern": "",
68+
"BarcodeWidthRangeArray": null,
69+
"BarcodeZoneBarCountRangeArray": null,
70+
"BarcodeZoneMinDistanceToImageBorders": 0,
71+
"BaseBarcodeFormatSpecification": "",
72+
"Code128Subset": "",
73+
"DeformationResistingModes": null,
74+
"EnableAddOnCode": 0,
75+
"EnableDataMatrixECC000-140": 0,
76+
"EnableQRCodeModel1": 0,
77+
"FindUnevenModuleBarcode": 1,
78+
"HeadModuleRatio": "",
79+
"MSICodeCheckDigitCalculation": "MSICCDC_MOD_10",
80+
"MinQuietZoneWidth": 4,
81+
"MinRatioOfBarcodeZoneWidthToHeight": 0,
82+
"MinResultConfidence": 30,
83+
"MirrorMode": "MM_NORMAL",
84+
"ModuleSizeRangeArray": null,
85+
"Name": "bfs2-read-rate-first",
86+
"PartitionModes": [
87+
"PM_WHOLE_BARCODE",
88+
"PM_ALIGNMENT_PARTITION"
89+
],
90+
"PatchCodeSearchingMargins": {
91+
"Bottom": 20,
92+
"Left": 20,
93+
"MeasuredByPercentage": 1,
94+
"Right": 20,
95+
"Top": 20
96+
},
97+
"RequireStartStopChars": 1,
98+
"ReturnPartialBarcodeValue": 1,
99+
"StandardFormat": "",
100+
"TailModuleRatio": "",
101+
"VerifyCheckDigit": 0
102+
}
103+
],
104+
"BarcodeReaderTaskSettingOptions": [
105+
{
106+
"BarcodeColourModes": null,
107+
"BarcodeComplementModes": [
108+
{
109+
"Mode": "BCM_SKIP"
110+
}
111+
],
112+
"BarcodeFormatIds": [
113+
"BF_ONED",
114+
"BF_QR_CODE",
115+
"BF_MICRO_QR"
116+
],
117+
"BarcodeFormatSpecificationNameArray": [
118+
"bfs1-read-rate-first",
119+
"bfs2-read-rate-first"
120+
],
121+
"BaseBarcodeReaderTaskSettingName": "",
122+
"DPMCodeReadingModes": [
123+
{
124+
"BarcodeFormat": "BF_DATAMATRIX",
125+
"Mode": "DPMCRM_SKIP"
126+
}
127+
],
128+
"DeblurModes": null,
129+
"DeformationResistingModes": [
130+
{
131+
"BinarizationMode": {
132+
"BinarizationThreshold": -1,
133+
"BlockSizeX": 0,
134+
"BlockSizeY": 0,
135+
"EnableFillBinaryVacancy": 1,
136+
"GrayscaleEnhancementModesIndex": -1,
137+
"Mode": "BM_LOCAL_BLOCK",
138+
"MorphOperation": "Close",
139+
"MorphOperationKernelSizeX": -1,
140+
"MorphOperationKernelSizeY": -1,
141+
"MorphShape": "Rectangle",
142+
"ThresholdCompensation": 10
143+
},
144+
"GrayscaleEnhancementMode": {
145+
"Mode": "GEM_AUTO",
146+
"Sensitivity": -1,
147+
"SharpenBlockSizeX": -1,
148+
"SharpenBlockSizeY": -1,
149+
"SmoothBlockSizeX": -1,
150+
"SmoothBlockSizeY": -1
151+
},
152+
"Level": 5,
153+
"Mode": "DRM_SKIP"
154+
}
155+
],
156+
"ExpectedBarcodesCount": 999,
157+
"LocalizationModes": [
158+
{
159+
"ConfidenceThreshold": 60,
160+
"IsOneDStacked": 0,
161+
"Mode": "LM_CONNECTED_BLOCKS",
162+
"ModuleSize": 0,
163+
"ScanDirection": 0,
164+
"ScanStride": 0
165+
},
166+
{
167+
"ConfidenceThreshold": 60,
168+
"IsOneDStacked": 0,
169+
"Mode": "LM_LINES",
170+
"ModuleSize": 0,
171+
"ScanDirection": 0,
172+
"ScanStride": 0
173+
},
174+
{
175+
"ConfidenceThreshold": 60,
176+
"IsOneDStacked": 0,
177+
"Mode": "LM_STATISTICS",
178+
"ModuleSize": 0,
179+
"ScanDirection": 0,
180+
"ScanStride": 0
181+
}
182+
],
183+
"MaxThreadsInOneTask": 4,
184+
"Name": "task-read-barcodes-read-rate",
185+
"ReturnBarcodeZoneClarity": 0,
186+
"SectionImageParameterArray": [
187+
{
188+
"ContinueWhenPartialResultsGenerated": 1,
189+
"ImageParameterName": "ip-read-barcodes-read-rate",
190+
"Section": "ST_REGION_PREDETECTION"
191+
},
192+
{
193+
"ContinueWhenPartialResultsGenerated": 1,
194+
"ImageParameterName": "ip-read-barcodes-read-rate",
195+
"Section": "ST_BARCODE_LOCALIZATION"
196+
},
197+
{
198+
"ContinueWhenPartialResultsGenerated": 1,
199+
"ImageParameterName": "ip-read-barcodes-read-rate",
200+
"Section": "ST_BARCODE_DECODING"
201+
}
202+
],
203+
"StartSection": "ST_REGION_PREDETECTION",
204+
"TerminateSetting": {
205+
"Section": "ST_NULL",
206+
"Stage": "IRUT_NULL"
207+
},
208+
"TextResultOrderModes": [
209+
{
210+
"Mode": "TROM_CONFIDENCE"
211+
},
212+
{
213+
"Mode": "TROM_POSITION"
214+
},
215+
{
216+
"Mode": "TROM_FORMAT"
217+
}
218+
]
219+
}
220+
],
221+
"CaptureVisionTemplates": [
222+
{
223+
"ImageROIProcessingNameArray": [
224+
"roi-read-barcodes-read-rate"
225+
],
226+
"MaxParallelTasks": 4,
227+
"MinImageCaptureInterval": 0,
228+
"Name": "ReadBarcodes_ReadRateFirst",
229+
"OutputOriginalImage": 0,
230+
"SemanticProcessingNameArray": null,
231+
"Timeout": 100000
232+
}
233+
],
234+
"GlobalParameter": {
235+
"MaxTotalImageDimension": 0
236+
},
237+
"ImageParameterOptions": [
238+
{
239+
"BaseImageParameterName": "",
240+
"BinarizationModes": [
241+
{
242+
"BinarizationThreshold": -1,
243+
"BlockSizeX": 0,
244+
"BlockSizeY": 0,
245+
"EnableFillBinaryVacancy": 1,
246+
"GrayscaleEnhancementModesIndex": -1,
247+
"Mode": "BM_LOCAL_BLOCK",
248+
"MorphOperation": "Close",
249+
"MorphOperationKernelSizeX": -1,
250+
"MorphOperationKernelSizeY": -1,
251+
"MorphShape": "Rectangle",
252+
"ThresholdCompensation": 10
253+
}
254+
],
255+
"ColourConversionModes": [
256+
{
257+
"BlueChannelWeight": -1,
258+
"GreenChannelWeight": -1,
259+
"Mode": "CICM_GENERAL",
260+
"RedChannelWeight": -1,
261+
"ReferChannel": "H_CHANNEL"
262+
}
263+
],
264+
"GrayscaleEnhancementModes": [
265+
{
266+
"Mode": "GEM_GENERAL",
267+
"Sensitivity": -1,
268+
"SharpenBlockSizeX": -1,
269+
"SharpenBlockSizeY": -1,
270+
"SmoothBlockSizeX": -1,
271+
"SmoothBlockSizeY": -1
272+
}
273+
],
274+
"GrayscaleTransformationModes": [
275+
{
276+
"Mode": "GTM_ORIGINAL"
277+
}
278+
],
279+
"IfEraseTextZone": 1,
280+
"Name": "ip-read-barcodes-read-rate",
281+
"RegionPredetectionModes": [
282+
{
283+
"AspectRatioRange": "[]",
284+
"FindAccurateBoundary": 0,
285+
"ForeAndBackgroundColours": "[]",
286+
"HeightRange": "[]",
287+
"ImageParameterName": "",
288+
"MeasuredByPercentage": 1,
289+
"MinImageDimension": 262144,
290+
"Mode": "RPM_GENERAL",
291+
"RelativeRegions": "[]",
292+
"Sensitivity": 1,
293+
"SpatialIndexBlockSize": 5,
294+
"WidthRange": "[]"
295+
}
296+
],
297+
"ScaleDownThreshold": 1000000,
298+
"ScaleUpModes": [
299+
{
300+
"AcuteAngleWithXThreshold": -1,
301+
"LetterHeightThreshold": 0,
302+
"Mode": "SUM_AUTO",
303+
"ModuleSizeThreshold": 0,
304+
"TargetLetterHeight": 0,
305+
"TargetModuleSize": 0
306+
}
307+
],
308+
"TextDetectionMode": {
309+
"CharHeightRange": [
310+
1,
311+
1000,
312+
1
313+
],
314+
"Direction": "UNKNOWN",
315+
"MaxSpacingInALine": -1,
316+
"Mode": "TTDM_LINE",
317+
"Sensitivity": 3,
318+
"StringLengthRange": null
319+
},
320+
"TextureDetectionModes": [
321+
{
322+
"Mode": "TDM_GENERAL_WIDTH_CONCENTRATION",
323+
"Sensitivity": 5
324+
}
325+
]
326+
}
327+
],
328+
"TargetROIDefOptions": [
329+
{
330+
"BaseTargetROIDefName": "",
331+
"Location": {
332+
"Offset": {
333+
"FirstPoint": [
334+
0,
335+
0,
336+
1,
337+
1
338+
],
339+
"FourthPoint": [
340+
0,
341+
100,
342+
1,
343+
1
344+
],
345+
"MeasuredByPercentage": 1,
346+
"ReferenceObjectOriginIndex": 0,
347+
"ReferenceObjectType": "ROT_ATOMIC_OBJECT",
348+
"ReferenceXAxis": {
349+
"AxisType": "AT_MIDPOINT_EDGE",
350+
"EdgeIndex": 0,
351+
"LengthReference": "LR_X",
352+
"RotationAngle": 90
353+
},
354+
"ReferenceYAxis": {
355+
"AxisType": "AT_MIDPOINT_EDGE",
356+
"EdgeIndex": 1,
357+
"LengthReference": "LR_Y",
358+
"RotationAngle": 90
359+
},
360+
"SecondPoint": [
361+
100,
362+
0,
363+
1,
364+
1
365+
],
366+
"ThirdPoint": [
367+
100,
368+
100,
369+
1,
370+
1
371+
]
372+
}
373+
},
374+
"Name": "roi-read-barcodes-read-rate",
375+
"PauseFlag": 0,
376+
"TaskSettingNameArray": [
377+
"task-read-barcodes-read-rate"
378+
]
379+
}
380+
]
381+
}

0 commit comments

Comments
 (0)