dynamsoft-barcode-reader-bundle 10.4.3100 → 10.5.1000-iv-singlewasm
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.
- package/dynamsoft-barcode-reader@10.4.31/dist/DBR-PresetTemplates.json +628 -0
- package/dynamsoft-barcode-reader@10.4.31/dist/dbr.d.ts +383 -0
- package/dynamsoft-barcode-reader@10.4.31/dist/dbr.esm.js +11 -0
- package/dynamsoft-barcode-reader@10.4.31/dist/dbr.js +11 -0
- package/dynamsoft-barcode-reader@10.4.31/dist/dbr.mjs +11 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.d.ts +1877 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.esm.js +11 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.js +11 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.mjs +11 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.mobile-native.ui.html +222 -0
- package/dynamsoft-camera-enhancer@4.1.1/dist/dce.ui.html +115 -0
- package/dynamsoft-capture-vision-router@2.4.33/dist/cvr.d.ts +663 -0
- package/dynamsoft-capture-vision-router@2.4.33/dist/cvr.esm.js +2121 -0
- package/dynamsoft-capture-vision-router@2.4.33/dist/cvr.js +11 -0
- package/dynamsoft-capture-vision-router@2.4.33/dist/cvr.mjs +2121 -0
- package/dynamsoft-capture-vision-router@2.4.33/dist/cvr.worker.js +21 -0
- package/dynamsoft-capture-vision-std@1.4.21/dist/std.js +1 -0
- package/dynamsoft-capture-vision-std@1.4.21/dist/std.wasm +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/dcp.d.ts +90 -0
- package/dynamsoft-code-parser@2.4.32/dist/dcp.esm.js +11 -0
- package/dynamsoft-code-parser@2.4.32/dist/dcp.js +11 -0
- package/dynamsoft-code-parser@2.4.32/dist/dcp.worker.js +21 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/AADHAAR.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/AADHAAR_Map.txt +3 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/AAMVA_DL_ID.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/AAMVA_DL_ID_WITH_MAG_STRIPE.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/AAMVA_Map.txt +70 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_Map.txt +255 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD1_ID.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD2_FRENCH_ID.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD2_ID.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD2_VISA.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD3_PASSPORT.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/MRTD_TD3_VISA.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/SOUTH_AFRICA_DL.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/SouthAfricaDL_Map.txt +3 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/VIN.data +0 -0
- package/dynamsoft-code-parser@2.4.32/dist/specification/VIN_Map.txt +150 -0
- package/dynamsoft-core@3.4.31/dist/core.d.ts +1019 -0
- package/dynamsoft-core@3.4.31/dist/core.esm.js +11 -0
- package/dynamsoft-core@3.4.31/dist/core.js +11 -0
- package/dynamsoft-core@3.4.31/dist/core.mjs +11 -0
- package/dynamsoft-core@3.4.31/dist/core.worker.js +11 -0
- package/dynamsoft-license@3.4.31/dist/dls.license.dialog.html +20 -0
- package/dynamsoft-license@3.4.31/dist/license.d.ts +40 -0
- package/dynamsoft-license@3.4.31/dist/license.esm.js +11 -0
- package/dynamsoft-license@3.4.31/dist/license.js +11 -0
- package/dynamsoft-license@3.4.31/dist/license.mjs +11 -0
- package/dynamsoft-license@3.4.31/dist/license.worker.js +11 -0
- package/dynamsoft-utility@1.4.32/dist/utility.d.ts +118 -0
- package/dynamsoft-utility@1.4.32/dist/utility.esm.js +11 -0
- package/dynamsoft-utility@1.4.32/dist/utility.js +11 -0
- package/dynamsoft-utility@1.4.32/dist/utility.mjs +11 -0
- package/dynamsoft-utility@1.4.32/dist/utility.worker.js +11 -0
- package/package.json +9 -82
- package/API Reference.url +0 -2
- package/LEGAL.txt +0 -353
- package/LICENSE +0 -4
- package/README.html +0 -836
- package/README.md +0 -735
- package/samples.url +0 -2
- /package/{dist → dynamsoft-barcode-reader-bundle@10.4.3100/dist}/dbr.bundle.d.ts +0 -0
- /package/{dist → dynamsoft-barcode-reader-bundle@10.4.3100/dist}/dbr.bundle.esm.d.ts +0 -0
- /package/{dist → dynamsoft-barcode-reader-bundle@10.4.3100/dist}/dbr.bundle.js +0 -0
- /package/{dist → dynamsoft-barcode-reader-bundle@10.4.3100/dist}/dbr.bundle.mjs +0 -0
- /package/{dist → dynamsoft-barcode-reader-bundle@10.4.3100/dist}/dbr.no-content-bundle.esm.js +0 -0
|
@@ -0,0 +1,383 @@
|
|
|
1
|
+
import { CapturedResultItem, Quadrilateral, ImageTag, RegionObjectElement, DSImageData, EnumGrayscaleTransformationMode, EnumGrayscaleEnhancementMode, IntermediateResultExtraInfo, IntermediateResultUnit } from 'dynamsoft-core';
|
|
2
|
+
|
|
3
|
+
declare class BarcodeReaderModule {
|
|
4
|
+
static getVersion(): string;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
declare const EnumBarcodeFormat: {
|
|
8
|
+
/**No barcode format in BarcodeFormat*/
|
|
9
|
+
BF_NULL: bigint;
|
|
10
|
+
/**All supported formats in BarcodeFormat*/
|
|
11
|
+
BF_ALL: bigint;
|
|
12
|
+
/**Use the default barcode format settings*/
|
|
13
|
+
BF_DEFAULT: bigint;
|
|
14
|
+
/**Combined value of BF_CODABAR, BF_CODE_128, BF_CODE_39, BF_CODE_39_Extended, BF_CODE_93, BF_EAN_13, BF_EAN_8, INDUSTRIAL_25, BF_ITF, BF_UPC_A, BF_UPC_E, BF_MSI_CODE; */
|
|
15
|
+
BF_ONED: bigint;
|
|
16
|
+
/**Combined value of BF_GS1_DATABAR_OMNIDIRECTIONAL, BF_GS1_DATABAR_TRUNCATED, BF_GS1_DATABAR_STACKED, BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL, BF_GS1_DATABAR_EXPANDED, BF_GS1_DATABAR_EXPANDED_STACKED, BF_GS1_DATABAR_LIMITED*/
|
|
17
|
+
BF_GS1_DATABAR: bigint;
|
|
18
|
+
/**Code 39 */
|
|
19
|
+
BF_CODE_39: bigint;
|
|
20
|
+
/**Code 128 */
|
|
21
|
+
BF_CODE_128: bigint;
|
|
22
|
+
/**Code 93 */
|
|
23
|
+
BF_CODE_93: bigint;
|
|
24
|
+
/**Codabar */
|
|
25
|
+
BF_CODABAR: bigint;
|
|
26
|
+
/**Interleaved 2 of 5 */
|
|
27
|
+
BF_ITF: bigint;
|
|
28
|
+
/**EAN-13 */
|
|
29
|
+
BF_EAN_13: bigint;
|
|
30
|
+
/**EAN-8 */
|
|
31
|
+
BF_EAN_8: bigint;
|
|
32
|
+
/**UPC-A */
|
|
33
|
+
BF_UPC_A: bigint;
|
|
34
|
+
/**UPC-E */
|
|
35
|
+
BF_UPC_E: bigint;
|
|
36
|
+
/**Industrial 2 of 5 */
|
|
37
|
+
BF_INDUSTRIAL_25: bigint;
|
|
38
|
+
/**CODE39 Extended */
|
|
39
|
+
BF_CODE_39_EXTENDED: bigint;
|
|
40
|
+
/**GS1 Databar Omnidirectional*/
|
|
41
|
+
BF_GS1_DATABAR_OMNIDIRECTIONAL: bigint;
|
|
42
|
+
/**GS1 Databar Truncated*/
|
|
43
|
+
BF_GS1_DATABAR_TRUNCATED: bigint;
|
|
44
|
+
/**GS1 Databar Stacked*/
|
|
45
|
+
BF_GS1_DATABAR_STACKED: bigint;
|
|
46
|
+
/**GS1 Databar Stacked Omnidirectional*/
|
|
47
|
+
BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL: bigint;
|
|
48
|
+
/**GS1 Databar Expanded*/
|
|
49
|
+
BF_GS1_DATABAR_EXPANDED: bigint;
|
|
50
|
+
/**GS1 Databar Expaned Stacked*/
|
|
51
|
+
BF_GS1_DATABAR_EXPANDED_STACKED: bigint;
|
|
52
|
+
/**GS1 Databar Limited*/
|
|
53
|
+
BF_GS1_DATABAR_LIMITED: bigint;
|
|
54
|
+
/**Patch code. */
|
|
55
|
+
BF_PATCHCODE: bigint;
|
|
56
|
+
/**PDF417 */
|
|
57
|
+
BF_CODE_32: bigint;
|
|
58
|
+
/**PDF417 */
|
|
59
|
+
BF_PDF417: bigint;
|
|
60
|
+
/**QRCode */
|
|
61
|
+
BF_QR_CODE: bigint;
|
|
62
|
+
/**DataMatrix */
|
|
63
|
+
BF_DATAMATRIX: bigint;
|
|
64
|
+
/**AZTEC */
|
|
65
|
+
BF_AZTEC: bigint;
|
|
66
|
+
/**MAXICODE */
|
|
67
|
+
BF_MAXICODE: bigint;
|
|
68
|
+
/**Micro QR Code*/
|
|
69
|
+
BF_MICRO_QR: bigint;
|
|
70
|
+
/**Micro PDF417*/
|
|
71
|
+
BF_MICRO_PDF417: bigint;
|
|
72
|
+
/**GS1 Composite Code*/
|
|
73
|
+
BF_GS1_COMPOSITE: bigint;
|
|
74
|
+
/**MSI Code*/
|
|
75
|
+
BF_MSI_CODE: bigint;
|
|
76
|
+
BF_CODE_11: bigint;
|
|
77
|
+
BF_TWO_DIGIT_ADD_ON: bigint;
|
|
78
|
+
BF_FIVE_DIGIT_ADD_ON: bigint;
|
|
79
|
+
BF_MATRIX_25: bigint;
|
|
80
|
+
/**Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC.*/
|
|
81
|
+
BF_POSTALCODE: bigint;
|
|
82
|
+
/**Nonstandard barcode */
|
|
83
|
+
BF_NONSTANDARD_BARCODE: bigint;
|
|
84
|
+
/**USPS Intelligent Mail.*/
|
|
85
|
+
BF_USPSINTELLIGENTMAIL: bigint;
|
|
86
|
+
/**Postnet.*/
|
|
87
|
+
BF_POSTNET: bigint;
|
|
88
|
+
/**Planet.*/
|
|
89
|
+
BF_PLANET: bigint;
|
|
90
|
+
/**Australian Post.*/
|
|
91
|
+
BF_AUSTRALIANPOST: bigint;
|
|
92
|
+
/**Royal Mail 4-State Customer Barcode.*/
|
|
93
|
+
BF_RM4SCC: bigint;
|
|
94
|
+
/**KIX.*/
|
|
95
|
+
BF_KIX: bigint;
|
|
96
|
+
/**DotCode.*/
|
|
97
|
+
BF_DOTCODE: bigint;
|
|
98
|
+
/**_PHARMACODE_ONE_TRACK.*/
|
|
99
|
+
BF_PHARMACODE_ONE_TRACK: bigint;
|
|
100
|
+
/**PHARMACODE_TWO_TRACK.*/
|
|
101
|
+
BF_PHARMACODE_TWO_TRACK: bigint;
|
|
102
|
+
/**PHARMACODE.*/
|
|
103
|
+
BF_PHARMACODE: bigint;
|
|
104
|
+
};
|
|
105
|
+
type EnumBarcodeFormat = bigint;
|
|
106
|
+
|
|
107
|
+
declare enum EnumExtendedBarcodeResultType {
|
|
108
|
+
EBRT_STANDARD_RESULT = 0,
|
|
109
|
+
EBRT_CANDIDATE_RESULT = 1,
|
|
110
|
+
EBRT_PARTIAL_RESULT = 2
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
declare enum EnumQRCodeErrorCorrectionLevel {
|
|
114
|
+
QRECL_ERROR_CORRECTION_H = 0,
|
|
115
|
+
QRECL_ERROR_CORRECTION_L = 1,
|
|
116
|
+
QRECL_ERROR_CORRECTION_M = 2,
|
|
117
|
+
QRECL_ERROR_CORRECTION_Q = 3
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
/** Label: DBRJS10.0.10-Check
|
|
121
|
+
* @enum EnumLocalizationMode
|
|
122
|
+
*
|
|
123
|
+
* Describes the localization mode.
|
|
124
|
+
*/
|
|
125
|
+
declare enum EnumLocalizationMode {
|
|
126
|
+
/**Not supported yet. */
|
|
127
|
+
LM_AUTO = 1,
|
|
128
|
+
/**Localizes barcodes by searching for connected blocks. This algorithm usually gives best result and it is recommended to set ConnectedBlocks to the highest priority. */
|
|
129
|
+
LM_CONNECTED_BLOCKS = 2,
|
|
130
|
+
/**Localizes barcodes by groups of contiguous black-white regions. This is optimized for QRCode and DataMatrix. */
|
|
131
|
+
LM_STATISTICS = 4,
|
|
132
|
+
/**Localizes barcodes by searching for groups of lines. This is optimized for 1D and PDF417 barcodes. */
|
|
133
|
+
LM_LINES = 8,
|
|
134
|
+
/**Localizes barcodes quickly. This mode is recommended in interactive scenario. Check @ref LM for available argument settings.*/
|
|
135
|
+
LM_SCAN_DIRECTLY = 16,
|
|
136
|
+
/**Localizes barcodes by groups of marks.This is optimized for DPM codes. */
|
|
137
|
+
LM_STATISTICS_MARKS = 32,
|
|
138
|
+
/**Localizes barcodes by groups of connected blocks and lines.This is optimized for postal codes. */
|
|
139
|
+
LM_STATISTICS_POSTAL_CODE = 64,
|
|
140
|
+
/**Localizes barcodes from the centre of the image. Check @ref LM for available argument settings. */
|
|
141
|
+
LM_CENTRE = 128,
|
|
142
|
+
/**Localizes 1D barcodes fast. Check @ref LM for available argument settings. */
|
|
143
|
+
LM_ONED_FAST_SCAN = 256,
|
|
144
|
+
LM_REV = -2147483648,
|
|
145
|
+
/**Skips localization. */
|
|
146
|
+
LM_SKIP = 0
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
/** Label: DBRJS10.0.10-Check
|
|
150
|
+
* @enum EnumDeblurMode
|
|
151
|
+
*
|
|
152
|
+
* Describes the deblur mode.
|
|
153
|
+
*/
|
|
154
|
+
declare enum EnumDeblurMode {
|
|
155
|
+
/**Performs deblur process using the direct binarization algorithm.*/
|
|
156
|
+
DM_DIRECT_BINARIZATION = 1,
|
|
157
|
+
/**Performs deblur process using the threshold binarization algorithm.*/
|
|
158
|
+
DM_THRESHOLD_BINARIZATION = 2,
|
|
159
|
+
/**Performs deblur process using the gray equalization algorithm.*/
|
|
160
|
+
DM_GRAY_EQUALIZATION = 4,
|
|
161
|
+
/**Performs deblur process using the smoothing algorithm.*/
|
|
162
|
+
DM_SMOOTHING = 8,
|
|
163
|
+
/**Performs deblur process using the morphing algorithm.*/
|
|
164
|
+
DM_MORPHING = 16,
|
|
165
|
+
/**Performs deblur process using the deep analysis algorithm.*/
|
|
166
|
+
DM_DEEP_ANALYSIS = 32,
|
|
167
|
+
/**Performs deblur process using the sharpening algorithm.*/
|
|
168
|
+
DM_SHARPENING = 64,
|
|
169
|
+
/**Performs deblur process based on the binary image from the localization process.*/
|
|
170
|
+
DM_BASED_ON_LOC_BIN = 128,
|
|
171
|
+
/**Performs deblur process using the sharpening and smoothing algorithm.*/
|
|
172
|
+
DM_SHARPENING_SMOOTHING = 256,
|
|
173
|
+
/**Reserved setting for deblur mode.*/
|
|
174
|
+
DM_REV = -2147483648,
|
|
175
|
+
/**Skips the deblur process.*/
|
|
176
|
+
DM_SKIP = 0
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
interface BarcodeDetails {
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
interface AztecDetails extends BarcodeDetails {
|
|
183
|
+
rows: number;
|
|
184
|
+
columns: number;
|
|
185
|
+
layerNumber: number;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
interface BarcodeResultItem extends CapturedResultItem {
|
|
189
|
+
format: EnumBarcodeFormat;
|
|
190
|
+
formatString: string;
|
|
191
|
+
text: string;
|
|
192
|
+
bytes: Uint8Array;
|
|
193
|
+
location: Quadrilateral;
|
|
194
|
+
confidence: number;
|
|
195
|
+
angle: number;
|
|
196
|
+
moduleSize: number;
|
|
197
|
+
details: BarcodeDetails;
|
|
198
|
+
isMirrored: boolean;
|
|
199
|
+
isDPM: boolean;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
interface DataMatrixDetails extends BarcodeDetails {
|
|
203
|
+
rows: number;
|
|
204
|
+
columns: number;
|
|
205
|
+
dataRegionRows: number;
|
|
206
|
+
dataRegionColumns: number;
|
|
207
|
+
dataRegionNumber: number;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
interface DecodedBarcodesResult {
|
|
211
|
+
readonly originalImageHashId: string;
|
|
212
|
+
readonly originalImageTag: ImageTag;
|
|
213
|
+
readonly barcodeResultItems: Array<BarcodeResultItem>;
|
|
214
|
+
readonly errorCode: number;
|
|
215
|
+
readonly errorString: string;
|
|
216
|
+
}
|
|
217
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
218
|
+
interface CapturedResultReceiver {
|
|
219
|
+
onDecodedBarcodesReceived?: (result: DecodedBarcodesResult) => void;
|
|
220
|
+
}
|
|
221
|
+
interface CapturedResultFilter {
|
|
222
|
+
onDecodedBarcodesReceived?: (result: DecodedBarcodesResult) => void;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
interface DecodedBarcodeElement extends RegionObjectElement {
|
|
227
|
+
format: EnumBarcodeFormat;
|
|
228
|
+
formatString: string;
|
|
229
|
+
text: string;
|
|
230
|
+
bytes: Uint8Array;
|
|
231
|
+
details: BarcodeDetails;
|
|
232
|
+
isDPM: boolean;
|
|
233
|
+
isMirrored: boolean;
|
|
234
|
+
angle: number;
|
|
235
|
+
moduleSize: number;
|
|
236
|
+
confidence: number;
|
|
237
|
+
extendedBarcodeResults: Array<ExtendedBarcodeResult>;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
interface ExtendedBarcodeResult extends DecodedBarcodeElement {
|
|
241
|
+
extendedBarcodeResultType: EnumExtendedBarcodeResultType;
|
|
242
|
+
deformation: number;
|
|
243
|
+
clarity: number;
|
|
244
|
+
samplingImage: DSImageData;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
interface OneDCodeDetails extends BarcodeDetails {
|
|
248
|
+
startCharsBytes: Array<number>;
|
|
249
|
+
stopCharsBytes: Array<number>;
|
|
250
|
+
checkDigitBytes: Array<number>;
|
|
251
|
+
startPatternRange: number;
|
|
252
|
+
middlePatternRange: number;
|
|
253
|
+
endPatternRange: number;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
interface PDF417Details extends BarcodeDetails {
|
|
257
|
+
rows: number;
|
|
258
|
+
columns: number;
|
|
259
|
+
errorCorrectionLevel: number;
|
|
260
|
+
hasLeftRowIndicator: boolean;
|
|
261
|
+
hasRightRowIndicator: boolean;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
interface QRCodeDetails extends BarcodeDetails {
|
|
265
|
+
rows: number;
|
|
266
|
+
columns: number;
|
|
267
|
+
errorCorrectionLevel: number;
|
|
268
|
+
version: number;
|
|
269
|
+
model: number;
|
|
270
|
+
mode: number;
|
|
271
|
+
page: number;
|
|
272
|
+
totalPage: number;
|
|
273
|
+
parityData: number;
|
|
274
|
+
dataMaskPattern: number;
|
|
275
|
+
codewords: Array<String>;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
interface SimplifiedBarcodeReaderSettings {
|
|
279
|
+
barcodeFormatIds: EnumBarcodeFormat;
|
|
280
|
+
expectedBarcodesCount: number;
|
|
281
|
+
grayscaleTransformationModes: Array<EnumGrayscaleTransformationMode>;
|
|
282
|
+
grayscaleEnhancementModes: Array<EnumGrayscaleEnhancementMode>;
|
|
283
|
+
localizationModes: Array<number>;
|
|
284
|
+
deblurModes: Array<number>;
|
|
285
|
+
minResultConfidence: number;
|
|
286
|
+
minBarcodeTextLength: number;
|
|
287
|
+
barcodeTextRegExPattern: string;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
/**
|
|
291
|
+
* The `CandidateBarcodeZone` interface represents a candidate barcode zone.
|
|
292
|
+
*/
|
|
293
|
+
interface CandidateBarcodeZone {
|
|
294
|
+
/** Location of the candidate barcode zone within the image. */
|
|
295
|
+
location: Quadrilateral;
|
|
296
|
+
/** Possible formats of the localized barcode. */
|
|
297
|
+
possibleFormats: EnumBarcodeFormat;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* The `CandidateBarcodeZonesUnit` interface extends the `IntermediateResultUnit` interface and represents a unit of candidate barcode zones.
|
|
302
|
+
*/
|
|
303
|
+
interface CandidateBarcodeZonesUnit extends IntermediateResultUnit {
|
|
304
|
+
/** Array of candidate barcode zones represented as quadrilaterals. */
|
|
305
|
+
candidateBarcodeZones: Array<CandidateBarcodeZone>;
|
|
306
|
+
}
|
|
307
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
308
|
+
interface IntermediateResultReceiver {
|
|
309
|
+
onCandidateBarcodeZonesUnitReceived?: (result: CandidateBarcodeZonesUnit, info: IntermediateResultExtraInfo) => void;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
interface ComplementedBarcodeImageUnit extends IntermediateResultUnit {
|
|
314
|
+
imageData: DSImageData;
|
|
315
|
+
location: Quadrilateral;
|
|
316
|
+
}
|
|
317
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
318
|
+
interface IntermediateResultReceiver {
|
|
319
|
+
onComplementedBarcodeImageUnitReceived?: (result: ComplementedBarcodeImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
interface DecodedBarcodesUnit extends IntermediateResultUnit {
|
|
324
|
+
decodedBarcodes: Array<DecodedBarcodeElement>;
|
|
325
|
+
}
|
|
326
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
327
|
+
interface IntermediateResultReceiver {
|
|
328
|
+
onDecodedBarcodesReceived?: (result: DecodedBarcodesUnit, info: IntermediateResultExtraInfo) => void;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* The `DeformationResistedBarcode` interface represents a deformation-resisted barcode image.
|
|
334
|
+
*/
|
|
335
|
+
interface DeformationResistedBarcode {
|
|
336
|
+
/** Format of the barcode, as defined by `EnumBarcodeFormat`. */
|
|
337
|
+
format: EnumBarcodeFormat;
|
|
338
|
+
/** Image data of the deformation-resisted barcode image. */
|
|
339
|
+
imageData: DSImageData;
|
|
340
|
+
/** Location of the deformation-resisted barcode within the image. */
|
|
341
|
+
location: Quadrilateral;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
* The `DeformationResistedBarcodeImageUnit` interface extends the `IntermediateResultUnit` interface and represents a unit that holds the deformation-resisted barcode which includes the corresponding image data, its location, and the barcode format.
|
|
346
|
+
*/
|
|
347
|
+
interface DeformationResistedBarcodeImageUnit extends IntermediateResultUnit {
|
|
348
|
+
/** The deformation-resisted barcode. */
|
|
349
|
+
deformationResistedBarcode: DeformationResistedBarcode;
|
|
350
|
+
}
|
|
351
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
352
|
+
interface IntermediateResultReceiver {
|
|
353
|
+
onDeformationResistedBarcodeImageUnitReceived?: (result: DeformationResistedBarcodeImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
interface LocalizedBarcodeElement extends RegionObjectElement {
|
|
358
|
+
possibleFormats: EnumBarcodeFormat;
|
|
359
|
+
possibleFormatsString: string;
|
|
360
|
+
angle: number;
|
|
361
|
+
moduleSize: number;
|
|
362
|
+
confidence: number;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
interface LocalizedBarcodesUnit extends IntermediateResultUnit {
|
|
366
|
+
localizedBarcodes: Array<LocalizedBarcodeElement>;
|
|
367
|
+
}
|
|
368
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
369
|
+
interface IntermediateResultReceiver {
|
|
370
|
+
onLocalizedBarcodesReceived?: (result: LocalizedBarcodesUnit, info: IntermediateResultExtraInfo) => void;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
interface ScaledUpBarcodeImageUnit extends IntermediateResultUnit {
|
|
375
|
+
imageData: DSImageData;
|
|
376
|
+
}
|
|
377
|
+
declare module "dynamsoft-capture-vision-router" {
|
|
378
|
+
interface IntermediateResultReceiver {
|
|
379
|
+
onScaledUpBarcodeImageUnitReceived?: (result: ScaledUpBarcodeImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
export { AztecDetails, BarcodeDetails, BarcodeReaderModule, BarcodeResultItem, CandidateBarcodeZone, CandidateBarcodeZonesUnit, ComplementedBarcodeImageUnit, DataMatrixDetails, DecodedBarcodeElement, DecodedBarcodesResult, DecodedBarcodesUnit, DeformationResistedBarcode, DeformationResistedBarcodeImageUnit, EnumBarcodeFormat, EnumDeblurMode, EnumExtendedBarcodeResultType, EnumLocalizationMode, EnumQRCodeErrorCorrectionLevel, ExtendedBarcodeResult, LocalizedBarcodeElement, LocalizedBarcodesUnit, OneDCodeDetails, PDF417Details, QRCodeDetails, ScaledUpBarcodeImageUnit, SimplifiedBarcodeReaderSettings };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Dynamsoft JavaScript Library
|
|
3
|
+
* @product Dynamsoft Barcode Reader JS Edition
|
|
4
|
+
* @website http://www.dynamsoft.com
|
|
5
|
+
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
|
+
* @author Dynamsoft
|
|
7
|
+
* @version 10.4.31
|
|
8
|
+
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
|
+
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
|
+
*/
|
|
11
|
+
import{CoreModule as _,workerAutoResources as I,mapPackageRegister as B,compareVersion as R,innerVersions as n}from"dynamsoft-core";const t="undefined"==typeof self,A="function"==typeof importScripts,E=(()=>{if(!A){if(!t&&document.currentScript){let _=document.currentScript.src,I=_.indexOf("?");if(-1!=I)_=_.substring(0,I);else{let I=_.indexOf("#");-1!=I&&(_=_.substring(0,I))}return _.substring(0,_.lastIndexOf("/")+1)}return"./"}})(),T=_=>{if(null==_&&(_="./"),t||A);else{let I=document.createElement("a");I.href=_,_=I.href}return _.endsWith("/")||(_+="/"),_};_.engineResourcePaths.dbr={version:"10.4.31",path:E,isInternal:!0},I.dbr={js:!1,wasm:!0,deps:["license","dip"]},B.dbr={};const i="1.4.21";"string"!=typeof _.engineResourcePaths.std&&R(_.engineResourcePaths.std.version,i)<0&&(_.engineResourcePaths.std={version:i,path:T(E+`../../dynamsoft-capture-vision-std@${i}/dist/`),isInternal:!0});const D="2.4.31";(!_.engineResourcePaths.dip||"string"!=typeof _.engineResourcePaths.dip&&R(_.engineResourcePaths.dip.version,D)<0)&&(_.engineResourcePaths.dip={version:D,path:T(E+`../../dynamsoft-image-processing@${D}/dist/`),isInternal:!0});class O{static getVersion(){const _=n.dbr&&n.dbr.wasm,I=n.dbr&&n.dbr.worker;return`10.4.31(Worker: ${I||"Not Loaded"}, Wasm: ${_||"Not Loaded"})`}}const e={BF_NULL:BigInt(0),BF_ALL:BigInt("0xFFFFFFFEFFFFFFFF"),BF_DEFAULT:BigInt(4265345023),BF_ONED:BigInt(3147775),BF_GS1_DATABAR:BigInt(260096),BF_CODE_39:BigInt(1),BF_CODE_128:BigInt(2),BF_CODE_93:BigInt(4),BF_CODABAR:BigInt(8),BF_ITF:BigInt(16),BF_EAN_13:BigInt(32),BF_EAN_8:BigInt(64),BF_UPC_A:BigInt(128),BF_UPC_E:BigInt(256),BF_INDUSTRIAL_25:BigInt(512),BF_CODE_39_EXTENDED:BigInt(1024),BF_GS1_DATABAR_OMNIDIRECTIONAL:BigInt(2048),BF_GS1_DATABAR_TRUNCATED:BigInt(4096),BF_GS1_DATABAR_STACKED:BigInt(8192),BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL:BigInt(16384),BF_GS1_DATABAR_EXPANDED:BigInt(32768),BF_GS1_DATABAR_EXPANDED_STACKED:BigInt(65536),BF_GS1_DATABAR_LIMITED:BigInt(131072),BF_PATCHCODE:BigInt(262144),BF_CODE_32:BigInt(16777216),BF_PDF417:BigInt(33554432),BF_QR_CODE:BigInt(67108864),BF_DATAMATRIX:BigInt(134217728),BF_AZTEC:BigInt(268435456),BF_MAXICODE:BigInt(536870912),BF_MICRO_QR:BigInt(1073741824),BF_MICRO_PDF417:BigInt(524288),BF_GS1_COMPOSITE:BigInt(2147483648),BF_MSI_CODE:BigInt(1048576),BF_CODE_11:BigInt(2097152),BF_TWO_DIGIT_ADD_ON:BigInt(4194304),BF_FIVE_DIGIT_ADD_ON:BigInt(8388608),BF_MATRIX_25:BigInt(68719476736),BF_POSTALCODE:BigInt(0x3f0000000000000),BF_NONSTANDARD_BARCODE:BigInt(4294967296),BF_USPSINTELLIGENTMAIL:BigInt(4503599627370496),BF_POSTNET:BigInt(9007199254740992),BF_PLANET:BigInt(0x40000000000000),BF_AUSTRALIANPOST:BigInt(0x80000000000000),BF_RM4SCC:BigInt(72057594037927940),BF_KIX:BigInt(0x200000000000000),BF_DOTCODE:BigInt(8589934592),BF_PHARMACODE_ONE_TRACK:BigInt(17179869184),BF_PHARMACODE_TWO_TRACK:BigInt(34359738368),BF_PHARMACODE:BigInt(51539607552)};var C,S,N,L;!function(_){_[_.EBRT_STANDARD_RESULT=0]="EBRT_STANDARD_RESULT",_[_.EBRT_CANDIDATE_RESULT=1]="EBRT_CANDIDATE_RESULT",_[_.EBRT_PARTIAL_RESULT=2]="EBRT_PARTIAL_RESULT"}(C||(C={})),function(_){_[_.QRECL_ERROR_CORRECTION_H=0]="QRECL_ERROR_CORRECTION_H",_[_.QRECL_ERROR_CORRECTION_L=1]="QRECL_ERROR_CORRECTION_L",_[_.QRECL_ERROR_CORRECTION_M=2]="QRECL_ERROR_CORRECTION_M",_[_.QRECL_ERROR_CORRECTION_Q=3]="QRECL_ERROR_CORRECTION_Q"}(S||(S={})),function(_){_[_.LM_AUTO=1]="LM_AUTO",_[_.LM_CONNECTED_BLOCKS=2]="LM_CONNECTED_BLOCKS",_[_.LM_STATISTICS=4]="LM_STATISTICS",_[_.LM_LINES=8]="LM_LINES",_[_.LM_SCAN_DIRECTLY=16]="LM_SCAN_DIRECTLY",_[_.LM_STATISTICS_MARKS=32]="LM_STATISTICS_MARKS",_[_.LM_STATISTICS_POSTAL_CODE=64]="LM_STATISTICS_POSTAL_CODE",_[_.LM_CENTRE=128]="LM_CENTRE",_[_.LM_ONED_FAST_SCAN=256]="LM_ONED_FAST_SCAN",_[_.LM_REV=-2147483648]="LM_REV",_[_.LM_SKIP=0]="LM_SKIP"}(N||(N={})),function(_){_[_.DM_DIRECT_BINARIZATION=1]="DM_DIRECT_BINARIZATION",_[_.DM_THRESHOLD_BINARIZATION=2]="DM_THRESHOLD_BINARIZATION",_[_.DM_GRAY_EQUALIZATION=4]="DM_GRAY_EQUALIZATION",_[_.DM_SMOOTHING=8]="DM_SMOOTHING",_[_.DM_MORPHING=16]="DM_MORPHING",_[_.DM_DEEP_ANALYSIS=32]="DM_DEEP_ANALYSIS",_[_.DM_SHARPENING=64]="DM_SHARPENING",_[_.DM_BASED_ON_LOC_BIN=128]="DM_BASED_ON_LOC_BIN",_[_.DM_SHARPENING_SMOOTHING=256]="DM_SHARPENING_SMOOTHING",_[_.DM_REV=-2147483648]="DM_REV",_[_.DM_SKIP=0]="DM_SKIP"}(L||(L={}));export{O as BarcodeReaderModule,e as EnumBarcodeFormat,L as EnumDeblurMode,C as EnumExtendedBarcodeResultType,N as EnumLocalizationMode,S as EnumQRCodeErrorCorrectionLevel};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Dynamsoft JavaScript Library
|
|
3
|
+
* @product Dynamsoft Barcode Reader JS Edition
|
|
4
|
+
* @website http://www.dynamsoft.com
|
|
5
|
+
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
|
+
* @author Dynamsoft
|
|
7
|
+
* @version 10.4.31
|
|
8
|
+
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
|
+
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
|
+
*/
|
|
11
|
+
!function(_,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("dynamsoft-core")):"function"==typeof define&&define.amd?define(["exports","dynamsoft-core"],e):e(((_="undefined"!=typeof globalThis?globalThis:_||self).Dynamsoft=_.Dynamsoft||{},_.Dynamsoft.DBR={}),_.Dynamsoft.Core)}(this,(function(_,e){"use strict";const n="undefined"==typeof self,t="function"==typeof importScripts,I=(()=>{if(!t){if(!n&&document.currentScript){let _=document.currentScript.src,e=_.indexOf("?");if(-1!=e)_=_.substring(0,e);else{let e=_.indexOf("#");-1!=e&&(_=_.substring(0,e))}return _.substring(0,_.lastIndexOf("/")+1)}return"./"}})(),E=_=>{if(null==_&&(_="./"),n||t);else{let e=document.createElement("a");e.href=_,_=e.href}return _.endsWith("/")||(_+="/"),_};e.CoreModule.engineResourcePaths.dbr={version:"10.4.31",path:I,isInternal:!0},e.workerAutoResources.dbr={js:!1,wasm:!0,deps:["license","dip"]},e.mapPackageRegister.dbr={};const R="1.4.21";"string"!=typeof e.CoreModule.engineResourcePaths.std&&e.compareVersion(e.CoreModule.engineResourcePaths.std.version,R)<0&&(e.CoreModule.engineResourcePaths.std={version:R,path:E(I+`../../dynamsoft-capture-vision-std@${R}/dist/`),isInternal:!0});const i="2.4.31";(!e.CoreModule.engineResourcePaths.dip||"string"!=typeof e.CoreModule.engineResourcePaths.dip&&e.compareVersion(e.CoreModule.engineResourcePaths.dip.version,i)<0)&&(e.CoreModule.engineResourcePaths.dip={version:i,path:E(I+`../../dynamsoft-image-processing@${i}/dist/`),isInternal:!0});const B={BF_NULL:BigInt(0),BF_ALL:BigInt("0xFFFFFFFEFFFFFFFF"),BF_DEFAULT:BigInt(4265345023),BF_ONED:BigInt(3147775),BF_GS1_DATABAR:BigInt(260096),BF_CODE_39:BigInt(1),BF_CODE_128:BigInt(2),BF_CODE_93:BigInt(4),BF_CODABAR:BigInt(8),BF_ITF:BigInt(16),BF_EAN_13:BigInt(32),BF_EAN_8:BigInt(64),BF_UPC_A:BigInt(128),BF_UPC_E:BigInt(256),BF_INDUSTRIAL_25:BigInt(512),BF_CODE_39_EXTENDED:BigInt(1024),BF_GS1_DATABAR_OMNIDIRECTIONAL:BigInt(2048),BF_GS1_DATABAR_TRUNCATED:BigInt(4096),BF_GS1_DATABAR_STACKED:BigInt(8192),BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL:BigInt(16384),BF_GS1_DATABAR_EXPANDED:BigInt(32768),BF_GS1_DATABAR_EXPANDED_STACKED:BigInt(65536),BF_GS1_DATABAR_LIMITED:BigInt(131072),BF_PATCHCODE:BigInt(262144),BF_CODE_32:BigInt(16777216),BF_PDF417:BigInt(33554432),BF_QR_CODE:BigInt(67108864),BF_DATAMATRIX:BigInt(134217728),BF_AZTEC:BigInt(268435456),BF_MAXICODE:BigInt(536870912),BF_MICRO_QR:BigInt(1073741824),BF_MICRO_PDF417:BigInt(524288),BF_GS1_COMPOSITE:BigInt(2147483648),BF_MSI_CODE:BigInt(1048576),BF_CODE_11:BigInt(2097152),BF_TWO_DIGIT_ADD_ON:BigInt(4194304),BF_FIVE_DIGIT_ADD_ON:BigInt(8388608),BF_MATRIX_25:BigInt(68719476736),BF_POSTALCODE:BigInt(0x3f0000000000000),BF_NONSTANDARD_BARCODE:BigInt(4294967296),BF_USPSINTELLIGENTMAIL:BigInt(4503599627370496),BF_POSTNET:BigInt(9007199254740992),BF_PLANET:BigInt(0x40000000000000),BF_AUSTRALIANPOST:BigInt(0x80000000000000),BF_RM4SCC:BigInt(72057594037927940),BF_KIX:BigInt(0x200000000000000),BF_DOTCODE:BigInt(8589934592),BF_PHARMACODE_ONE_TRACK:BigInt(17179869184),BF_PHARMACODE_TWO_TRACK:BigInt(34359738368),BF_PHARMACODE:BigInt(51539607552)};var o,A,T,r;_.EnumExtendedBarcodeResultType=void 0,(o=_.EnumExtendedBarcodeResultType||(_.EnumExtendedBarcodeResultType={}))[o.EBRT_STANDARD_RESULT=0]="EBRT_STANDARD_RESULT",o[o.EBRT_CANDIDATE_RESULT=1]="EBRT_CANDIDATE_RESULT",o[o.EBRT_PARTIAL_RESULT=2]="EBRT_PARTIAL_RESULT",_.EnumQRCodeErrorCorrectionLevel=void 0,(A=_.EnumQRCodeErrorCorrectionLevel||(_.EnumQRCodeErrorCorrectionLevel={}))[A.QRECL_ERROR_CORRECTION_H=0]="QRECL_ERROR_CORRECTION_H",A[A.QRECL_ERROR_CORRECTION_L=1]="QRECL_ERROR_CORRECTION_L",A[A.QRECL_ERROR_CORRECTION_M=2]="QRECL_ERROR_CORRECTION_M",A[A.QRECL_ERROR_CORRECTION_Q=3]="QRECL_ERROR_CORRECTION_Q",_.EnumLocalizationMode=void 0,(T=_.EnumLocalizationMode||(_.EnumLocalizationMode={}))[T.LM_AUTO=1]="LM_AUTO",T[T.LM_CONNECTED_BLOCKS=2]="LM_CONNECTED_BLOCKS",T[T.LM_STATISTICS=4]="LM_STATISTICS",T[T.LM_LINES=8]="LM_LINES",T[T.LM_SCAN_DIRECTLY=16]="LM_SCAN_DIRECTLY",T[T.LM_STATISTICS_MARKS=32]="LM_STATISTICS_MARKS",T[T.LM_STATISTICS_POSTAL_CODE=64]="LM_STATISTICS_POSTAL_CODE",T[T.LM_CENTRE=128]="LM_CENTRE",T[T.LM_ONED_FAST_SCAN=256]="LM_ONED_FAST_SCAN",T[T.LM_REV=-2147483648]="LM_REV",T[T.LM_SKIP=0]="LM_SKIP",_.EnumDeblurMode=void 0,(r=_.EnumDeblurMode||(_.EnumDeblurMode={}))[r.DM_DIRECT_BINARIZATION=1]="DM_DIRECT_BINARIZATION",r[r.DM_THRESHOLD_BINARIZATION=2]="DM_THRESHOLD_BINARIZATION",r[r.DM_GRAY_EQUALIZATION=4]="DM_GRAY_EQUALIZATION",r[r.DM_SMOOTHING=8]="DM_SMOOTHING",r[r.DM_MORPHING=16]="DM_MORPHING",r[r.DM_DEEP_ANALYSIS=32]="DM_DEEP_ANALYSIS",r[r.DM_SHARPENING=64]="DM_SHARPENING",r[r.DM_BASED_ON_LOC_BIN=128]="DM_BASED_ON_LOC_BIN",r[r.DM_SHARPENING_SMOOTHING=256]="DM_SHARPENING_SMOOTHING",r[r.DM_REV=-2147483648]="DM_REV",r[r.DM_SKIP=0]="DM_SKIP",_.BarcodeReaderModule=class{static getVersion(){const _=e.innerVersions.dbr&&e.innerVersions.dbr.wasm,n=e.innerVersions.dbr&&e.innerVersions.dbr.worker;return`10.4.31(Worker: ${n||"Not Loaded"}, Wasm: ${_||"Not Loaded"})`}},_.EnumBarcodeFormat=B}));
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Dynamsoft JavaScript Library
|
|
3
|
+
* @product Dynamsoft Barcode Reader JS Edition
|
|
4
|
+
* @website http://www.dynamsoft.com
|
|
5
|
+
* @copyright Copyright 2024, Dynamsoft Corporation
|
|
6
|
+
* @author Dynamsoft
|
|
7
|
+
* @version 10.4.31
|
|
8
|
+
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
|
+
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
|
+
*/
|
|
11
|
+
import{CoreModule as _,workerAutoResources as I,mapPackageRegister as B,compareVersion as R,innerVersions as n}from"dynamsoft-core";const t="undefined"==typeof self,A="function"==typeof importScripts,E=(()=>{if(!A){if(!t&&document.currentScript){let _=document.currentScript.src,I=_.indexOf("?");if(-1!=I)_=_.substring(0,I);else{let I=_.indexOf("#");-1!=I&&(_=_.substring(0,I))}return _.substring(0,_.lastIndexOf("/")+1)}return"./"}})(),T=_=>{if(null==_&&(_="./"),t||A);else{let I=document.createElement("a");I.href=_,_=I.href}return _.endsWith("/")||(_+="/"),_};_.engineResourcePaths.dbr={version:"10.4.31",path:E,isInternal:!0},I.dbr={js:!1,wasm:!0,deps:["license","dip"]},B.dbr={};const i="1.4.21";"string"!=typeof _.engineResourcePaths.std&&R(_.engineResourcePaths.std.version,i)<0&&(_.engineResourcePaths.std={version:i,path:T(E+`../../dynamsoft-capture-vision-std@${i}/dist/`),isInternal:!0});const D="2.4.31";(!_.engineResourcePaths.dip||"string"!=typeof _.engineResourcePaths.dip&&R(_.engineResourcePaths.dip.version,D)<0)&&(_.engineResourcePaths.dip={version:D,path:T(E+`../../dynamsoft-image-processing@${D}/dist/`),isInternal:!0});class O{static getVersion(){const _=n.dbr&&n.dbr.wasm,I=n.dbr&&n.dbr.worker;return`10.4.31(Worker: ${I||"Not Loaded"}, Wasm: ${_||"Not Loaded"})`}}const e={BF_NULL:BigInt(0),BF_ALL:BigInt("0xFFFFFFFEFFFFFFFF"),BF_DEFAULT:BigInt(4265345023),BF_ONED:BigInt(3147775),BF_GS1_DATABAR:BigInt(260096),BF_CODE_39:BigInt(1),BF_CODE_128:BigInt(2),BF_CODE_93:BigInt(4),BF_CODABAR:BigInt(8),BF_ITF:BigInt(16),BF_EAN_13:BigInt(32),BF_EAN_8:BigInt(64),BF_UPC_A:BigInt(128),BF_UPC_E:BigInt(256),BF_INDUSTRIAL_25:BigInt(512),BF_CODE_39_EXTENDED:BigInt(1024),BF_GS1_DATABAR_OMNIDIRECTIONAL:BigInt(2048),BF_GS1_DATABAR_TRUNCATED:BigInt(4096),BF_GS1_DATABAR_STACKED:BigInt(8192),BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL:BigInt(16384),BF_GS1_DATABAR_EXPANDED:BigInt(32768),BF_GS1_DATABAR_EXPANDED_STACKED:BigInt(65536),BF_GS1_DATABAR_LIMITED:BigInt(131072),BF_PATCHCODE:BigInt(262144),BF_CODE_32:BigInt(16777216),BF_PDF417:BigInt(33554432),BF_QR_CODE:BigInt(67108864),BF_DATAMATRIX:BigInt(134217728),BF_AZTEC:BigInt(268435456),BF_MAXICODE:BigInt(536870912),BF_MICRO_QR:BigInt(1073741824),BF_MICRO_PDF417:BigInt(524288),BF_GS1_COMPOSITE:BigInt(2147483648),BF_MSI_CODE:BigInt(1048576),BF_CODE_11:BigInt(2097152),BF_TWO_DIGIT_ADD_ON:BigInt(4194304),BF_FIVE_DIGIT_ADD_ON:BigInt(8388608),BF_MATRIX_25:BigInt(68719476736),BF_POSTALCODE:BigInt(0x3f0000000000000),BF_NONSTANDARD_BARCODE:BigInt(4294967296),BF_USPSINTELLIGENTMAIL:BigInt(4503599627370496),BF_POSTNET:BigInt(9007199254740992),BF_PLANET:BigInt(0x40000000000000),BF_AUSTRALIANPOST:BigInt(0x80000000000000),BF_RM4SCC:BigInt(72057594037927940),BF_KIX:BigInt(0x200000000000000),BF_DOTCODE:BigInt(8589934592),BF_PHARMACODE_ONE_TRACK:BigInt(17179869184),BF_PHARMACODE_TWO_TRACK:BigInt(34359738368),BF_PHARMACODE:BigInt(51539607552)};var C,S,N,L;!function(_){_[_.EBRT_STANDARD_RESULT=0]="EBRT_STANDARD_RESULT",_[_.EBRT_CANDIDATE_RESULT=1]="EBRT_CANDIDATE_RESULT",_[_.EBRT_PARTIAL_RESULT=2]="EBRT_PARTIAL_RESULT"}(C||(C={})),function(_){_[_.QRECL_ERROR_CORRECTION_H=0]="QRECL_ERROR_CORRECTION_H",_[_.QRECL_ERROR_CORRECTION_L=1]="QRECL_ERROR_CORRECTION_L",_[_.QRECL_ERROR_CORRECTION_M=2]="QRECL_ERROR_CORRECTION_M",_[_.QRECL_ERROR_CORRECTION_Q=3]="QRECL_ERROR_CORRECTION_Q"}(S||(S={})),function(_){_[_.LM_AUTO=1]="LM_AUTO",_[_.LM_CONNECTED_BLOCKS=2]="LM_CONNECTED_BLOCKS",_[_.LM_STATISTICS=4]="LM_STATISTICS",_[_.LM_LINES=8]="LM_LINES",_[_.LM_SCAN_DIRECTLY=16]="LM_SCAN_DIRECTLY",_[_.LM_STATISTICS_MARKS=32]="LM_STATISTICS_MARKS",_[_.LM_STATISTICS_POSTAL_CODE=64]="LM_STATISTICS_POSTAL_CODE",_[_.LM_CENTRE=128]="LM_CENTRE",_[_.LM_ONED_FAST_SCAN=256]="LM_ONED_FAST_SCAN",_[_.LM_REV=-2147483648]="LM_REV",_[_.LM_SKIP=0]="LM_SKIP"}(N||(N={})),function(_){_[_.DM_DIRECT_BINARIZATION=1]="DM_DIRECT_BINARIZATION",_[_.DM_THRESHOLD_BINARIZATION=2]="DM_THRESHOLD_BINARIZATION",_[_.DM_GRAY_EQUALIZATION=4]="DM_GRAY_EQUALIZATION",_[_.DM_SMOOTHING=8]="DM_SMOOTHING",_[_.DM_MORPHING=16]="DM_MORPHING",_[_.DM_DEEP_ANALYSIS=32]="DM_DEEP_ANALYSIS",_[_.DM_SHARPENING=64]="DM_SHARPENING",_[_.DM_BASED_ON_LOC_BIN=128]="DM_BASED_ON_LOC_BIN",_[_.DM_SHARPENING_SMOOTHING=256]="DM_SHARPENING_SMOOTHING",_[_.DM_REV=-2147483648]="DM_REV",_[_.DM_SKIP=0]="DM_SKIP"}(L||(L={}));export{O as BarcodeReaderModule,e as EnumBarcodeFormat,L as EnumDeblurMode,C as EnumExtendedBarcodeResultType,N as EnumLocalizationMode,S as EnumQRCodeErrorCorrectionLevel};
|