forked from yushulx/cmake-cpp-barcode-qrcode-mrz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdbr.json
More file actions
73 lines (73 loc) · 1.95 KB
/
dbr.json
File metadata and controls
73 lines (73 loc) · 1.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"title": "JSON schema for DBR configuration files",
"$schema": "http://json-schema.org/draft-04/schema#",
"description": "A representation of Dynamsoft Barcode Reader template.",
"type": "object",
"required": ["Version", "ImageParameters"],
"properties": {
"Version": {
"description": "The template version number.",
"type": "string",
"enum": [
"1.0"
]
},
"ImageParameters": {
"description": "Parameters for barcode detection",
"type": "object",
"required": [
"Name"
],
"properties": {
"Name": {
"description": "The name of the ImageParameters object",
"type": "string",
"maxLength": 50,
"minLength": 1
},
"Description": {
"description": "The description of the ImageParameters object",
"type": "string"
},
"BarcodeFormatIds": {
"description": "Sets which types of barcode to be read. Barcode types can be combined",
"type": "array",
"items": {
"type": "string",
"enum": [
"All", "OneD", "CODE_39", "CODE_128", "CODE_93", "CODABAR", "ITF", "EAN_13", "EAN_8", "UPC_A", "UPC_E", "INDUSTRIAL_25", "PDF417", "QR_CODE", "DATAMATRIX"
]
}
},
"MaxBarcodesCount": {
"description": "Sets the maximum number of barcodes to read",
"type": "number",
"maximum": 2147483647,
"minimum": 1,
"default": 2147483647
},
"Timeout": {
"description": "Sets the maximum amount of time (in milliseconds) it should spend searching for a barcode per page",
"type": "number",
"maximum": 2147483647,
"minimum": 0,
"default": 2147483647
},
"ScaleDownThreshold": {
"description": "Sets the threshold value of the image shrinking",
"type": "number",
"maximum": 2147483647,
"minimum": 512,
"default": 2048
},
"DeblurLevel": {
"description": "The blurriness of the barcode",
"type": "number",
"maximum": 9,
"minimum": 0,
"default": 5
}
}
}
}
}