dynamsoft-capture-vision-bundle 3.4.1000__cp314-cp314-win_amd64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (75) hide show
  1. dynamsoft_capture_vision_bundle/ConfusableChars.data +0 -0
  2. dynamsoft_capture_vision_bundle/DynamicPdfx64.dll +0 -0
  3. dynamsoft_capture_vision_bundle/DynamsoftBarcodeReaderx64.dll +0 -0
  4. dynamsoft_capture_vision_bundle/DynamsoftCaptureVisionRouterx64.dll +0 -0
  5. dynamsoft_capture_vision_bundle/DynamsoftCodeParserDedicatorx64.dll +0 -0
  6. dynamsoft_capture_vision_bundle/DynamsoftCodeParserx64.dll +0 -0
  7. dynamsoft_capture_vision_bundle/DynamsoftCorex64.dll +0 -0
  8. dynamsoft_capture_vision_bundle/DynamsoftDocumentNormalizerx64.dll +0 -0
  9. dynamsoft_capture_vision_bundle/DynamsoftIdentityUtilityx64.dll +0 -0
  10. dynamsoft_capture_vision_bundle/DynamsoftImageProcessingx64.dll +0 -0
  11. dynamsoft_capture_vision_bundle/DynamsoftLabelRecognizerx64.dll +0 -0
  12. dynamsoft_capture_vision_bundle/DynamsoftLicensex64.dll +0 -0
  13. dynamsoft_capture_vision_bundle/DynamsoftNeuralNetworkx64.dll +0 -0
  14. dynamsoft_capture_vision_bundle/DynamsoftUtilityx64.dll +0 -0
  15. dynamsoft_capture_vision_bundle/Models/Code128Decoder.data +0 -0
  16. dynamsoft_capture_vision_bundle/Models/Code39ITFDecoder.data +0 -0
  17. dynamsoft_capture_vision_bundle/Models/DataMatrixQRCodeDeblur.data +0 -0
  18. dynamsoft_capture_vision_bundle/Models/DataMatrixQRCodeLocalization.data +0 -0
  19. dynamsoft_capture_vision_bundle/Models/EAN13Decoder.data +0 -0
  20. dynamsoft_capture_vision_bundle/Models/LetterCharRecognition.data +0 -0
  21. dynamsoft_capture_vision_bundle/Models/LowercaseCharRecognition.data +0 -0
  22. dynamsoft_capture_vision_bundle/Models/MRZCharRecognition.data +0 -0
  23. dynamsoft_capture_vision_bundle/Models/MRZLocalization.data +0 -0
  24. dynamsoft_capture_vision_bundle/Models/MRZTextLineRecognition.data +0 -0
  25. dynamsoft_capture_vision_bundle/Models/NumberCharRecognition.data +0 -0
  26. dynamsoft_capture_vision_bundle/Models/NumberLetterCharRecognition.data +0 -0
  27. dynamsoft_capture_vision_bundle/Models/NumberLowercaseCharRecognition.data +0 -0
  28. dynamsoft_capture_vision_bundle/Models/NumberUppercaseCharRecognition.data +0 -0
  29. dynamsoft_capture_vision_bundle/Models/OneDDeblur.data +0 -0
  30. dynamsoft_capture_vision_bundle/Models/OneDLocalization.data +0 -0
  31. dynamsoft_capture_vision_bundle/Models/PDF417Deblur.data +0 -0
  32. dynamsoft_capture_vision_bundle/Models/PDF417Localization.data +0 -0
  33. dynamsoft_capture_vision_bundle/Models/UppercaseCharRecognition.data +0 -0
  34. dynamsoft_capture_vision_bundle/Models/VINCharRecognition.data +0 -0
  35. dynamsoft_capture_vision_bundle/OverlappingChars.data +1 -0
  36. dynamsoft_capture_vision_bundle/ParserResources/AADHAAR.data +0 -0
  37. dynamsoft_capture_vision_bundle/ParserResources/AAMVA_DL_ID.data +1 -0
  38. dynamsoft_capture_vision_bundle/ParserResources/GS1_AI.data +66 -0
  39. dynamsoft_capture_vision_bundle/ParserResources/MRTD.data +1 -0
  40. dynamsoft_capture_vision_bundle/ParserResources/SOUTH_AFRICA_DL.data +1 -0
  41. dynamsoft_capture_vision_bundle/ParserResources/VIN.data +0 -0
  42. dynamsoft_capture_vision_bundle/Templates/DBR-PresetTemplates.json +546 -0
  43. dynamsoft_capture_vision_bundle/Templates/DDN-PresetTemplates.json +316 -0
  44. dynamsoft_capture_vision_bundle/Templates/DLR-PresetTemplates.json +471 -0
  45. dynamsoft_capture_vision_bundle/Templates/DriverLicenseScanner.json +94 -0
  46. dynamsoft_capture_vision_bundle/Templates/MRZScanner.json +804 -0
  47. dynamsoft_capture_vision_bundle/Templates/VINScanner.json +299 -0
  48. dynamsoft_capture_vision_bundle/_DynamsoftBarcodeReader.cp314-win_amd64.pyd +0 -0
  49. dynamsoft_capture_vision_bundle/_DynamsoftCaptureVisionRouter.cp314-win_amd64.pyd +0 -0
  50. dynamsoft_capture_vision_bundle/_DynamsoftCodeParser.cp314-win_amd64.pyd +0 -0
  51. dynamsoft_capture_vision_bundle/_DynamsoftCodeParserDedicator.cp314-win_amd64.pyd +0 -0
  52. dynamsoft_capture_vision_bundle/_DynamsoftCore.cp314-win_amd64.pyd +0 -0
  53. dynamsoft_capture_vision_bundle/_DynamsoftDocumentNormalizer.cp314-win_amd64.pyd +0 -0
  54. dynamsoft_capture_vision_bundle/_DynamsoftIdentityUtility.cp314-win_amd64.pyd +0 -0
  55. dynamsoft_capture_vision_bundle/_DynamsoftImageProcessing.cp314-win_amd64.pyd +0 -0
  56. dynamsoft_capture_vision_bundle/_DynamsoftLabelRecognizer.cp314-win_amd64.pyd +0 -0
  57. dynamsoft_capture_vision_bundle/_DynamsoftLicense.cp314-win_amd64.pyd +0 -0
  58. dynamsoft_capture_vision_bundle/_DynamsoftUtility.cp314-win_amd64.pyd +0 -0
  59. dynamsoft_capture_vision_bundle/__init__.py +13 -0
  60. dynamsoft_capture_vision_bundle/core.py +2785 -0
  61. dynamsoft_capture_vision_bundle/cvr.py +1347 -0
  62. dynamsoft_capture_vision_bundle/dbr.py +1223 -0
  63. dynamsoft_capture_vision_bundle/dcp.py +208 -0
  64. dynamsoft_capture_vision_bundle/dcpd.py +21 -0
  65. dynamsoft_capture_vision_bundle/ddn.py +985 -0
  66. dynamsoft_capture_vision_bundle/dip.py +24 -0
  67. dynamsoft_capture_vision_bundle/dlr.py +1136 -0
  68. dynamsoft_capture_vision_bundle/id_utility.py +98 -0
  69. dynamsoft_capture_vision_bundle/license.py +146 -0
  70. dynamsoft_capture_vision_bundle/utility.py +835 -0
  71. dynamsoft_capture_vision_bundle-3.4.1000.dist-info/METADATA +89 -0
  72. dynamsoft_capture_vision_bundle-3.4.1000.dist-info/RECORD +75 -0
  73. dynamsoft_capture_vision_bundle-3.4.1000.dist-info/WHEEL +5 -0
  74. dynamsoft_capture_vision_bundle-3.4.1000.dist-info/licenses/LICENSE.txt +1 -0
  75. dynamsoft_capture_vision_bundle-3.4.1000.dist-info/top_level.txt +12 -0
@@ -0,0 +1,804 @@
1
+ {
2
+ "CaptureVisionTemplates": [
3
+ {
4
+ "Name": "ReadPassportAndId",
5
+ "ImageROIProcessingNameArray": [
6
+ "roi_passport_and_id"
7
+ ],
8
+ "SemanticProcessingNameArray": [
9
+ "sp_passport_and_id"
10
+ ],
11
+ "Timeout": 2000,
12
+ "MaxParallelTasks": 0,
13
+ "OutputOriginalImage": 1
14
+ },
15
+ {
16
+ "Name": "ReadPassport",
17
+ "ImageROIProcessingNameArray": [
18
+ "roi_passport"
19
+ ],
20
+ "SemanticProcessingNameArray": [
21
+ "sp_passport"
22
+ ],
23
+ "Timeout": 2000,
24
+ "MaxParallelTasks": 0,
25
+ "OutputOriginalImage": 1
26
+ },
27
+ {
28
+ "Name": "ReadId",
29
+ "ImageROIProcessingNameArray": [
30
+ "roi_id"
31
+ ],
32
+ "SemanticProcessingNameArray": [
33
+ "sp_id"
34
+ ],
35
+ "Timeout": 2000
36
+ },
37
+ {
38
+ "Name": "ReadVisa",
39
+ "ImageROIProcessingNameArray": [
40
+ "roi_visa"
41
+ ],
42
+ "SemanticProcessingNameArray": [
43
+ "sp_visa"
44
+ ],
45
+ "Timeout": 2000
46
+ },
47
+ {
48
+ "Name": "ReadMRZ",
49
+ "ImageROIProcessingNameArray": [
50
+ "roi_mrz"
51
+ ],
52
+ "SemanticProcessingNameArray": [
53
+ "sp_mrz"
54
+ ],
55
+ "Timeout": 2000,
56
+ "MaxParallelTasks": 0,
57
+ "OutputOriginalImage": 1
58
+ }
59
+ ],
60
+ "TargetROIDefOptions": [
61
+ {
62
+ "Name": "roi_passport_and_id",
63
+ "TaskSettingNameArray": [
64
+ "task_passport_and_id",
65
+ "task-detect-document"
66
+ ]
67
+ },
68
+ {
69
+ "Name": "roi_passport",
70
+ "TaskSettingNameArray": [
71
+ "task_passport",
72
+ "task-detect-document"
73
+ ]
74
+ },
75
+ {
76
+ "Name": "roi_id",
77
+ "TaskSettingNameArray": [
78
+ "task_id"
79
+ ]
80
+ },
81
+ {
82
+ "Name": "roi_visa",
83
+ "TaskSettingNameArray": [
84
+ "task_visa"
85
+ ]
86
+ },
87
+ {
88
+ "Name": "roi_mrz",
89
+ "TaskSettingNameArray": [
90
+ "task_mrz",
91
+ "task-detect-document"
92
+ ]
93
+ }
94
+ ],
95
+ "TextLineSpecificationOptions": [
96
+ {
97
+ "Name": "tls_mrz_passport",
98
+ "BaseTextLineSpecificationName": "tls_base",
99
+ "StringLengthRange": [
100
+ 44,
101
+ 44
102
+ ],
103
+ "OutputResults": 1,
104
+ "ExpectedGroupsCount": 1,
105
+ "ConcatResults": 1,
106
+ "ConcatSeparator": "\n",
107
+ "SubGroups": [
108
+ {
109
+ "StringRegExPattern": "(P[A-Z<][A-Z<]{3}[A-Z<]{39}){(44)}",
110
+ "StringLengthRange": [
111
+ 44,
112
+ 44
113
+ ],
114
+ "BaseTextLineSpecificationName": "tls_base"
115
+ },
116
+ {
117
+ "StringRegExPattern": "([A-Z0-9<]{9}[0-9][A-Z<]{3}[0-9]{2}[0-9<]{4}[0-9][MF<][0-9]{2}[(01-12)][(01-31)][0-9][A-Z0-9<]{14}[0-9<][0-9]){(44)}",
118
+ "StringLengthRange": [
119
+ 44,
120
+ 44
121
+ ],
122
+ "BaseTextLineSpecificationName": "tls_base"
123
+ }
124
+ ]
125
+ },
126
+ {
127
+ "Name": "tls_base",
128
+ "CharacterModelName": "MRZCharRecognition",
129
+ "TextLineRecModelName": "MRZTextLineRecognition",
130
+ "CharHeightRange": [
131
+ 5,
132
+ 1000,
133
+ 1
134
+ ],
135
+ "BinarizationModes": [
136
+ {
137
+ "BlockSizeX": 41,
138
+ "BlockSizeY": 41,
139
+ "Mode": "BM_LOCAL_BLOCK",
140
+ "EnableFillBinaryVacancy": 0,
141
+ "ThresholdCompensation": 10
142
+ }
143
+ ],
144
+ "ConfusableCharactersCorrection": {
145
+ "ConfusableCharacters": [
146
+ [
147
+ "0",
148
+ "O"
149
+ ],
150
+ [
151
+ "1",
152
+ "I"
153
+ ],
154
+ [
155
+ "5",
156
+ "S"
157
+ ]
158
+ ],
159
+ "FontNameArray": [
160
+ "OCR_B"
161
+ ]
162
+ }
163
+ },
164
+ {
165
+ "Name": "tls_mrz_id_td2",
166
+ "BaseTextLineSpecificationName": "tls_base",
167
+ "StringLengthRange": [
168
+ 36,
169
+ 36
170
+ ],
171
+ "OutputResults": 1,
172
+ "ExpectedGroupsCount": 1,
173
+ "ConcatResults": 1,
174
+ "ConcatSeparator": "\n",
175
+ "SubGroups": [
176
+ {
177
+ "StringRegExPattern": "([ACI][A-Z<][A-Z<]{3}[A-Z<]{31}){(36)}",
178
+ "StringLengthRange": [
179
+ 36,
180
+ 36
181
+ ],
182
+ "BaseTextLineSpecificationName": "tls_base"
183
+ },
184
+ {
185
+ "StringRegExPattern": "([A-Z0-9<]{9}[0-9][A-Z<]{3}[0-9]{2}[0-9<]{4}[0-9][MF<][0-9]{2}[(01-12)][(01-31)][0-9][A-Z0-9<]{8}){(36)}",
186
+ "StringLengthRange": [
187
+ 36,
188
+ 36
189
+ ],
190
+ "BaseTextLineSpecificationName": "tls_base"
191
+ }
192
+ ]
193
+ },
194
+ {
195
+ "Name": "tls_mrz_id_td1",
196
+ "BaseTextLineSpecificationName": "tls_base",
197
+ "StringLengthRange": [
198
+ 30,
199
+ 30
200
+ ],
201
+ "OutputResults": 1,
202
+ "ExpectedGroupsCount": 1,
203
+ "ConcatResults": 1,
204
+ "ConcatSeparator": "\n",
205
+ "SubGroups": [
206
+ {
207
+ "StringRegExPattern": "([ACI][A-Z<][A-Z<]{3}[A-Z0-9<]{9}[0-9<][A-Z0-9<]{15}){(30)}",
208
+ "StringLengthRange": [
209
+ 30,
210
+ 30
211
+ ],
212
+ "BaseTextLineSpecificationName": "tls_base"
213
+ },
214
+ {
215
+ "StringRegExPattern": "([0-9]{2}[(01-12)][(01-31)][0-9][MF<][0-9]{2}[0-9<]{4}[0-9][A-Z<]{3}[A-Z0-9<]{11}[0-9]){(30)}",
216
+ "StringLengthRange": [
217
+ 30,
218
+ 30
219
+ ],
220
+ "BaseTextLineSpecificationName": "tls_base"
221
+ },
222
+ {
223
+ "StringRegExPattern": "([A-Z<]{30}){(30)}",
224
+ "StringLengthRange": [
225
+ 30,
226
+ 30
227
+ ],
228
+ "BaseTextLineSpecificationName": "tls_base"
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "Name": "tls_mrz_visa_td2",
234
+ "BaseTextLineSpecificationName": "tls_base",
235
+ "StringLengthRange": [
236
+ 36,
237
+ 36
238
+ ],
239
+ "OutputResults": 1,
240
+ "ExpectedGroupsCount": 1,
241
+ "ConcatResults": 1,
242
+ "ConcatSeparator": "\n",
243
+ "SubGroups": [
244
+ {
245
+ "StringRegExPattern": "(V[A-Z<][A-Z<]{3}[A-Z<]{31}){(36)}",
246
+ "StringLengthRange": [
247
+ 36,
248
+ 36
249
+ ],
250
+ "BaseTextLineSpecificationName": "tls_base"
251
+ },
252
+ {
253
+ "StringRegExPattern": "([A-Z0-9<]{9}[0-9][A-Z<]{3}[0-9]{2}[(01-12)][(01-31)][0-9][MF<][0-9]{2}[(01-12)][(01-31)][0-9][A-Z0-9<]{8}){(36)}",
254
+ "StringLengthRange": [
255
+ 36,
256
+ 36
257
+ ],
258
+ "BaseTextLineSpecificationName": "tls_base"
259
+ }
260
+ ]
261
+ },
262
+ {
263
+ "Name": "tls_mrz_visa_td3",
264
+ "BaseTextLineSpecificationName": "tls_base",
265
+ "StringLengthRange": [
266
+ 44,
267
+ 44
268
+ ],
269
+ "OutputResults": 1,
270
+ "ExpectedGroupsCount": 1,
271
+ "ConcatResults": 1,
272
+ "ConcatSeparator": "\n",
273
+ "SubGroups": [
274
+ {
275
+ "StringRegExPattern": "(V[A-Z<][A-Z<]{3}[A-Z<]{39}){(44)}",
276
+ "StringLengthRange": [
277
+ 44,
278
+ 44
279
+ ],
280
+ "BaseTextLineSpecificationName": "tls_base"
281
+ },
282
+ {
283
+ "StringRegExPattern": "([A-Z0-9<]{9}[0-9][A-Z<]{3}[0-9]{2}[(01-12)][(01-31)][0-9][MF<][0-9]{2}[(01-12)][(01-31)][0-9][A-Z0-9<]{14}[A-Z0-9<]{2}){(44)}",
284
+ "StringLengthRange": [
285
+ 44,
286
+ 44
287
+ ],
288
+ "BaseTextLineSpecificationName": "tls_base"
289
+ }
290
+ ]
291
+ }
292
+ ],
293
+ "LabelRecognizerTaskSettingOptions": [
294
+ {
295
+ "Name": "task_passport",
296
+ "TextLineSpecificationNameArray": [
297
+ "tls_mrz_passport"
298
+ ],
299
+ "SectionArray": [
300
+ {
301
+ "Section": "ST_REGION_PREDETECTION",
302
+ "ImageParameterName": "ip_mrz",
303
+ "StageArray": [
304
+ {
305
+ "Stage": "SST_PREDETECT_REGIONS"
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "Section": "ST_TEXT_LINE_LOCALIZATION",
311
+ "ImageParameterName": "ip_mrz",
312
+ "StageArray": [
313
+ {
314
+ "Stage": "SST_LOCALIZE_TEXT_LINES",
315
+ "LocalizationModes":[
316
+ {
317
+ "Mode": "LM_NEURAL_NETWORK",
318
+ "ModelNameArray": [
319
+ "MRZLocalization"
320
+ ]
321
+ },
322
+ {
323
+ "Mode": "LM_GENERAL"
324
+ }
325
+ ]
326
+ }
327
+ ]
328
+ },
329
+ {
330
+ "Section": "ST_TEXT_LINE_RECOGNITION",
331
+ "ImageParameterName": "ip_mrz",
332
+ "StageArray": [
333
+ {
334
+ "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
335
+ "ConfusableCharactersPath": "ConfusableChars.data",
336
+ "OverlappingCharactersPath": "OverlappingChars.data",
337
+ "EnableRegexForceCorrection": 1
338
+ },
339
+ {
340
+ "Stage": "SST_ASSEMBLE_TEXT_LINES"
341
+ }
342
+ ]
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "Name": "task_id",
348
+ "TextLineSpecificationNameArray": [
349
+ "tls_mrz_id_td1",
350
+ "tls_mrz_id_td2"
351
+ ],
352
+ "SectionArray": [
353
+ {
354
+ "Section": "ST_REGION_PREDETECTION",
355
+ "ImageParameterName": "ip_mrz",
356
+ "StageArray": [
357
+ {
358
+ "Stage": "SST_PREDETECT_REGIONS"
359
+ }
360
+ ]
361
+ },
362
+ {
363
+ "Section": "ST_TEXT_LINE_LOCALIZATION",
364
+ "ImageParameterName": "ip_mrz",
365
+ "StageArray": [
366
+ {
367
+ "Stage": "SST_LOCALIZE_TEXT_LINES",
368
+ "LocalizationModes":[
369
+ {
370
+ "Mode": "LM_NEURAL_NETWORK",
371
+ "ModelNameArray": [
372
+ "MRZLocalization"
373
+ ]
374
+ },
375
+ {
376
+ "Mode": "LM_GENERAL"
377
+ }
378
+ ]
379
+ }
380
+ ]
381
+ },
382
+ {
383
+ "Section": "ST_TEXT_LINE_RECOGNITION",
384
+ "ImageParameterName": "ip_mrz",
385
+ "StageArray": [
386
+ {
387
+ "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
388
+ "ConfusableCharactersPath": "ConfusableChars.data",
389
+ "OverlappingCharactersPath": "OverlappingChars.data",
390
+ "EnableRegexForceCorrection": 1
391
+ },
392
+ {
393
+ "Stage": "SST_ASSEMBLE_TEXT_LINES"
394
+ }
395
+ ]
396
+ }
397
+ ]
398
+ },
399
+ {
400
+ "Name": "task_passport_and_id",
401
+ "TextLineSpecificationNameArray": [
402
+ "tls_mrz_passport",
403
+ "tls_mrz_id_td1",
404
+ "tls_mrz_id_td2"
405
+ ],
406
+ "SectionArray": [
407
+ {
408
+ "Section": "ST_REGION_PREDETECTION",
409
+ "ImageParameterName": "ip_mrz",
410
+ "StageArray": [
411
+ {
412
+ "Stage": "SST_PREDETECT_REGIONS"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ "Section": "ST_TEXT_LINE_LOCALIZATION",
418
+ "ImageParameterName": "ip_mrz",
419
+ "StageArray": [
420
+ {
421
+ "Stage": "SST_LOCALIZE_TEXT_LINES",
422
+ "LocalizationModes":[
423
+ {
424
+ "Mode": "LM_NEURAL_NETWORK",
425
+ "ModelNameArray": [
426
+ "MRZLocalization"
427
+ ]
428
+ },
429
+ {
430
+ "Mode": "LM_GENERAL"
431
+ }
432
+ ]
433
+ }
434
+ ]
435
+ },
436
+ {
437
+ "Section": "ST_TEXT_LINE_RECOGNITION",
438
+ "ImageParameterName": "ip_mrz",
439
+ "StageArray": [
440
+ {
441
+ "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
442
+ "ConfusableCharactersPath": "ConfusableChars.data",
443
+ "OverlappingCharactersPath": "OverlappingChars.data",
444
+ "EnableRegexForceCorrection": 0
445
+ },
446
+ {
447
+ "Stage": "SST_ASSEMBLE_TEXT_LINES"
448
+ }
449
+ ]
450
+ }
451
+ ]
452
+ },
453
+ {
454
+ "Name": "task_visa",
455
+ "TextLineSpecificationNameArray": [
456
+ "tls_mrz_visa_td2",
457
+ "tls_mrz_visa_td3"
458
+ ],
459
+ "SectionArray": [
460
+ {
461
+ "Section": "ST_REGION_PREDETECTION",
462
+ "ImageParameterName": "ip_mrz",
463
+ "StageArray": [
464
+ {
465
+ "Stage": "SST_PREDETECT_REGIONS"
466
+ }
467
+ ]
468
+ },
469
+ {
470
+ "Section": "ST_TEXT_LINE_LOCALIZATION",
471
+ "ImageParameterName": "ip_mrz",
472
+ "StageArray": [
473
+ {
474
+ "Stage": "SST_LOCALIZE_TEXT_LINES",
475
+ "LocalizationModes":[
476
+ {
477
+ "Mode": "LM_NEURAL_NETWORK",
478
+ "ModelNameArray": [
479
+ "MRZLocalization"
480
+ ]
481
+ },
482
+ {
483
+ "Mode": "LM_GENERAL"
484
+ }
485
+ ]
486
+ }
487
+ ]
488
+ },
489
+ {
490
+ "Section": "ST_TEXT_LINE_RECOGNITION",
491
+ "ImageParameterName": "ip_mrz",
492
+ "StageArray": [
493
+ {
494
+ "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
495
+ "ConfusableCharactersPath": "ConfusableChars.data",
496
+ "OverlappingCharactersPath": "OverlappingChars.data",
497
+ "EnableRegexForceCorrection": 1
498
+ },
499
+ {
500
+ "Stage": "SST_ASSEMBLE_TEXT_LINES"
501
+ }
502
+ ]
503
+ }
504
+ ]
505
+ },
506
+ {
507
+ "Name": "task_mrz",
508
+ "TextLineSpecificationNameArray": [
509
+ "tls_mrz_passport",
510
+ "tls_mrz_id_td1",
511
+ "tls_mrz_id_td2",
512
+ "tls_mrz_visa_td2",
513
+ "tls_mrz_visa_td3"
514
+ ],
515
+ "SectionArray": [
516
+ {
517
+ "Section": "ST_REGION_PREDETECTION",
518
+ "ImageParameterName": "ip_mrz",
519
+ "StageArray": [
520
+ {
521
+ "Stage": "SST_PREDETECT_REGIONS"
522
+ }
523
+ ]
524
+ },
525
+ {
526
+ "Section": "ST_TEXT_LINE_LOCALIZATION",
527
+ "ImageParameterName": "ip_mrz",
528
+ "StageArray": [
529
+ {
530
+ "Stage": "SST_LOCALIZE_TEXT_LINES",
531
+ "LocalizationModes":[
532
+ {
533
+ "Mode": "LM_NEURAL_NETWORK",
534
+ "ModelNameArray": [
535
+ "MRZLocalization"
536
+ ]
537
+ },
538
+ {
539
+ "Mode": "LM_GENERAL"
540
+ }
541
+ ]
542
+ }
543
+ ]
544
+ },
545
+ {
546
+ "Section": "ST_TEXT_LINE_RECOGNITION",
547
+ "ImageParameterName": "ip_mrz",
548
+ "StageArray": [
549
+ {
550
+ "Stage": "SST_RECOGNIZE_RAW_TEXT_LINES",
551
+ "ConfusableCharactersPath": "ConfusableChars.data",
552
+ "OverlappingCharactersPath": "OverlappingChars.data",
553
+ "EnableRegexForceCorrection": 0
554
+ },
555
+ {
556
+ "Stage": "SST_ASSEMBLE_TEXT_LINES"
557
+ }
558
+ ]
559
+ }
560
+ ]
561
+ }
562
+ ],
563
+ "DocumentNormalizerTaskSettingOptions": [
564
+ {
565
+ "Name": "task-detect-document",
566
+ "SectionArray": [
567
+ {
568
+ "Section": "ST_DOCUMENT_DETECTION",
569
+ "ImageParameterName": "ip-document"
570
+ },
571
+ {
572
+ "Section": "ST_DOCUMENT_DESKEWING",
573
+ "ImageParameterName": "ip-document"
574
+ },
575
+ {
576
+ "Section": "ST_IMAGE_ENHANCEMENT",
577
+ "ImageParameterName": "ip-document"
578
+ }
579
+ ]
580
+ }
581
+ ],
582
+ "CaptureVisionModelOptions": [
583
+ {
584
+ "Name": "MRZCharRecognition",
585
+ "MaxModelInstances": 4
586
+ },
587
+ {
588
+ "Name": "MRZTextLineRecognition"
589
+ },
590
+ {
591
+ "Name": "MRZLocalization",
592
+ "ModelArgs": {
593
+ "InputImageLongerEdge": 640
594
+ }
595
+ }
596
+ ],
597
+ "ImageParameterOptions": [
598
+ {
599
+ "Name": "ip_mrz",
600
+ "ApplicableStages": [
601
+ {
602
+ "Stage": "SST_DETECT_TEXTURE",
603
+ "TextureDetectionModes": [
604
+ {
605
+ "Mode": "TDM_GENERAL_WIDTH_CONCENTRATION",
606
+ "Sensitivity": 8
607
+ }
608
+ ]
609
+ },
610
+ {
611
+ "Stage": "SST_BINARIZE_IMAGE",
612
+ "BinarizationModes": [
613
+ {
614
+ "EnableFillBinaryVacancy": 0,
615
+ "ThresholdCompensation": 21,
616
+ "Mode": "BM_LOCAL_BLOCK"
617
+ }
618
+ ]
619
+ },
620
+ {
621
+ "Stage": "SST_BINARIZE_TEXTURE_REMOVED_GRAYSCALE",
622
+ "BinarizationModes": [
623
+ {
624
+ "EnableFillBinaryVacancy": 0,
625
+ "ThresholdCompensation": 21,
626
+ "Mode": "BM_LOCAL_BLOCK"
627
+ }
628
+ ]
629
+ },
630
+ {
631
+ "Stage": "SST_DETECT_TEXT_ZONES",
632
+ "TextDetectionMode": {
633
+ "Mode": "TTDM_LINE",
634
+ "CharHeightRange": [
635
+ 5,
636
+ 1000,
637
+ 1
638
+ ],
639
+ "Direction": "HORIZONTAL",
640
+ "Sensitivity": 7
641
+ }
642
+ }
643
+ ]
644
+ },
645
+ {
646
+ "Name": "ip-document",
647
+ "ApplicableStages": [
648
+ {
649
+ "Stage": "SST_DETECT_TEXT_ZONES",
650
+ "TextDetectionMode": {
651
+ "Mode": "TTDM_WORD",
652
+ "Direction": "HORIZONTAL",
653
+ "Sensitivity": 7
654
+ }
655
+ },
656
+ {
657
+ "Stage": "SST_BINARIZE_IMAGE",
658
+ "BinarizationModes": [
659
+ {
660
+ "Mode": "BM_LOCAL_BLOCK",
661
+ "BlockSizeX": 30,
662
+ "BlockSizeY": 30,
663
+ "EnableFillBinaryVacancy": 0,
664
+ "ThresholdCompensation": 5
665
+ }
666
+ ]
667
+ },
668
+ {
669
+ "Stage": "SST_BINARIZE_TEXTURE_REMOVED_GRAYSCALE",
670
+ "BinarizationModes": [
671
+ {
672
+ "Mode": "BM_LOCAL_BLOCK",
673
+ "BlockSizeX": 30,
674
+ "BlockSizeY": 30,
675
+ "EnableFillBinaryVacancy": 0,
676
+ "ThresholdCompensation": 5
677
+ }
678
+ ]
679
+ },
680
+ {
681
+ "Stage": "SST_CONVERT_TO_GRAYSCALE",
682
+ "ColourConversionModes": [
683
+ {
684
+ "Mode": "CICM_GENERAL"
685
+ },
686
+ {
687
+ "Mode": "CICM_EDGE_ENHANCEMENT"
688
+ },
689
+ {
690
+ "Mode": "CICM_HSV",
691
+ "ReferChannel": "H_CHANNEL"
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ "Stage": "SST_DETECT_TEXTURE",
697
+ "TextureDetectionModes": [
698
+ {
699
+ "Mode": "TDM_GENERAL_WIDTH_CONCENTRATION",
700
+ "Sensitivity": 8
701
+ }
702
+ ]
703
+ }
704
+ ]
705
+ }
706
+ ],
707
+ "SemanticProcessingOptions": [
708
+ {
709
+ "Name": "sp_passport_and_id",
710
+ "ReferenceObjectFilter": {
711
+ "ReferenceTargetROIDefNameArray": [
712
+ "roi_passport_and_id"
713
+ ]
714
+ },
715
+ "TaskSettingNameArray": [
716
+ "dcp_passport_and_id"
717
+ ]
718
+ },
719
+ {
720
+ "Name": "sp_passport",
721
+ "ReferenceObjectFilter": {
722
+ "ReferenceTargetROIDefNameArray": [
723
+ "roi_passport"
724
+ ]
725
+ },
726
+ "TaskSettingNameArray": [
727
+ "dcp_passport"
728
+ ]
729
+ },
730
+ {
731
+ "Name": "sp_id",
732
+ "ReferenceObjectFilter": {
733
+ "ReferenceTargetROIDefNameArray": [
734
+ "roi_id"
735
+ ]
736
+ },
737
+ "TaskSettingNameArray": [
738
+ "dcp_id"
739
+ ]
740
+ },
741
+ {
742
+ "Name": "sp_visa",
743
+ "ReferenceObjectFilter": {
744
+ "ReferenceTargetROIDefNameArray": [
745
+ "roi_visa"
746
+ ]
747
+ },
748
+ "TaskSettingNameArray": [
749
+ "dcp_visa"
750
+ ]
751
+ },
752
+ {
753
+ "Name": "sp_mrz",
754
+ "ReferenceObjectFilter": {
755
+ "ReferenceTargetROIDefNameArray": [
756
+ "roi_mrz"
757
+ ]
758
+ },
759
+ "TaskSettingNameArray": [
760
+ "dcp_mrz"
761
+ ]
762
+ }
763
+ ],
764
+ "CodeParserTaskSettingOptions": [
765
+ {
766
+ "Name": "dcp_passport",
767
+ "CodeSpecifications": [
768
+ "MRTD_TD3_PASSPORT"
769
+ ]
770
+ },
771
+ {
772
+ "Name": "dcp_id",
773
+ "CodeSpecifications": [
774
+ "MRTD_TD1_ID",
775
+ "MRTD_TD2_ID"
776
+ ]
777
+ },
778
+ {
779
+ "Name": "dcp_passport_and_id",
780
+ "CodeSpecifications": [
781
+ "MRTD_TD3_PASSPORT",
782
+ "MRTD_TD1_ID",
783
+ "MRTD_TD2_ID"
784
+ ]
785
+ },
786
+ {
787
+ "Name": "dcp_visa",
788
+ "CodeSpecifications": [
789
+ "MRTD_TD2_VISA",
790
+ "MRTD_TD3_VISA"
791
+ ]
792
+ },
793
+ {
794
+ "Name": "dcp_mrz",
795
+ "CodeSpecifications": [
796
+ "MRTD_TD3_PASSPORT",
797
+ "MRTD_TD1_ID",
798
+ "MRTD_TD2_ID",
799
+ "MRTD_TD2_VISA",
800
+ "MRTD_TD3_VISA"
801
+ ]
802
+ }
803
+ ]
804
+ }