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,663 @@
|
|
|
1
|
+
import { ImageTag, CapturedResultItem, Quadrilateral, DSImageData, OriginalImageResultItem, ObservationParameters, IntermediateResult, IntermediateResultExtraInfo, PredetectedRegionsUnit, ColourImageUnit, ScaledDownColourImageUnit, GrayscaleImageUnit, TransformedGrayscaleImageUnit, EnhancedGrayscaleImageUnit, BinaryImageUnit, TextureDetectionResultUnit, TextureRemovedGrayscaleImageUnit, TextureRemovedBinaryImageUnit, ContoursUnit, LineSegmentsUnit, TextZonesUnit, TextRemovedBinaryImageUnit, ShortLinesUnit, EnumCapturedResultItemType, EnumGrayscaleTransformationMode, EnumGrayscaleEnhancementMode, ImageSourceAdapter } from 'dynamsoft-core';
|
|
2
|
+
|
|
3
|
+
declare const EnumBarcodeFormat: {
|
|
4
|
+
/**No barcode format in BarcodeFormat*/
|
|
5
|
+
BF_NULL: bigint;
|
|
6
|
+
/**All supported formats in BarcodeFormat*/
|
|
7
|
+
BF_ALL: bigint;
|
|
8
|
+
/**Use the default barcode format settings*/
|
|
9
|
+
BF_DEFAULT: bigint;
|
|
10
|
+
/**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; */
|
|
11
|
+
BF_ONED: bigint;
|
|
12
|
+
/**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*/
|
|
13
|
+
BF_GS1_DATABAR: bigint;
|
|
14
|
+
/**Code 39 */
|
|
15
|
+
BF_CODE_39: bigint;
|
|
16
|
+
/**Code 128 */
|
|
17
|
+
BF_CODE_128: bigint;
|
|
18
|
+
/**Code 93 */
|
|
19
|
+
BF_CODE_93: bigint;
|
|
20
|
+
/**Codabar */
|
|
21
|
+
BF_CODABAR: bigint;
|
|
22
|
+
/**Interleaved 2 of 5 */
|
|
23
|
+
BF_ITF: bigint;
|
|
24
|
+
/**EAN-13 */
|
|
25
|
+
BF_EAN_13: bigint;
|
|
26
|
+
/**EAN-8 */
|
|
27
|
+
BF_EAN_8: bigint;
|
|
28
|
+
/**UPC-A */
|
|
29
|
+
BF_UPC_A: bigint;
|
|
30
|
+
/**UPC-E */
|
|
31
|
+
BF_UPC_E: bigint;
|
|
32
|
+
/**Industrial 2 of 5 */
|
|
33
|
+
BF_INDUSTRIAL_25: bigint;
|
|
34
|
+
/**CODE39 Extended */
|
|
35
|
+
BF_CODE_39_EXTENDED: bigint;
|
|
36
|
+
/**GS1 Databar Omnidirectional*/
|
|
37
|
+
BF_GS1_DATABAR_OMNIDIRECTIONAL: bigint;
|
|
38
|
+
/**GS1 Databar Truncated*/
|
|
39
|
+
BF_GS1_DATABAR_TRUNCATED: bigint;
|
|
40
|
+
/**GS1 Databar Stacked*/
|
|
41
|
+
BF_GS1_DATABAR_STACKED: bigint;
|
|
42
|
+
/**GS1 Databar Stacked Omnidirectional*/
|
|
43
|
+
BF_GS1_DATABAR_STACKED_OMNIDIRECTIONAL: bigint;
|
|
44
|
+
/**GS1 Databar Expanded*/
|
|
45
|
+
BF_GS1_DATABAR_EXPANDED: bigint;
|
|
46
|
+
/**GS1 Databar Expaned Stacked*/
|
|
47
|
+
BF_GS1_DATABAR_EXPANDED_STACKED: bigint;
|
|
48
|
+
/**GS1 Databar Limited*/
|
|
49
|
+
BF_GS1_DATABAR_LIMITED: bigint;
|
|
50
|
+
/**Patch code. */
|
|
51
|
+
BF_PATCHCODE: bigint;
|
|
52
|
+
/**PDF417 */
|
|
53
|
+
BF_CODE_32: bigint;
|
|
54
|
+
/**PDF417 */
|
|
55
|
+
BF_PDF417: bigint;
|
|
56
|
+
/**QRCode */
|
|
57
|
+
BF_QR_CODE: bigint;
|
|
58
|
+
/**DataMatrix */
|
|
59
|
+
BF_DATAMATRIX: bigint;
|
|
60
|
+
/**AZTEC */
|
|
61
|
+
BF_AZTEC: bigint;
|
|
62
|
+
/**MAXICODE */
|
|
63
|
+
BF_MAXICODE: bigint;
|
|
64
|
+
/**Micro QR Code*/
|
|
65
|
+
BF_MICRO_QR: bigint;
|
|
66
|
+
/**Micro PDF417*/
|
|
67
|
+
BF_MICRO_PDF417: bigint;
|
|
68
|
+
/**GS1 Composite Code*/
|
|
69
|
+
BF_GS1_COMPOSITE: bigint;
|
|
70
|
+
/**MSI Code*/
|
|
71
|
+
BF_MSI_CODE: bigint;
|
|
72
|
+
BF_CODE_11: bigint;
|
|
73
|
+
BF_TWO_DIGIT_ADD_ON: bigint;
|
|
74
|
+
BF_FIVE_DIGIT_ADD_ON: bigint;
|
|
75
|
+
BF_MATRIX_25: bigint;
|
|
76
|
+
/**Combined value of BF2_USPSINTELLIGENTMAIL, BF2_POSTNET, BF2_PLANET, BF2_AUSTRALIANPOST, BF2_RM4SCC.*/
|
|
77
|
+
BF_POSTALCODE: bigint;
|
|
78
|
+
/**Nonstandard barcode */
|
|
79
|
+
BF_NONSTANDARD_BARCODE: bigint;
|
|
80
|
+
/**USPS Intelligent Mail.*/
|
|
81
|
+
BF_USPSINTELLIGENTMAIL: bigint;
|
|
82
|
+
/**Postnet.*/
|
|
83
|
+
BF_POSTNET: bigint;
|
|
84
|
+
/**Planet.*/
|
|
85
|
+
BF_PLANET: bigint;
|
|
86
|
+
/**Australian Post.*/
|
|
87
|
+
BF_AUSTRALIANPOST: bigint;
|
|
88
|
+
/**Royal Mail 4-State Customer Barcode.*/
|
|
89
|
+
BF_RM4SCC: bigint;
|
|
90
|
+
/**KIX.*/
|
|
91
|
+
BF_KIX: bigint;
|
|
92
|
+
/**DotCode.*/
|
|
93
|
+
BF_DOTCODE: bigint;
|
|
94
|
+
/**_PHARMACODE_ONE_TRACK.*/
|
|
95
|
+
BF_PHARMACODE_ONE_TRACK: bigint;
|
|
96
|
+
/**PHARMACODE_TWO_TRACK.*/
|
|
97
|
+
BF_PHARMACODE_TWO_TRACK: bigint;
|
|
98
|
+
/**PHARMACODE.*/
|
|
99
|
+
BF_PHARMACODE: bigint;
|
|
100
|
+
};
|
|
101
|
+
type EnumBarcodeFormat = bigint;
|
|
102
|
+
interface BarcodeDetails {
|
|
103
|
+
}
|
|
104
|
+
interface BarcodeResultItem extends CapturedResultItem {
|
|
105
|
+
format: EnumBarcodeFormat;
|
|
106
|
+
formatString: string;
|
|
107
|
+
text: string;
|
|
108
|
+
bytes: Uint8Array;
|
|
109
|
+
location: Quadrilateral;
|
|
110
|
+
confidence: number;
|
|
111
|
+
angle: number;
|
|
112
|
+
moduleSize: number;
|
|
113
|
+
details: BarcodeDetails;
|
|
114
|
+
isMirrored: boolean;
|
|
115
|
+
isDPM: boolean;
|
|
116
|
+
}
|
|
117
|
+
interface CharacterResult {
|
|
118
|
+
characterH: string;
|
|
119
|
+
characterM: string;
|
|
120
|
+
characterL: string;
|
|
121
|
+
characterHConfidence: number;
|
|
122
|
+
characterMConfidence: number;
|
|
123
|
+
characterLConfidence: number;
|
|
124
|
+
location: Quadrilateral;
|
|
125
|
+
}
|
|
126
|
+
interface TextLineResultItem extends CapturedResultItem {
|
|
127
|
+
text: string;
|
|
128
|
+
location: Quadrilateral;
|
|
129
|
+
confidence: number;
|
|
130
|
+
/** The following are new as of 2023/09/13 */
|
|
131
|
+
characterResults: Array<CharacterResult>;
|
|
132
|
+
}
|
|
133
|
+
interface DetectedQuadResultItem extends CapturedResultItem {
|
|
134
|
+
location: Quadrilateral;
|
|
135
|
+
confidenceAsDocumentBoundary: number;
|
|
136
|
+
}
|
|
137
|
+
interface NormalizedImageResultItem extends CapturedResultItem {
|
|
138
|
+
imageData: DSImageData;
|
|
139
|
+
location: Quadrilateral;
|
|
140
|
+
toCanvas: () => HTMLCanvasElement;
|
|
141
|
+
toImage: (MIMEType: "image/png" | "image/jpeg") => HTMLImageElement;
|
|
142
|
+
toBlob: (MIMEType: "image/png" | "image/jpeg") => Promise<Blob>;
|
|
143
|
+
saveToFile: (name: string, download?: boolean) => Promise<File>;
|
|
144
|
+
}
|
|
145
|
+
declare enum EnumMappingStatus {
|
|
146
|
+
MS_NONE = 0,
|
|
147
|
+
MS_SUCCEEDED = 1,
|
|
148
|
+
MS_FAILED = 2
|
|
149
|
+
}
|
|
150
|
+
declare enum EnumValidationStatus {
|
|
151
|
+
VS_NONE = 0,
|
|
152
|
+
VS_SUCCEEDED = 1,
|
|
153
|
+
VS_FAILED = 2
|
|
154
|
+
}
|
|
155
|
+
interface ParsedResultItem extends CapturedResultItem {
|
|
156
|
+
codeType: string;
|
|
157
|
+
jsonString: string;
|
|
158
|
+
parsedFields: Array<{
|
|
159
|
+
FieldName: string;
|
|
160
|
+
Value: string;
|
|
161
|
+
}>;
|
|
162
|
+
getFieldValue(fieldName: string): string;
|
|
163
|
+
getFieldMappingStatus: (fieldName: string) => EnumMappingStatus;
|
|
164
|
+
getFieldValidationStatus: (fieldName: string) => EnumValidationStatus;
|
|
165
|
+
}
|
|
166
|
+
interface CapturedResult {
|
|
167
|
+
readonly errorCode: number;
|
|
168
|
+
readonly errorString: string;
|
|
169
|
+
readonly originalImageHashId: string;
|
|
170
|
+
readonly originalImageTag: ImageTag;
|
|
171
|
+
readonly items: Array<CapturedResultItem>;
|
|
172
|
+
readonly barcodeResultItems?: Array<BarcodeResultItem>;
|
|
173
|
+
readonly textLineResultItems?: Array<TextLineResultItem>;
|
|
174
|
+
readonly detectedQuadResultItems?: Array<DetectedQuadResultItem>;
|
|
175
|
+
readonly normalizedImageResultItems?: Array<NormalizedImageResultItem>;
|
|
176
|
+
readonly parsedResultItems?: Array<ParsedResultItem>;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
declare class CapturedResultReceiver {
|
|
180
|
+
/**
|
|
181
|
+
* Event triggered when a generic captured result is available, occurring each time an image finishes its processing.
|
|
182
|
+
* This event can be used for any result that does not fit into the specific categories of the other callback events.
|
|
183
|
+
* @param result The captured result, an instance of `CapturedResult`.
|
|
184
|
+
*/
|
|
185
|
+
onCapturedResultReceived?: (result: CapturedResult) => void;
|
|
186
|
+
/**
|
|
187
|
+
* Event triggered when the original image result is available.
|
|
188
|
+
* This event is used to handle the original image captured by an image source such as Dynamsoft Camera Enhancer.
|
|
189
|
+
* @param result The original image result, an instance of `OriginalImageResultItem`.
|
|
190
|
+
*/
|
|
191
|
+
onOriginalImageResultReceived?: (result: OriginalImageResultItem) => void;
|
|
192
|
+
[key: string]: any;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
interface BufferedCharacterItem {
|
|
196
|
+
character: string;
|
|
197
|
+
image: DSImageData;
|
|
198
|
+
features: Map<number, number>;
|
|
199
|
+
}
|
|
200
|
+
interface BufferedCharacterItemSet {
|
|
201
|
+
items: Array<BufferedCharacterItem>;
|
|
202
|
+
characterClusters: Array<CharacterCluster>;
|
|
203
|
+
}
|
|
204
|
+
interface CharacterCluster {
|
|
205
|
+
character: string;
|
|
206
|
+
mean: BufferedCharacterItem;
|
|
207
|
+
}
|
|
208
|
+
declare class BufferedItemsManager {
|
|
209
|
+
private _cvr;
|
|
210
|
+
constructor(cvr: any);
|
|
211
|
+
/**
|
|
212
|
+
* Gets the maximum number of buffered items.
|
|
213
|
+
* @returns Returns the maximum number of buffered items.
|
|
214
|
+
*/
|
|
215
|
+
getMaxBufferedItems(): Promise<number>;
|
|
216
|
+
/**
|
|
217
|
+
* Sets the maximum number of buffered items.
|
|
218
|
+
* @param count the maximum number of buffered items
|
|
219
|
+
*/
|
|
220
|
+
setMaxBufferedItems(count: number): Promise<void>;
|
|
221
|
+
/**
|
|
222
|
+
* Gets the buffered character items.
|
|
223
|
+
* @return the buffered character items
|
|
224
|
+
*/
|
|
225
|
+
getBufferedCharacterItemSet(): Promise<Array<BufferedCharacterItemSet>>;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
declare class IntermediateResultReceiver {
|
|
229
|
+
private _observedResultUnitTypes;
|
|
230
|
+
private _observedTaskMap;
|
|
231
|
+
private _parameters;
|
|
232
|
+
/**
|
|
233
|
+
* Gets the observed parameters of the intermediate result receiver. Allowing for configuration of intermediate result observation.
|
|
234
|
+
* @return The observed parameters, of type ObservationParameters. The default parameters are to observe all intermediate result unit types and all tasks.
|
|
235
|
+
*/
|
|
236
|
+
getObservationParameters(): ObservationParameters;
|
|
237
|
+
onTaskResultsReceived?: (result: IntermediateResult, info: IntermediateResultExtraInfo) => void;
|
|
238
|
+
onPredetectedRegionsReceived?: (result: PredetectedRegionsUnit, info: IntermediateResultExtraInfo) => void;
|
|
239
|
+
onColourImageUnitReceived?: (result: ColourImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
240
|
+
onScaledDownColourImageUnitReceived?: (result: ScaledDownColourImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
241
|
+
onGrayscaleImageUnitReceived?: (result: GrayscaleImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
242
|
+
onTransformedGrayscaleImageUnitReceived?: (result: TransformedGrayscaleImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
243
|
+
onEnhancedGrayscaleImageUnitReceived?: (result: EnhancedGrayscaleImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
244
|
+
onBinaryImageUnitReceived?: (result: BinaryImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
245
|
+
onTextureDetectionResultUnitReceived?: (result: TextureDetectionResultUnit, info: IntermediateResultExtraInfo) => void;
|
|
246
|
+
onTextureRemovedGrayscaleImageUnitReceived?: (result: TextureRemovedGrayscaleImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
247
|
+
onTextureRemovedBinaryImageUnitReceived?: (result: TextureRemovedBinaryImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
248
|
+
onContoursUnitReceived?: (result: ContoursUnit, info: IntermediateResultExtraInfo) => void;
|
|
249
|
+
onLineSegmentsUnitReceived?: (result: LineSegmentsUnit, info: IntermediateResultExtraInfo) => void;
|
|
250
|
+
onTextZonesUnitReceived?: (result: TextZonesUnit, info: IntermediateResultExtraInfo) => void;
|
|
251
|
+
onTextRemovedBinaryImageUnitReceived?: (result: TextRemovedBinaryImageUnit, info: IntermediateResultExtraInfo) => void;
|
|
252
|
+
onShortLinesUnitReceived?: (result: ShortLinesUnit, info: IntermediateResultExtraInfo) => void;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
declare class IntermediateResultManager {
|
|
256
|
+
private _cvr;
|
|
257
|
+
private _irrRegistryState;
|
|
258
|
+
_intermediateResultReceiverSet: Set<IntermediateResultReceiver>;
|
|
259
|
+
constructor(cvr: any);
|
|
260
|
+
/**
|
|
261
|
+
* Adds a `IntermediateResultReceiver` object as the receiver of intermediate results.
|
|
262
|
+
* @param receiver The receiver object, of type `IntermediateResultReceiver`.
|
|
263
|
+
*/
|
|
264
|
+
addResultReceiver(receiver: IntermediateResultReceiver): Promise<void>;
|
|
265
|
+
/**
|
|
266
|
+
* Removes the specified `IntermediateResultReceiver` object.
|
|
267
|
+
* @param receiver The receiver object, of type `IntermediateResultReceiver`.
|
|
268
|
+
*/
|
|
269
|
+
removeResultReceiver(receiver: IntermediateResultReceiver): Promise<void>;
|
|
270
|
+
/**
|
|
271
|
+
* Retrieves the original image data.
|
|
272
|
+
*
|
|
273
|
+
* @returns A promise that resolves when the operation has successfully completed. It provides the original image upon resolution.
|
|
274
|
+
*/
|
|
275
|
+
getOriginalImage(): DSImageData;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
declare enum EnumImageSourceState {
|
|
279
|
+
ISS_BUFFER_EMPTY = 0,
|
|
280
|
+
ISS_EXHAUSTED = 1
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
interface ImageSourceStateListener {
|
|
284
|
+
onImageSourceStateReceived?: (status: EnumImageSourceState) => void;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
interface SimplifiedBarcodeReaderSettings {
|
|
288
|
+
barcodeFormatIds: bigint;
|
|
289
|
+
expectedBarcodesCount: number;
|
|
290
|
+
grayscaleTransformationModes: Array<EnumGrayscaleTransformationMode>;
|
|
291
|
+
grayscaleEnhancementModes: Array<EnumGrayscaleEnhancementMode>;
|
|
292
|
+
localizationModes: Array<number>;
|
|
293
|
+
deblurModes: Array<number>;
|
|
294
|
+
minResultConfidence: number;
|
|
295
|
+
minBarcodeTextLength: number;
|
|
296
|
+
barcodeTextRegExPattern: string;
|
|
297
|
+
}
|
|
298
|
+
interface SimplifiedLabelRecognizerSettings {
|
|
299
|
+
characterModelName: string;
|
|
300
|
+
lineStringRegExPattern: string;
|
|
301
|
+
grayscaleTransformationModes: Array<EnumGrayscaleTransformationMode>;
|
|
302
|
+
grayscaleEnhancementModes: Array<EnumGrayscaleEnhancementMode>;
|
|
303
|
+
}
|
|
304
|
+
declare enum EnumImageColourMode {
|
|
305
|
+
/** Output image in color mode. */
|
|
306
|
+
ICM_COLOUR = 0,
|
|
307
|
+
/** Output image in grayscale mode. */
|
|
308
|
+
ICM_GRAYSCALE = 1,
|
|
309
|
+
/** Output image in binary mode. */
|
|
310
|
+
ICM_BINARY = 2
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* The `SimplifiedDocumentNormalizerSettings` interface defines simplified settings for document detection and normalization.
|
|
314
|
+
*/
|
|
315
|
+
interface SimplifiedDocumentNormalizerSettings {
|
|
316
|
+
/** Grayscale enhancement modes to apply for improving detection in challenging conditions. */
|
|
317
|
+
grayscaleEnhancementModes: Array<EnumGrayscaleEnhancementMode>;
|
|
318
|
+
/** Grayscale transformation modes to apply, enhancing detection capability. */
|
|
319
|
+
grayscaleTransformationModes: Array<EnumGrayscaleTransformationMode>;
|
|
320
|
+
/** Color mode of the anticipated normalized page */
|
|
321
|
+
colourMode: EnumImageColourMode;
|
|
322
|
+
/** Width and height of the anticipated normalized page. */
|
|
323
|
+
pageSize: [number, number];
|
|
324
|
+
/** Anticipated brightness level of the normalized image. */
|
|
325
|
+
brightness: number;
|
|
326
|
+
/** Anticipated contrast level of the normalized image. */
|
|
327
|
+
contrast: number;
|
|
328
|
+
/**
|
|
329
|
+
* Threshold for reducing the size of large images to speed up processing.
|
|
330
|
+
* If the size of the image's shorter edge exceeds this threshold, the image may be downscaled to decrease processing time. The standard setting is 2300.
|
|
331
|
+
*/
|
|
332
|
+
scaleDownThreshold: number;
|
|
333
|
+
/** The minimum ratio between the target document area and the total image area. Only those exceedingthis value will be output (measured in percentages).*/
|
|
334
|
+
minQuadrilateralAreaRatio: number;
|
|
335
|
+
/** The number of documents expected to be detected.*/
|
|
336
|
+
expectedDocumentsCount: number;
|
|
337
|
+
}
|
|
338
|
+
interface SimplifiedCaptureVisionSettings {
|
|
339
|
+
capturedResultItemTypes: EnumCapturedResultItemType;
|
|
340
|
+
roi: Quadrilateral;
|
|
341
|
+
roiMeasuredInPercentage: boolean;
|
|
342
|
+
timeout: number;
|
|
343
|
+
/**
|
|
344
|
+
* @brief Minimum time interval (in milliseconds) allowed between consecutive image captures.
|
|
345
|
+
*
|
|
346
|
+
* This property represents the minimum time interval (in milliseconds) that must
|
|
347
|
+
* elapse before the next image capture operation can be initiated.
|
|
348
|
+
* Setting a larger value for this property will introduce a delay between image
|
|
349
|
+
* captures, while setting a smaller value allows for more frequent captures. It
|
|
350
|
+
* can be used to reduce the computational frequency, which can effectively lower
|
|
351
|
+
* energy consumption.
|
|
352
|
+
*
|
|
353
|
+
* @note The actual time interval between captures may be longer than the specified
|
|
354
|
+
* minimum interval due to various factors, such as image processing time and
|
|
355
|
+
* hardware limitations.
|
|
356
|
+
*
|
|
357
|
+
*/
|
|
358
|
+
minImageCaptureInterval: number;
|
|
359
|
+
/**
|
|
360
|
+
* Specifies the basic settings for the barcode reader module. It is of type `SimplifiedBarcodeReaderSettings`.
|
|
361
|
+
*/
|
|
362
|
+
barcodeSettings: SimplifiedBarcodeReaderSettings;
|
|
363
|
+
/**
|
|
364
|
+
* Specifies the basic settings for the document normalizer module. It is of type `SimplifiedDocumentNormalizerSettings`.
|
|
365
|
+
*/
|
|
366
|
+
documentSettings: SimplifiedDocumentNormalizerSettings;
|
|
367
|
+
/**
|
|
368
|
+
* Specifies the basic settings for the label recognizer module. It is of type `SimplifiedLabelRecognizerSettings`.
|
|
369
|
+
*/
|
|
370
|
+
labelSettings: SimplifiedLabelRecognizerSettings;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
interface CapturedResultFilter {
|
|
374
|
+
onOriginalImageResultReceived?: (result: OriginalImageResultItem) => void;
|
|
375
|
+
[key: string]: any;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
declare class CaptureVisionRouter {
|
|
379
|
+
#private;
|
|
380
|
+
static _onLog: (message: string) => void;
|
|
381
|
+
static _defaultTemplate: string;
|
|
382
|
+
maxImageSideLength: number;
|
|
383
|
+
_instanceID: number;
|
|
384
|
+
private _dsImage;
|
|
385
|
+
private _loopReadVideoTimeoutId;
|
|
386
|
+
private _isPauseScan;
|
|
387
|
+
private _isOutputOriginalImage;
|
|
388
|
+
private _templateName;
|
|
389
|
+
private _isOpenDetectVerify;
|
|
390
|
+
private _isOpenNormalizeVerify;
|
|
391
|
+
private _isOpenBarcodeVerify;
|
|
392
|
+
private _isOpenLabelVerify;
|
|
393
|
+
private _minImageCaptureInterval;
|
|
394
|
+
private _averageProcessintTimeArray;
|
|
395
|
+
private _averageFetchImageTimeArray;
|
|
396
|
+
private _currentSettings;
|
|
397
|
+
private _averageTime;
|
|
398
|
+
/**
|
|
399
|
+
* Returns whether the `CaptureVisionRouter` instance has been disposed of.
|
|
400
|
+
*
|
|
401
|
+
* @returns Boolean indicating whether the `CaptureVisionRouter` instance has been disposed of.
|
|
402
|
+
*/
|
|
403
|
+
get disposed(): boolean;
|
|
404
|
+
/**
|
|
405
|
+
* Initializes a new instance of the `CaptureVisionRouter` class.
|
|
406
|
+
*
|
|
407
|
+
* @returns A promise that resolves with the initialized `CaptureVisionRouter` instance.
|
|
408
|
+
*/
|
|
409
|
+
static createInstance(): Promise<CaptureVisionRouter>;
|
|
410
|
+
private _singleFrameModeCallback;
|
|
411
|
+
private _singleFrameModeCallbackBind;
|
|
412
|
+
/**
|
|
413
|
+
* Sets up an image source to provide images for continuous processing.
|
|
414
|
+
* @param imageSource The image source which is compliant with the `ImageSourceAdapter` interface.
|
|
415
|
+
*/
|
|
416
|
+
setInput(imageSource: ImageSourceAdapter): void;
|
|
417
|
+
/**
|
|
418
|
+
* Returns the image source object.
|
|
419
|
+
*/
|
|
420
|
+
getInput(): ImageSourceAdapter;
|
|
421
|
+
/**
|
|
422
|
+
* Adds or removes listeners for image source state change.
|
|
423
|
+
*/
|
|
424
|
+
addImageSourceStateListener(listener: ImageSourceStateListener): void;
|
|
425
|
+
removeImageSourceStateListener(listener: ImageSourceStateListener): boolean;
|
|
426
|
+
/**
|
|
427
|
+
* Adds a `CapturedResultReceiver` object as the receiver of captured results.
|
|
428
|
+
* @param receiver The receiver object, of type `CapturedResultReceiver`.
|
|
429
|
+
*/
|
|
430
|
+
addResultReceiver(receiver: CapturedResultReceiver): void;
|
|
431
|
+
/**
|
|
432
|
+
* Removes the specified `CapturedResultReceiver` object.
|
|
433
|
+
* @param receiver The receiver object, of type `CapturedResultReceiver`.
|
|
434
|
+
*/
|
|
435
|
+
removeResultReceiver(receiver: CapturedResultReceiver): void;
|
|
436
|
+
private _setCrrRegistry;
|
|
437
|
+
/**
|
|
438
|
+
* Adds a `MultiFrameResultCrossFilter` object to filter non-essential results.
|
|
439
|
+
* @param filter The filter object, of type `MultiFrameResultCrossFilter`.
|
|
440
|
+
*
|
|
441
|
+
* @returns A promise that resolves when the operation has successfully completed. It does not provide any value upon resolution.
|
|
442
|
+
*/
|
|
443
|
+
addResultFilter(filter: CapturedResultFilter): Promise<void>;
|
|
444
|
+
/**
|
|
445
|
+
* Removes the specified `MultiFrameResultCrossFilter` object.
|
|
446
|
+
* @param filter The filter object, of type `MultiFrameResultCrossFilter`.
|
|
447
|
+
*
|
|
448
|
+
* @returns A promise that resolves when the operation has successfully completed. It does not provide any value upon resolution.
|
|
449
|
+
*/
|
|
450
|
+
removeResultFilter(filter: CapturedResultFilter): Promise<void>;
|
|
451
|
+
private _handleFilterUpdate;
|
|
452
|
+
/**
|
|
453
|
+
* Initiates a capturing process based on a specified template. This process is repeated for each image fetched from the source.
|
|
454
|
+
* @param templateName [Optional] Specifies a "CaptureVisionTemplate" to use.
|
|
455
|
+
*
|
|
456
|
+
* @returns A promise that resolves when the capturing process has successfully started. It does not provide any value upon resolution.
|
|
457
|
+
*/
|
|
458
|
+
startCapturing(templateName: string): Promise<void>;
|
|
459
|
+
/**
|
|
460
|
+
* Stops the capturing process.
|
|
461
|
+
*/
|
|
462
|
+
stopCapturing(): void;
|
|
463
|
+
containsTask(templateName: string): Promise<any>;
|
|
464
|
+
/**
|
|
465
|
+
* Video stream capture, recursive call, loop frame capture
|
|
466
|
+
*/
|
|
467
|
+
private _loopReadVideo;
|
|
468
|
+
private _reRunCurrnetFunc;
|
|
469
|
+
/**
|
|
470
|
+
* Processes a single image or a file containing a single image to derive important information.
|
|
471
|
+
* @param imageOrFile Specifies the image or file to be processed. The following data types are accepted: `Blob`, `HTMLImageElement`, `HTMLCanvasElement`, `HTMLVideoElement`, `DSImageData`, `string`.
|
|
472
|
+
* @param templateName [Optional] Specifies a "CaptureVisionTemplate" to use.
|
|
473
|
+
*
|
|
474
|
+
* @returns A promise that resolves with a `CapturedResult` object which contains the derived information from the image processed.
|
|
475
|
+
*/
|
|
476
|
+
capture(imageOrFile: Blob | string | DSImageData | HTMLImageElement | HTMLVideoElement | HTMLCanvasElement, templateName?: string): Promise<CapturedResult>;
|
|
477
|
+
private _captureDsimage;
|
|
478
|
+
private _captureUrl;
|
|
479
|
+
private _captureBase64;
|
|
480
|
+
private _captureBlob;
|
|
481
|
+
private _captureImage;
|
|
482
|
+
private _captureCanvas;
|
|
483
|
+
private _captureVideo;
|
|
484
|
+
private _captureInWorker;
|
|
485
|
+
/**
|
|
486
|
+
* Configures runtime settings using a provided JSON string, an object, or a URL pointing to an object, which contains settings for one or more `CaptureVisionTemplates`.
|
|
487
|
+
* @param settings A JSON string, an object, or a URL pointing to an object that contains settings for one or more `CaptureVisionTemplates`.
|
|
488
|
+
*
|
|
489
|
+
* @returns A promise that resolves when the operation has completed. It provides an object that describes the result.
|
|
490
|
+
*/
|
|
491
|
+
initSettings(settings: string | object): Promise<any>;
|
|
492
|
+
/**
|
|
493
|
+
* Returns an object that contains settings for the specified `CaptureVisionTemplate`.
|
|
494
|
+
* @param templateName Specifies a `CaptureVisionTemplate` by its name. If passed "*", the returned object will contain all templates.
|
|
495
|
+
*
|
|
496
|
+
* @returns A promise that resolves with the object that contains settings for the specified template or all templates.
|
|
497
|
+
*/
|
|
498
|
+
outputSettings(templateName?: string): Promise<any>;
|
|
499
|
+
/**
|
|
500
|
+
* Generates a Blob object or initiates a JSON file download containing the settings for the specified `CaptureVisionTemplate`.
|
|
501
|
+
* @param templateName Specifies a `CaptureVisionTemplate` by its name. If passed "*", the returned object will contain all templates.
|
|
502
|
+
* @param fileName Specifies the name of the file.
|
|
503
|
+
* @param download Boolean that specifies whether to initiates a file download.
|
|
504
|
+
*
|
|
505
|
+
* @returns A promise that resolves with the Blob object that contains settings for the specified template or all templates.
|
|
506
|
+
*/
|
|
507
|
+
outputSettingsToFile(templateName: string, fileName: string, download?: boolean): Promise<Blob>;
|
|
508
|
+
getTemplateNames(): Promise<Array<string>>;
|
|
509
|
+
/**
|
|
510
|
+
* Retrieves a JSON object that contains simplified settings for the specified `CaptureVisionTemplate`.
|
|
511
|
+
* @param templateName Specifies a `CaptureVisionTemplate` by its name.
|
|
512
|
+
*
|
|
513
|
+
* @returns A promise that resolves with a JSON object, of type `SimplifiedCaptureVisionSettings`, which represents the simplified settings for the specified template.
|
|
514
|
+
* @remarks If the settings of the specified template are too complex, we cannot create a SimplifiedCaptureVisionSettings, and as a result, it will return an error.
|
|
515
|
+
*/
|
|
516
|
+
getSimplifiedSettings(templateName: string): Promise<SimplifiedCaptureVisionSettings>;
|
|
517
|
+
/**
|
|
518
|
+
* Updates the specified `CaptureVisionTemplate` with an updated `SimplifiedCaptureVisionSettings` object.
|
|
519
|
+
* @param templateName Specifies a `CaptureVisionTemplate` by its name.
|
|
520
|
+
* @param settings The `SimplifiedCaptureVisionSettings` object that contains updated settings.
|
|
521
|
+
*
|
|
522
|
+
* @returns A promise that resolves when the operation has completed. It provides an object that describes the result.
|
|
523
|
+
*/
|
|
524
|
+
updateSettings(templateName: string, settings: SimplifiedCaptureVisionSettings): Promise<any>;
|
|
525
|
+
/**
|
|
526
|
+
* Restores all runtime settings to their original default values.
|
|
527
|
+
*
|
|
528
|
+
* @returns A promise that resolves when the operation has completed. It provides an object that describes the result.
|
|
529
|
+
*/
|
|
530
|
+
resetSettings(): Promise<any>;
|
|
531
|
+
/**
|
|
532
|
+
* Returns an object, of type `BufferedItemsManager`, that manages buffered items.
|
|
533
|
+
* @returns The `BufferedItemsManager` object.
|
|
534
|
+
*/
|
|
535
|
+
getBufferedItemsManager(): BufferedItemsManager;
|
|
536
|
+
/**
|
|
537
|
+
* Returns an object, of type `IntermediateResultManager`, that manages intermediate results.
|
|
538
|
+
*
|
|
539
|
+
* @returns The `IntermediateResultManager` object.
|
|
540
|
+
*/
|
|
541
|
+
getIntermediateResultManager(): IntermediateResultManager;
|
|
542
|
+
parseRequiredResources(templateName: string): Promise<{
|
|
543
|
+
models: string[];
|
|
544
|
+
specss: string[];
|
|
545
|
+
}>;
|
|
546
|
+
/**
|
|
547
|
+
* Releases all resources used by the `CaptureVisionRouter` instance.
|
|
548
|
+
*
|
|
549
|
+
* @returns A promise that resolves when the resources have been successfully released. It does not provide any value upon resolution.
|
|
550
|
+
*/
|
|
551
|
+
dispose(): Promise<void>;
|
|
552
|
+
/**
|
|
553
|
+
* For Debug
|
|
554
|
+
*/
|
|
555
|
+
private _getInternalData;
|
|
556
|
+
private _getWasmFilterState;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
declare class CaptureVisionRouterModule {
|
|
560
|
+
private static _version;
|
|
561
|
+
static getVersion(): string;
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
interface RawImageResultItem extends CapturedResultItem {
|
|
565
|
+
readonly imageData: DSImageData;
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
declare enum EnumPresetTemplate {
|
|
569
|
+
/**
|
|
570
|
+
* @brief Versatile function for barcode reading, document detection, or text recognition.
|
|
571
|
+
*/
|
|
572
|
+
PT_DEFAULT = "Default",
|
|
573
|
+
/**
|
|
574
|
+
* @brief Scans a single barcode.
|
|
575
|
+
*/
|
|
576
|
+
PT_READ_BARCODES = "ReadBarcodes_Default",
|
|
577
|
+
/**
|
|
578
|
+
* @brief Identifies and reads any text present.
|
|
579
|
+
*/
|
|
580
|
+
PT_RECOGNIZE_TEXT_LINES = "RecognizeTextLines_Default",
|
|
581
|
+
/**
|
|
582
|
+
* @brief RIdentifies the edges of a document.
|
|
583
|
+
*/
|
|
584
|
+
PT_DETECT_DOCUMENT_BOUNDARIES = "DetectDocumentBoundaries_Default",
|
|
585
|
+
/**
|
|
586
|
+
* @brief Detects document edges and standardizes its format.
|
|
587
|
+
*/
|
|
588
|
+
PT_DETECT_AND_NORMALIZE_DOCUMENT = "DetectAndNormalizeDocument_Default",
|
|
589
|
+
/**
|
|
590
|
+
* @brief Adjusts a document to a standard format using detected borders.
|
|
591
|
+
*/
|
|
592
|
+
PT_NORMALIZE_DOCUMENT = "NormalizeDocument_Default",
|
|
593
|
+
/**
|
|
594
|
+
* @brief Represents a barcode reading mode where speed is prioritized.
|
|
595
|
+
*
|
|
596
|
+
* In this mode, the barcode reader will optimize for faster barcode detection
|
|
597
|
+
* and decoding, sacrificing some level of accuracy and read rate. It is suitable
|
|
598
|
+
* for situations where a quick response time is more important than perfect
|
|
599
|
+
* barcode recognition.
|
|
600
|
+
*/
|
|
601
|
+
PT_READ_BARCODES_SPEED_FIRST = "ReadBarcodes_SpeedFirst",
|
|
602
|
+
/**
|
|
603
|
+
* @brief Represents a barcode reading mode where barcode read rate is prioritized.
|
|
604
|
+
*
|
|
605
|
+
* In this mode, the barcode reader will optimize for higher barcode read rates,
|
|
606
|
+
* even if it may sometimes result in reduced accuracy and speed. It is suitable for
|
|
607
|
+
* scenarios where maximizing the number of successfully read barcodes is critical.
|
|
608
|
+
*/
|
|
609
|
+
PT_READ_BARCODES_READ_RATE_FIRST = "ReadBarcodes_ReadRateFirst",
|
|
610
|
+
/**
|
|
611
|
+
* @brief Represents a balanced barcode reading mode.
|
|
612
|
+
*
|
|
613
|
+
* This mode aims for a reasonable balance between speed and read rate in barcode
|
|
614
|
+
* recognition. It is suitable for most common use cases where a compromise between
|
|
615
|
+
* speed and read rate is acceptable.
|
|
616
|
+
*/
|
|
617
|
+
PT_READ_BARCODES_BALANCE = "ReadBarcodes_Balance",
|
|
618
|
+
/**
|
|
619
|
+
* @brief Represents a barcode reading mode for single barcode code detection.
|
|
620
|
+
*
|
|
621
|
+
* In this mode, the barcode reader will focus on detecting and decoding a single
|
|
622
|
+
* barcode code, ignoring any additional codes in the same image. It is efficient
|
|
623
|
+
* when the target image has only one barcode.
|
|
624
|
+
*/
|
|
625
|
+
PT_READ_SINGLE_BARCODE = "ReadBarcodes_Balanced",
|
|
626
|
+
/**
|
|
627
|
+
* @brief Represents a barcode reading mode optimized for dense barcode codes.
|
|
628
|
+
*
|
|
629
|
+
* This mode is designed to handle dense or closely packed barcode codes where
|
|
630
|
+
* accuracy is paramount. It may operate slower than other modes but is suitable
|
|
631
|
+
* for challenging scenarios where code density is high.
|
|
632
|
+
*/
|
|
633
|
+
PT_READ_DENSE_BARCODES = "ReadDenseBarcodes",
|
|
634
|
+
/**
|
|
635
|
+
* @brief Represents a barcode reading mode optimized for distant barcode codes.
|
|
636
|
+
*
|
|
637
|
+
* This mode is designed to scanning a barcode that is placed far from the device.
|
|
638
|
+
*/
|
|
639
|
+
PT_READ_DISTANT_BARCODES = "ReadDistantBarcodes",
|
|
640
|
+
/**
|
|
641
|
+
* @brief Represents a text recognition mode focused on recognizing numbers.
|
|
642
|
+
*/
|
|
643
|
+
PT_RECOGNIZE_NUMBERS = "RecognizeNumbers",
|
|
644
|
+
/**
|
|
645
|
+
* @brief Represents a text recognition mode focused on recognizing alphabetic characters (letters).
|
|
646
|
+
*
|
|
647
|
+
*/
|
|
648
|
+
PT_RECOGNIZE_LETTERS = "RecognizeLetters",
|
|
649
|
+
/**
|
|
650
|
+
* @brief Represents a text recognition mode that combines numbers and alphabetic characters (letters) recognition.
|
|
651
|
+
*/
|
|
652
|
+
PT_RECOGNIZE_NUMBERS_AND_LETTERS = "RecognizeNumbersAndLetters",
|
|
653
|
+
/**
|
|
654
|
+
* @brief Represents a text recognition mode that combines numbers and uppercase letters recognition.
|
|
655
|
+
*/
|
|
656
|
+
PT_RECOGNIZE_NUMBERS_AND_UPPERCASE_LETTERS = "RecognizeNumbersAndUppercaseLetters",
|
|
657
|
+
/**
|
|
658
|
+
* @brief Represents a text recognition mode focused on recognizing uppercase letters.
|
|
659
|
+
*/
|
|
660
|
+
PT_RECOGNIZE_UPPERCASE_LETTERS = "RecognizeUppercaseLetters"
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export { CaptureVisionRouter, CaptureVisionRouterModule, CapturedResult, CapturedResultFilter, CapturedResultReceiver, EnumImageSourceState, EnumPresetTemplate, ImageSourceStateListener, IntermediateResultReceiver, RawImageResultItem, SimplifiedCaptureVisionSettings };
|