scanbot-web-sdk 8.0.2-beta.1 → 8.1.0-beta.1
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/@types/barcode-scanner-view.d.ts +0 -1
- package/@types/core/bridge/worker-bridge.d.ts +0 -16
- package/@types/core/compiled/BarcodeConfigurationTypes.d.ts +146 -47
- package/@types/core/compiled/BarcodeDocumentModel.d.ts +939 -85
- package/@types/core/compiled/BarcodeTypes.d.ts +35 -0
- package/@types/core/compiled/CheckDocumentModel.d.ts +78 -11
- package/@types/core/compiled/CommonFieldType.d.ts +7 -1
- package/@types/core/compiled/CreditCardDocumentModel.d.ts +8 -2
- package/@types/core/compiled/DocumentQualityAnalyzerTypes.d.ts +43 -24
- package/@types/core/compiled/DocumentScannerTypes.d.ts +19 -19
- package/@types/core/compiled/DocumentsModel.d.ts +579 -42
- package/@types/core/compiled/MrzTypes.d.ts +9 -0
- package/@types/core/compiled/ParametricFilters.d.ts +0 -35
- package/@types/core/compiled/TextPatternScannerTypes.d.ts +32 -4
- package/@types/core/compiled/VinScannerTypes.d.ts +5 -0
- package/@types/model/configuration/barcode-scanner-view-configuration.d.ts +0 -1
- package/@types/scanbot-sdk.d.ts +0 -8
- package/@types/service/pdf-generator.d.ts +2 -1
- package/@types/service/storage/indexed-db/sb-indexed-db.d.ts +5 -0
- package/@types/ui2/barcode/controllers/multiple-scanning-mode-controller.d.ts +4 -1
- package/@types/ui2/barcode/controllers/single-scanning-mode-controller.d.ts +4 -1
- package/@types/ui2/barcode/views/barcode-scanner.d.ts +2 -1
- package/@types/ui2/barcode/views/drawer/barcode-result-drawer.d.ts +2 -0
- package/@types/ui2/barcode/views/drawer/barcode-result-sidebar.d.ts +2 -0
- package/@types/ui2/configuration/BarcodeConfigurationTypes.d.ts +1 -1
- package/@types/ui2/configuration/BarcodeScannerTypes.d.ts +2 -2
- package/@types/ui2/configuration/barcode/BarcodeScannerScreenConfiguration.d.ts +5 -3
- package/@types/ui2/configuration/barcode/BarcodeTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/check/CheckScannerScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/common/SelectCameraMenu.d.ts +63 -0
- package/@types/ui2/configuration/common/TopBarConfiguration.d.ts +6 -0
- package/@types/ui2/configuration/credit_card/CreditCardScannerScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/document/CameraScreenConfiguration.d.ts +1 -60
- package/@types/ui2/configuration/document/DocumentScannerTextLocalization.d.ts +20 -15
- package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractorScreenConfiguration.d.ts +4 -4
- package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractorScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/mrz/MRZScannerScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/text_pattern/TextPatternScannerScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration/vin/VINScannerScreenTextLocalization.d.ts +15 -0
- package/@types/ui2/configuration.d.ts +1 -1
- package/@types/ui2/data-scanner/views/mrz-scanner-box.d.ts +4 -3
- package/@types/ui2/document/views/camera-screen/camera-select-dropdown.d.ts +2 -2
- package/@types/ui2/document/views/camera-screen/top-bar.d.ts +18 -4
- package/@types/ui2/document/views/camera-screen/use-document-scanner-view.d.ts +1 -0
- package/@types/ui2/document/views/common/common-top-bar.d.ts +1 -1
- package/@types/utils/assets/camera-localization.d.ts +44 -0
- package/@types/worker/worker-bridge.d.ts +0 -16
- package/Libraries.txt +64 -34
- package/bundle/ScanbotSDK.min.js +8 -8
- package/bundle/ScanbotSDK.ui2.min.js +110 -110
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/barcode-scanner/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/complete/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/complete/ScanbotSDK.Core.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd-threads.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm-simd.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Asm.wasm +0 -0
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd-threads.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core-simd.js +1 -1
- package/bundle/bin/document-scanner/ScanbotSDK.Core.js +1 -1
- package/package.json +1 -1
- package/@types/ui2/configuration/barcode/BarcodeScannerConfiguration.d.ts +0 -109
- package/@types/utils/fps-limiter.d.ts +0 -6
- /package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractionProgressConfiguration.d.ts +0 -0
- /package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractorIntroScreenConfiguration.d.ts +0 -0
- /package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractorUIResult.d.ts +0 -0
- /package/@types/ui2/configuration/{document_data_extractor → document_data}/DocumentDataExtractorUserGuidance.d.ts +0 -0
|
@@ -21,7 +21,6 @@ export default class BarcodeScannerView extends FinderScannerView<BarcodeScanner
|
|
|
21
21
|
barcodeScannerHandle: BarcodeScanner | null;
|
|
22
22
|
readonly barcodes: BarcodeItem[];
|
|
23
23
|
private detectionRunning;
|
|
24
|
-
private fpsLimiter;
|
|
25
24
|
constructor(props: BarcodeScannerProps);
|
|
26
25
|
get configuration(): BarcodeScannerViewConfiguration;
|
|
27
26
|
get enabled(): boolean;
|
|
@@ -73,10 +73,6 @@ export declare class WorkerBridge {
|
|
|
73
73
|
} & {
|
|
74
74
|
readonly _type: "CustomBinarizationFilter";
|
|
75
75
|
}) | ({
|
|
76
|
-
radius?: number;
|
|
77
|
-
borderWidthFraction?: number;
|
|
78
|
-
blackOutliersFraction?: number;
|
|
79
|
-
whiteOutliersFraction?: number;
|
|
80
76
|
contrastEnhancement?: number;
|
|
81
77
|
colorEnhancement?: number;
|
|
82
78
|
paperWhitening?: number;
|
|
@@ -145,10 +141,6 @@ export declare class WorkerBridge {
|
|
|
145
141
|
} & {
|
|
146
142
|
readonly _type: "CustomBinarizationFilter";
|
|
147
143
|
}) | ({
|
|
148
|
-
radius?: number;
|
|
149
|
-
borderWidthFraction?: number;
|
|
150
|
-
blackOutliersFraction?: number;
|
|
151
|
-
whiteOutliersFraction?: number;
|
|
152
144
|
contrastEnhancement?: number;
|
|
153
145
|
colorEnhancement?: number;
|
|
154
146
|
paperWhitening?: number;
|
|
@@ -232,10 +224,6 @@ export declare class WorkerBridge {
|
|
|
232
224
|
} & {
|
|
233
225
|
readonly _type: "CustomBinarizationFilter";
|
|
234
226
|
}) | ({
|
|
235
|
-
radius?: number;
|
|
236
|
-
borderWidthFraction?: number;
|
|
237
|
-
blackOutliersFraction?: number;
|
|
238
|
-
whiteOutliersFraction?: number;
|
|
239
227
|
contrastEnhancement?: number;
|
|
240
228
|
colorEnhancement?: number;
|
|
241
229
|
paperWhitening?: number;
|
|
@@ -304,10 +292,6 @@ export declare class WorkerBridge {
|
|
|
304
292
|
} & {
|
|
305
293
|
readonly _type: "CustomBinarizationFilter";
|
|
306
294
|
}) | ({
|
|
307
|
-
radius?: number;
|
|
308
|
-
borderWidthFraction?: number;
|
|
309
|
-
blackOutliersFraction?: number;
|
|
310
|
-
whiteOutliersFraction?: number;
|
|
311
295
|
contrastEnhancement?: number;
|
|
312
296
|
colorEnhancement?: number;
|
|
313
297
|
paperWhitening?: number;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { DeepPartial } from "./utils";
|
|
2
2
|
import { BarcodeFormat } from "./BarcodeTypes";
|
|
3
3
|
import { Gs1Handling } from "./BarcodeTypes";
|
|
4
|
+
import { OneDConfirmationMode } from "./BarcodeTypes";
|
|
4
5
|
import { UpcEanExtensionBehavior } from "./BarcodeTypes";
|
|
5
6
|
/**
|
|
6
7
|
Base class for all barcode configurations.
|
|
@@ -50,10 +51,17 @@ export declare class BarcodeFormatCodabarConfiguration {
|
|
|
50
51
|
*/
|
|
51
52
|
minimum1DQuietZoneSize: number;
|
|
52
53
|
/**
|
|
53
|
-
|
|
54
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
55
|
+
Linear barcodes are more prone to false positives.
|
|
56
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
54
57
|
@defaultValue 1;
|
|
55
58
|
*/
|
|
56
|
-
|
|
59
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
60
|
+
/**
|
|
61
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
62
|
+
@defaultValue "THOROUGH";
|
|
63
|
+
*/
|
|
64
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
57
65
|
/**
|
|
58
66
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
59
67
|
@defaultValue 1;
|
|
@@ -65,7 +73,7 @@ export declare class BarcodeFormatCodabarConfiguration {
|
|
|
65
73
|
*/
|
|
66
74
|
maximumTextLength: number;
|
|
67
75
|
/**
|
|
68
|
-
If true, barcodes with heavy blur or
|
|
76
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
69
77
|
@defaultValue true;
|
|
70
78
|
*/
|
|
71
79
|
enableOneDBlurScanner: boolean;
|
|
@@ -107,10 +115,17 @@ export declare class BarcodeFormatCode11Configuration {
|
|
|
107
115
|
*/
|
|
108
116
|
minimum1DQuietZoneSize: number;
|
|
109
117
|
/**
|
|
110
|
-
|
|
118
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
119
|
+
Linear barcodes are more prone to false positives.
|
|
120
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
111
121
|
@defaultValue 1;
|
|
112
122
|
*/
|
|
113
|
-
|
|
123
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
124
|
+
/**
|
|
125
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
126
|
+
@defaultValue "THOROUGH";
|
|
127
|
+
*/
|
|
128
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
114
129
|
/**
|
|
115
130
|
If true, the check digits are stripped from the result.
|
|
116
131
|
@defaultValue false;
|
|
@@ -164,10 +179,17 @@ export declare class BarcodeFormatCode39Configuration {
|
|
|
164
179
|
*/
|
|
165
180
|
minimum1DQuietZoneSize: number;
|
|
166
181
|
/**
|
|
167
|
-
|
|
182
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
183
|
+
Linear barcodes are more prone to false positives.
|
|
184
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
168
185
|
@defaultValue 1;
|
|
169
186
|
*/
|
|
170
|
-
|
|
187
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
188
|
+
/**
|
|
189
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
190
|
+
@defaultValue "THOROUGH";
|
|
191
|
+
*/
|
|
192
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
171
193
|
/**
|
|
172
194
|
If true, the check digits are stripped from the result.
|
|
173
195
|
@defaultValue false;
|
|
@@ -184,7 +206,7 @@ export declare class BarcodeFormatCode39Configuration {
|
|
|
184
206
|
*/
|
|
185
207
|
maximumTextLength: number;
|
|
186
208
|
/**
|
|
187
|
-
If true, barcodes with heavy blur or
|
|
209
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
188
210
|
@defaultValue true;
|
|
189
211
|
*/
|
|
190
212
|
enableOneDBlurScanner: boolean;
|
|
@@ -251,10 +273,17 @@ export declare class BarcodeFormatCode93Configuration {
|
|
|
251
273
|
*/
|
|
252
274
|
minimum1DQuietZoneSize: number;
|
|
253
275
|
/**
|
|
254
|
-
|
|
276
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
277
|
+
Linear barcodes are more prone to false positives.
|
|
278
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
255
279
|
@defaultValue 1;
|
|
256
280
|
*/
|
|
257
|
-
|
|
281
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
282
|
+
/**
|
|
283
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
284
|
+
@defaultValue "THOROUGH";
|
|
285
|
+
*/
|
|
286
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
258
287
|
/**
|
|
259
288
|
If true, the check digits are stripped from the result.
|
|
260
289
|
@defaultValue false;
|
|
@@ -271,7 +300,7 @@ export declare class BarcodeFormatCode93Configuration {
|
|
|
271
300
|
*/
|
|
272
301
|
maximumTextLength: number;
|
|
273
302
|
/**
|
|
274
|
-
If true, barcodes with heavy blur or
|
|
303
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
275
304
|
@defaultValue true;
|
|
276
305
|
*/
|
|
277
306
|
enableOneDBlurScanner: boolean;
|
|
@@ -308,10 +337,17 @@ export declare class BarcodeFormatCode128Configuration {
|
|
|
308
337
|
*/
|
|
309
338
|
minimum1DQuietZoneSize: number;
|
|
310
339
|
/**
|
|
311
|
-
|
|
340
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
341
|
+
Linear barcodes are more prone to false positives.
|
|
342
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
312
343
|
@defaultValue 1;
|
|
313
344
|
*/
|
|
314
|
-
|
|
345
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
346
|
+
/**
|
|
347
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
348
|
+
@defaultValue "THOROUGH";
|
|
349
|
+
*/
|
|
350
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
315
351
|
/**
|
|
316
352
|
GS1 message handling options.
|
|
317
353
|
@defaultValue "PARSE";
|
|
@@ -328,7 +364,7 @@ export declare class BarcodeFormatCode128Configuration {
|
|
|
328
364
|
*/
|
|
329
365
|
maximumTextLength: number;
|
|
330
366
|
/**
|
|
331
|
-
If true, barcodes with heavy blur or
|
|
367
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
332
368
|
@defaultValue true;
|
|
333
369
|
*/
|
|
334
370
|
enableOneDBlurScanner: boolean;
|
|
@@ -369,10 +405,17 @@ export declare class BarcodeFormatCode2Of5Configuration {
|
|
|
369
405
|
*/
|
|
370
406
|
minimum1DQuietZoneSize: number;
|
|
371
407
|
/**
|
|
372
|
-
|
|
408
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
409
|
+
Linear barcodes are more prone to false positives.
|
|
410
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
373
411
|
@defaultValue 1;
|
|
374
412
|
*/
|
|
375
|
-
|
|
413
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
414
|
+
/**
|
|
415
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
416
|
+
@defaultValue "THOROUGH";
|
|
417
|
+
*/
|
|
418
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
376
419
|
/**
|
|
377
420
|
If true, the check digits are stripped from the result.
|
|
378
421
|
@defaultValue false;
|
|
@@ -441,10 +484,17 @@ export declare class BarcodeFormatDataBarConfiguration {
|
|
|
441
484
|
*/
|
|
442
485
|
minimum1DQuietZoneSize: number;
|
|
443
486
|
/**
|
|
444
|
-
|
|
487
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
488
|
+
Linear barcodes are more prone to false positives.
|
|
489
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
445
490
|
@defaultValue 1;
|
|
446
491
|
*/
|
|
447
|
-
|
|
492
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
493
|
+
/**
|
|
494
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
495
|
+
@defaultValue "THOROUGH";
|
|
496
|
+
*/
|
|
497
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
448
498
|
/**
|
|
449
499
|
GS1 message handling options.
|
|
450
500
|
@defaultValue "PARSE";
|
|
@@ -483,10 +533,17 @@ export declare class BarcodeFormatDataBarExpandedConfiguration {
|
|
|
483
533
|
*/
|
|
484
534
|
minimum1DQuietZoneSize: number;
|
|
485
535
|
/**
|
|
486
|
-
|
|
536
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
537
|
+
Linear barcodes are more prone to false positives.
|
|
538
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
487
539
|
@defaultValue 1;
|
|
488
540
|
*/
|
|
489
|
-
|
|
541
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
542
|
+
/**
|
|
543
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
544
|
+
@defaultValue "THOROUGH";
|
|
545
|
+
*/
|
|
546
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
490
547
|
/**
|
|
491
548
|
GS1 message handling options.
|
|
492
549
|
@defaultValue "PARSE";
|
|
@@ -525,10 +582,17 @@ export declare class BarcodeFormatDataBarLimitedConfiguration {
|
|
|
525
582
|
*/
|
|
526
583
|
minimum1DQuietZoneSize: number;
|
|
527
584
|
/**
|
|
528
|
-
|
|
585
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
586
|
+
Linear barcodes are more prone to false positives.
|
|
587
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
529
588
|
@defaultValue 1;
|
|
530
589
|
*/
|
|
531
|
-
|
|
590
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
591
|
+
/**
|
|
592
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
593
|
+
@defaultValue "THOROUGH";
|
|
594
|
+
*/
|
|
595
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
532
596
|
/**
|
|
533
597
|
GS1 message handling options.
|
|
534
598
|
@defaultValue "PARSE";
|
|
@@ -567,10 +631,17 @@ export declare class BarcodeFormatItfConfiguration {
|
|
|
567
631
|
*/
|
|
568
632
|
minimum1DQuietZoneSize: number;
|
|
569
633
|
/**
|
|
570
|
-
|
|
634
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
635
|
+
Linear barcodes are more prone to false positives.
|
|
636
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
571
637
|
@defaultValue 1;
|
|
572
638
|
*/
|
|
573
|
-
|
|
639
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
640
|
+
/**
|
|
641
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
642
|
+
@defaultValue "THOROUGH";
|
|
643
|
+
*/
|
|
644
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
574
645
|
/**
|
|
575
646
|
Minimum text length. Applied only to linear barcode formats that allow variable length.
|
|
576
647
|
@defaultValue 1;
|
|
@@ -582,7 +653,7 @@ export declare class BarcodeFormatItfConfiguration {
|
|
|
582
653
|
*/
|
|
583
654
|
maximumTextLength: number;
|
|
584
655
|
/**
|
|
585
|
-
If true, barcodes with heavy blur or
|
|
656
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
586
657
|
@defaultValue true;
|
|
587
658
|
*/
|
|
588
659
|
enableOneDBlurScanner: boolean;
|
|
@@ -662,10 +733,17 @@ export declare class BarcodeFormatMsiPlesseyConfiguration {
|
|
|
662
733
|
*/
|
|
663
734
|
minimum1DQuietZoneSize: number;
|
|
664
735
|
/**
|
|
665
|
-
|
|
736
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
737
|
+
Linear barcodes are more prone to false positives.
|
|
738
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
666
739
|
@defaultValue 1;
|
|
667
740
|
*/
|
|
668
|
-
|
|
741
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
742
|
+
/**
|
|
743
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
744
|
+
@defaultValue "THOROUGH";
|
|
745
|
+
*/
|
|
746
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
669
747
|
/**
|
|
670
748
|
If true, the check digits are stripped from the result.
|
|
671
749
|
@defaultValue false;
|
|
@@ -682,7 +760,7 @@ export declare class BarcodeFormatMsiPlesseyConfiguration {
|
|
|
682
760
|
*/
|
|
683
761
|
maximumTextLength: number;
|
|
684
762
|
/**
|
|
685
|
-
If true, barcodes with heavy blur or
|
|
763
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
686
764
|
@defaultValue true;
|
|
687
765
|
*/
|
|
688
766
|
enableOneDBlurScanner: boolean;
|
|
@@ -726,18 +804,26 @@ export declare class BarcodeFormatUpcEanConfiguration {
|
|
|
726
804
|
*/
|
|
727
805
|
minimum1DQuietZoneSize: number;
|
|
728
806
|
/**
|
|
729
|
-
|
|
807
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
808
|
+
Linear barcodes are more prone to false positives.
|
|
809
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
730
810
|
@defaultValue 1;
|
|
731
811
|
*/
|
|
732
|
-
|
|
812
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
813
|
+
/**
|
|
814
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
815
|
+
@defaultValue "THOROUGH";
|
|
816
|
+
*/
|
|
817
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
733
818
|
/**
|
|
734
819
|
If true, the check digits are stripped from the result.
|
|
735
820
|
@defaultValue false;
|
|
736
821
|
*/
|
|
737
822
|
stripCheckDigits: boolean;
|
|
738
823
|
/**
|
|
739
|
-
If true, barcodes with heavy blur or
|
|
740
|
-
|
|
824
|
+
If true, the scanner will try extra-hard to scan barcodes with heavy blur or that are otherwise damaged.
|
|
825
|
+
Enabling this option may increase the number of misreads (false positives).
|
|
826
|
+
@defaultValue false;
|
|
741
827
|
*/
|
|
742
828
|
enableOneDBlurScanner: boolean;
|
|
743
829
|
/**
|
|
@@ -766,11 +852,13 @@ export declare class BarcodeFormatUpcEanConfiguration {
|
|
|
766
852
|
*/
|
|
767
853
|
extensions: UpcEanExtensionBehavior;
|
|
768
854
|
/**
|
|
769
|
-
In case that
|
|
770
|
-
we require
|
|
855
|
+
In case that EAN/UPC barcodes both with and without extensions are allowed,
|
|
856
|
+
we require this number of frames on which the standalone EAN or UPC (i.e. without extension) has to be detected to be considered as valid (live scanning only).
|
|
857
|
+
EAN/UPC barcodes with extensions are more prone to slicing (incomplete decoding).
|
|
858
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability that an extension is accidentally missed.
|
|
771
859
|
@defaultValue 1;
|
|
772
860
|
*/
|
|
773
|
-
|
|
861
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResultExtensionless: number;
|
|
774
862
|
/** @param source {@displayType `DeepPartial<BarcodeFormatUpcEanConfiguration>`} */
|
|
775
863
|
constructor(source?: DeepPartial<BarcodeFormatUpcEanConfiguration>);
|
|
776
864
|
}
|
|
@@ -804,10 +892,17 @@ export declare class BarcodeFormatPharmaCodeConfiguration {
|
|
|
804
892
|
*/
|
|
805
893
|
minimum1DQuietZoneSize: number;
|
|
806
894
|
/**
|
|
807
|
-
|
|
895
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
896
|
+
Linear barcodes are more prone to false positives.
|
|
897
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
808
898
|
@defaultValue 1;
|
|
809
899
|
*/
|
|
810
|
-
|
|
900
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
901
|
+
/**
|
|
902
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
903
|
+
@defaultValue "THOROUGH";
|
|
904
|
+
*/
|
|
905
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
811
906
|
/**
|
|
812
907
|
Minimum value for PharmaCode. Very low values are likely to produce more false positives.
|
|
813
908
|
@defaultValue 16;
|
|
@@ -1333,10 +1428,12 @@ export declare class BarcodeFormatCommonOneDConfiguration {
|
|
|
1333
1428
|
*/
|
|
1334
1429
|
minimum1DQuietZoneSize: number;
|
|
1335
1430
|
/**
|
|
1336
|
-
|
|
1431
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
1432
|
+
Linear barcodes are more prone to false positives.
|
|
1433
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
1337
1434
|
@defaultValue 1;
|
|
1338
1435
|
*/
|
|
1339
|
-
|
|
1436
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
1340
1437
|
/**
|
|
1341
1438
|
If true, the check digits are stripped from the result.
|
|
1342
1439
|
@defaultValue false;
|
|
@@ -1358,10 +1455,10 @@ export declare class BarcodeFormatCommonOneDConfiguration {
|
|
|
1358
1455
|
*/
|
|
1359
1456
|
gs1Handling: Gs1Handling;
|
|
1360
1457
|
/**
|
|
1361
|
-
|
|
1362
|
-
@defaultValue
|
|
1458
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1459
|
+
@defaultValue "THOROUGH";
|
|
1363
1460
|
*/
|
|
1364
|
-
|
|
1461
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
1365
1462
|
/**
|
|
1366
1463
|
List of linear (1D) barcode formats to scan.
|
|
1367
1464
|
@defaultValue ["CODABAR", "CODE_11", "CODE_25", "CODE_32", "CODE_39", "CODE_93", "CODE_128", "DATABAR", "DATABAR_EXPANDED", "DATABAR_LIMITED", "EAN_8", "EAN_13", "IATA_2_OF_5", "INDUSTRIAL_2_OF_5", "ITF", "MSI_PLESSEY", "PHARMA_CODE", "PZN_7", "PZN_8", "UPC_A", "UPC_E"];
|
|
@@ -1487,10 +1584,12 @@ export declare class BarcodeFormatCommonConfiguration {
|
|
|
1487
1584
|
*/
|
|
1488
1585
|
minimum1DQuietZoneSize: number;
|
|
1489
1586
|
/**
|
|
1490
|
-
|
|
1587
|
+
Minimum number of frames on which a linear (1D) barcode has to be detected to be considered valid (live scanning only).
|
|
1588
|
+
Linear barcodes are more prone to false positives.
|
|
1589
|
+
Increasing the number of frames on which a barcode has to decode to the same content reduces the probability of a false positive.
|
|
1491
1590
|
@defaultValue 1;
|
|
1492
1591
|
*/
|
|
1493
|
-
|
|
1592
|
+
minimumNumberOfRequiredFramesWithEqualRecognitionResult: number;
|
|
1494
1593
|
/**
|
|
1495
1594
|
If true, the check digits are stripped from the result.
|
|
1496
1595
|
@defaultValue false;
|
|
@@ -1517,10 +1616,10 @@ export declare class BarcodeFormatCommonConfiguration {
|
|
|
1517
1616
|
*/
|
|
1518
1617
|
strictMode: boolean;
|
|
1519
1618
|
/**
|
|
1520
|
-
|
|
1521
|
-
@defaultValue
|
|
1619
|
+
Allows to select the balance between result accuracy (precision) and missed barcodes (recall) for linear barcodes.
|
|
1620
|
+
@defaultValue "THOROUGH";
|
|
1522
1621
|
*/
|
|
1523
|
-
|
|
1622
|
+
oneDConfirmationMode: OneDConfirmationMode;
|
|
1524
1623
|
/**
|
|
1525
1624
|
List of barcode formats to scan. By default, the most commonly used formats are enabled.
|
|
1526
1625
|
@defaultValue ["AZTEC", "CODABAR", "CODE_39", "CODE_93", "CODE_128", "DATA_MATRIX", "DATABAR", "DATABAR_EXPANDED", "DATABAR_LIMITED", "EAN_13", "EAN_8", "ITF", "PDF_417", "QR_CODE", "UPC_A", "UPC_E"];
|