@idscan/idvc2 2.4.16 → 2.4.17
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/README.md +5 -0
- package/dist/idvc.js +1 -1
- package/dist/index.html +3 -4
- package/dist/js/environment/realFaceModes.ts +9 -0
- package/dist/js/image.d.ts +1 -0
- package/dist/js/index.d.ts +0 -3
- package/dist/networks/{716-9029-chunk.js → 716-d3a2-chunk.js} +1 -1
- package/dist/networks/Face-4ffb-chunk.js +1 -0
- package/dist/networks/MRZ-d77b-chunk.js +1 -0
- package/dist/networks/asyncLoader-4593-chunk.js +1 -0
- package/dist/networks/cdnLoader-bdbc-chunk.js +1 -0
- package/dist/types/assets/images/barcode.d.ts +2 -0
- package/dist/types/assets/images/face.d.ts +2 -0
- package/dist/types/assets/images/front.d.ts +2 -0
- package/dist/types/assets/images/mrz.d.ts +2 -0
- package/dist/types/assets/images/pdf.d.ts +2 -0
- package/dist/types/bl.d.ts +15 -0
- package/dist/types/constatnts/camera.d.ts +7 -0
- package/dist/types/constatnts/imageProcessing.d.ts +3 -0
- package/dist/types/context.d.ts +119 -0
- package/dist/types/controllers/LoggerController.d.ts +13 -0
- package/dist/types/controllers/ModuleController.d.ts +57 -0
- package/dist/types/core/LicenseVerificationWasmCore.d.ts +2 -0
- package/dist/types/core/Logger.d.ts +10 -0
- package/dist/types/core/blurCore.d.ts +2 -0
- package/dist/types/core/libheif2.d.ts +2 -0
- package/dist/types/core/libmrzdecode.d.ts +2 -0
- package/dist/types/core/libpdf417.d.ts +2 -0
- package/dist/types/core/wasmpico.d.ts +2 -0
- package/dist/types/core/zxing_reader.d.ts +2 -0
- package/dist/types/custom_tfjs/custom_ops_for_converter.d.ts +28 -0
- package/dist/types/custom_tfjs/custom_tfjs.d.ts +3 -0
- package/dist/types/custom_tfjs/custom_tfjs_core.d.ts +1 -0
- package/dist/types/defaultConfig.d.ts +56 -0
- package/dist/types/environment/designations.d.ts +5 -0
- package/dist/types/environment/documentTypes.d.ts +26 -0
- package/dist/types/environment/langs.d.ts +88 -0
- package/dist/types/environment/loopResult.d.ts +8 -0
- package/dist/types/environment/realFaceModes.d.ts +22 -0
- package/dist/types/environment/stepsDescription.d.ts +71 -0
- package/dist/types/environment/triangulation.d.ts +18 -0
- package/dist/types/helpers/canvas.d.ts +22 -0
- package/dist/types/helpers/color.d.ts +8 -0
- package/dist/types/helpers/dataManipulation.d.ts +27 -0
- package/dist/types/helpers/detectLanguage.d.ts +3 -0
- package/dist/types/helpers/eventListeners.d.ts +14 -0
- package/dist/types/helpers/geometry.d.ts +27 -0
- package/dist/types/helpers/html.d.ts +26 -0
- package/dist/types/helpers/image.d.ts +32 -0
- package/dist/types/helpers/imageprocessing.d.ts +11 -0
- package/dist/types/helpers/licenceKeyError.d.ts +6 -0
- package/dist/types/helpers/logger.d.ts +8 -0
- package/dist/types/helpers/manualUpload.d.ts +7 -0
- package/dist/types/helpers/math.d.ts +37 -0
- package/dist/types/helpers/mobileChecker.d.ts +15 -0
- package/dist/types/helpers/numbers.d.ts +2 -0
- package/dist/types/helpers/step-background.d.ts +2 -0
- package/dist/types/helpers/strings.d.ts +9 -0
- package/dist/types/helpers/time.d.ts +11 -0
- package/dist/types/helpers/ts/common.d.ts +3 -0
- package/dist/types/helpers/updateSelecetTypes.d.ts +2 -0
- package/dist/types/helpers/validators.d.ts +44 -0
- package/dist/types/helpers/windowTensorFlow.d.ts +7 -0
- package/dist/types/idvc.d.ts +19 -0
- package/dist/types/initialize.d.ts +11 -0
- package/dist/types/loader/asyncLoader.d.ts +2 -0
- package/dist/types/loader/cdn/cdnFace.d.ts +2 -0
- package/dist/types/loader/cdn/cdnMRZ.d.ts +4 -0
- package/dist/types/loader/cdn/cdnPDF.d.ts +4 -0
- package/dist/types/loader/cdnLoader.d.ts +2 -0
- package/dist/types/loader/loadTf.d.ts +2 -0
- package/dist/types/loader/loaderFace.d.ts +2 -0
- package/dist/types/loader/loaderMRZ.d.ts +4 -0
- package/dist/types/loader/loaderMeshFace.d.ts +3 -0
- package/dist/types/loader/loaderPDF.d.ts +3 -0
- package/dist/types/loader/loaderSelect.d.ts +2 -0
- package/dist/types/loader/loaderUploadMode.d.ts +1 -0
- package/dist/types/loader/loaderZXing.d.ts +2 -0
- package/dist/types/loader/meshfaceConfig.d.ts +3 -0
- package/dist/types/loader/syncLoader.d.ts +63 -0
- package/dist/types/loop.d.ts +13 -0
- package/dist/types/loopControl.d.ts +10 -0
- package/dist/types/modules/BarcodeModule.d.ts +28 -0
- package/dist/types/modules/Config.d.ts +131 -0
- package/dist/types/modules/Face.d.ts +61 -0
- package/dist/types/modules/FrontProcessing.d.ts +7 -0
- package/dist/types/modules/MeshFace.d.ts +52 -0
- package/dist/types/modules/MetaData.d.ts +10 -0
- package/dist/types/modules/MrzModule.d.ts +114 -0
- package/dist/types/modules/PdfModule.d.ts +79 -0
- package/dist/types/modules/SimpleFace.d.ts +18 -0
- package/dist/types/modules/Step.d.ts +65 -0
- package/dist/types/modules/blur.d.ts +4 -0
- package/dist/types/modules/browwserCompatibilities.d.ts +6 -0
- package/dist/types/modules/camera.d.ts +14 -0
- package/dist/types/modules/cameraManager.d.ts +9 -0
- package/dist/types/modules/fileType.d.ts +1 -0
- package/dist/types/modules/frameQuality.d.ts +10 -0
- package/dist/types/modules/heic.d.ts +11 -0
- package/dist/types/modules/image.d.ts +13 -0
- package/dist/types/modules/initErrorHandler.d.ts +10 -0
- package/dist/types/modules/licenseKeyChecker.d.ts +1 -0
- package/dist/types/modules/manualUpload.d.ts +7 -0
- package/dist/types/modules/manualUploadProcessing.d.ts +30 -0
- package/dist/types/modules/mediaDevices.d.ts +2 -0
- package/dist/types/modules/moduleInitializer.d.ts +8 -0
- package/dist/types/modules/step-functions/face.d.ts +2 -0
- package/dist/types/modules/step-result-processing/barcode.d.ts +2 -0
- package/dist/types/modules/step-result-processing/common.d.ts +1 -0
- package/dist/types/modules/step-result-processing/mrz.d.ts +2 -0
- package/dist/types/modules/step-result-processing/pdf.d.ts +2 -0
- package/dist/types/modules/step-result-processing/simpleFace.d.ts +2 -0
- package/dist/types/modules/step-result-processing/volumeFace.d.ts +3 -0
- package/dist/types/modules/stepFunctions.d.ts +5 -0
- package/dist/types/modules/stepResultProcessing.d.ts +9 -0
- package/dist/types/modules/ui/Flashlight.d.ts +17 -0
- package/dist/types/modules/ui/MaskCapture.d.ts +52 -0
- package/dist/types/modules/ui/MessageBox.d.ts +19 -0
- package/dist/types/modules/ui/Modal.d.ts +20 -0
- package/dist/types/modules/ui/SelectDocumentType.d.ts +45 -0
- package/dist/types/modules/ui/forceCaptruringBtn.d.ts +12 -0
- package/dist/types/modules/ui/hints.d.ts +17 -0
- package/dist/types/modules/ui/limitations.d.ts +2 -0
- package/dist/types/modules/ui/manualSwitchBtn.d.ts +30 -0
- package/dist/types/modules/ui/spinner.d.ts +13 -0
- package/dist/types/modules/ui/swiper.d.ts +3 -0
- package/dist/types/modules/uploader.d.ts +59 -0
- package/dist/types/modules/validation/ValidateBool.d.ts +5 -0
- package/dist/types/modules/validation/ValidateDocumentTypes.d.ts +20 -0
- package/dist/types/modules/validation/ValidateElement.d.ts +5 -0
- package/dist/types/modules/validation/ValidateFunction.d.ts +5 -0
- package/dist/types/modules/validation/ValidateNumber.d.ts +5 -0
- package/dist/types/modules/validation/ValidateString.d.ts +5 -0
- package/dist/types/modules/validation/ValidateStringInArray.d.ts +12 -0
- package/dist/types/modules/validation/showValidationError.d.ts +2 -0
- package/dist/types/modules/validation/validatorFactory.d.ts +10 -0
- package/dist/types/modules/validator.d.ts +10 -0
- package/dist/types/neural models/07072019/exits.d.ts +2 -0
- package/dist/types/neural models/08072019/exits.d.ts +2 -0
- package/dist/types/neural models/09072019/exits.d.ts +2 -0
- package/dist/types/neural models/10072019/exits.d.ts +2 -0
- package/dist/types/neural models/10072019/labels.d.ts +541 -0
- package/dist/types/neural models/angles/exits.d.ts +2 -0
- package/dist/types/neural models/classLocal/exits.d.ts +2 -0
- package/dist/types/neural models/classLocalModel.d.ts +9 -0
- package/dist/types/neural models/keras/exits.d.ts +2 -0
- package/dist/types/neural models/model.d.ts +18 -0
- package/dist/types/neural models/mrz/exits.d.ts +2 -0
- package/dist/types/neural models/mrzModel.d.ts +10 -0
- package/dist/types/neural models/neuralModel.d.ts +20 -0
- package/dist/types/neural models/stick/exits.d.ts +2 -0
- package/dist/types/stepProcessing.d.ts +27 -0
- package/dist/types/types/enums/realFace.d.ts +5 -0
- package/dist/types/types/modules/camera.enum.d.ts +18 -0
- package/dist/types/ui.d.ts +117 -0
- package/dist/types/util.d.ts +34 -0
- package/dist/types/workers/blurWorker.d.ts +1 -0
- package/dist/types/workers/bubbleWorker.d.ts +1 -0
- package/dist/types/workers/loadNetworksWorker.d.ts +0 -0
- package/package.json +2 -1
- package/dist/js/common.d.ts +0 -3
- package/dist/js/idvc.d.ts +0 -3
- package/dist/networks/Face-4ee6-chunk.js +0 -1
- package/dist/networks/MRZ-69fb-chunk.js +0 -1
- package/dist/networks/asyncLoader-35f7-chunk.js +0 -1
- package/dist/networks/cdnLoader-881d-chunk.js +0 -1
- /package/dist/networks/{130-2dfe-chunk.js → 130-3968-chunk.js} +0 -0
- /package/dist/networks/{215-a42b-chunk.js → 215-cb9e-chunk.js} +0 -0
- /package/dist/networks/{400-2d7a-chunk.js → 400-3816-chunk.js} +0 -0
- /package/dist/networks/{PDF-781c-chunk.js → PDF-89f3-chunk.js} +0 -0
- /package/dist/networks/{ZXing-c882-chunk.js → ZXing-e76f-chunk.js} +0 -0
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
declare namespace _default {
|
|
2
|
+
namespace ak2003 {
|
|
3
|
+
const state: string;
|
|
4
|
+
const year: number;
|
|
5
|
+
}
|
|
6
|
+
namespace ak2014 {
|
|
7
|
+
const state_1: string;
|
|
8
|
+
export { state_1 as state };
|
|
9
|
+
const year_1: number;
|
|
10
|
+
export { year_1 as year };
|
|
11
|
+
}
|
|
12
|
+
namespace al2010 {
|
|
13
|
+
const state_2: string;
|
|
14
|
+
export { state_2 as state };
|
|
15
|
+
const year_2: number;
|
|
16
|
+
export { year_2 as year };
|
|
17
|
+
}
|
|
18
|
+
namespace ar2011 {
|
|
19
|
+
const state_3: string;
|
|
20
|
+
export { state_3 as state };
|
|
21
|
+
const year_3: number;
|
|
22
|
+
export { year_3 as year };
|
|
23
|
+
}
|
|
24
|
+
namespace ar2018 {
|
|
25
|
+
const state_4: string;
|
|
26
|
+
export { state_4 as state };
|
|
27
|
+
const year_4: number;
|
|
28
|
+
export { year_4 as year };
|
|
29
|
+
}
|
|
30
|
+
namespace az2001 {
|
|
31
|
+
const state_5: string;
|
|
32
|
+
export { state_5 as state };
|
|
33
|
+
const year_5: number;
|
|
34
|
+
export { year_5 as year };
|
|
35
|
+
}
|
|
36
|
+
namespace az2014 {
|
|
37
|
+
const state_6: string;
|
|
38
|
+
export { state_6 as state };
|
|
39
|
+
const year_6: number;
|
|
40
|
+
export { year_6 as year };
|
|
41
|
+
}
|
|
42
|
+
namespace ca2010 {
|
|
43
|
+
const state_7: string;
|
|
44
|
+
export { state_7 as state };
|
|
45
|
+
const year_7: number;
|
|
46
|
+
export { year_7 as year };
|
|
47
|
+
}
|
|
48
|
+
namespace ca2018 {
|
|
49
|
+
const state_8: string;
|
|
50
|
+
export { state_8 as state };
|
|
51
|
+
const year_8: number;
|
|
52
|
+
export { year_8 as year };
|
|
53
|
+
}
|
|
54
|
+
namespace co2014 {
|
|
55
|
+
const state_9: string;
|
|
56
|
+
export { state_9 as state };
|
|
57
|
+
const year_9: number;
|
|
58
|
+
export { year_9 as year };
|
|
59
|
+
}
|
|
60
|
+
namespace co2016 {
|
|
61
|
+
const state_10: string;
|
|
62
|
+
export { state_10 as state };
|
|
63
|
+
const year_10: number;
|
|
64
|
+
export { year_10 as year };
|
|
65
|
+
}
|
|
66
|
+
namespace co2018 {
|
|
67
|
+
const state_11: string;
|
|
68
|
+
export { state_11 as state };
|
|
69
|
+
const year_11: number;
|
|
70
|
+
export { year_11 as year };
|
|
71
|
+
}
|
|
72
|
+
namespace ct2011 {
|
|
73
|
+
const state_12: string;
|
|
74
|
+
export { state_12 as state };
|
|
75
|
+
const year_12: number;
|
|
76
|
+
export { year_12 as year };
|
|
77
|
+
}
|
|
78
|
+
namespace ct2017 {
|
|
79
|
+
const state_13: string;
|
|
80
|
+
export { state_13 as state };
|
|
81
|
+
const year_13: number;
|
|
82
|
+
export { year_13 as year };
|
|
83
|
+
}
|
|
84
|
+
namespace dc2002 {
|
|
85
|
+
const state_14: string;
|
|
86
|
+
export { state_14 as state };
|
|
87
|
+
const year_14: number;
|
|
88
|
+
export { year_14 as year };
|
|
89
|
+
}
|
|
90
|
+
namespace dc2013 {
|
|
91
|
+
const state_15: string;
|
|
92
|
+
export { state_15 as state };
|
|
93
|
+
const year_15: number;
|
|
94
|
+
export { year_15 as year };
|
|
95
|
+
}
|
|
96
|
+
namespace dc2017 {
|
|
97
|
+
const state_16: string;
|
|
98
|
+
export { state_16 as state };
|
|
99
|
+
const year_16: number;
|
|
100
|
+
export { year_16 as year };
|
|
101
|
+
}
|
|
102
|
+
namespace de2010 {
|
|
103
|
+
const state_17: string;
|
|
104
|
+
export { state_17 as state };
|
|
105
|
+
const year_17: number;
|
|
106
|
+
export { year_17 as year };
|
|
107
|
+
}
|
|
108
|
+
namespace de2018 {
|
|
109
|
+
const state_18: string;
|
|
110
|
+
export { state_18 as state };
|
|
111
|
+
const year_18: number;
|
|
112
|
+
export { year_18 as year };
|
|
113
|
+
}
|
|
114
|
+
namespace fl2009 {
|
|
115
|
+
const state_19: string;
|
|
116
|
+
export { state_19 as state };
|
|
117
|
+
const year_19: number;
|
|
118
|
+
export { year_19 as year };
|
|
119
|
+
}
|
|
120
|
+
namespace fl2017 {
|
|
121
|
+
const state_20: string;
|
|
122
|
+
export { state_20 as state };
|
|
123
|
+
const year_20: number;
|
|
124
|
+
export { year_20 as year };
|
|
125
|
+
}
|
|
126
|
+
namespace ga2010 {
|
|
127
|
+
const state_21: string;
|
|
128
|
+
export { state_21 as state };
|
|
129
|
+
const year_21: number;
|
|
130
|
+
export { year_21 as year };
|
|
131
|
+
}
|
|
132
|
+
namespace hi2010 {
|
|
133
|
+
const state_22: string;
|
|
134
|
+
export { state_22 as state };
|
|
135
|
+
const year_22: number;
|
|
136
|
+
export { year_22 as year };
|
|
137
|
+
}
|
|
138
|
+
namespace ia2010 {
|
|
139
|
+
const state_23: string;
|
|
140
|
+
export { state_23 as state };
|
|
141
|
+
const year_23: number;
|
|
142
|
+
export { year_23 as year };
|
|
143
|
+
}
|
|
144
|
+
namespace ia2016 {
|
|
145
|
+
const state_24: string;
|
|
146
|
+
export { state_24 as state };
|
|
147
|
+
const year_24: number;
|
|
148
|
+
export { year_24 as year };
|
|
149
|
+
}
|
|
150
|
+
namespace id2011 {
|
|
151
|
+
const state_25: string;
|
|
152
|
+
export { state_25 as state };
|
|
153
|
+
const year_25: number;
|
|
154
|
+
export { year_25 as year };
|
|
155
|
+
}
|
|
156
|
+
namespace id2016 {
|
|
157
|
+
const state_26: string;
|
|
158
|
+
export { state_26 as state };
|
|
159
|
+
const year_26: number;
|
|
160
|
+
export { year_26 as year };
|
|
161
|
+
}
|
|
162
|
+
namespace il2007 {
|
|
163
|
+
const state_27: string;
|
|
164
|
+
export { state_27 as state };
|
|
165
|
+
const year_27: number;
|
|
166
|
+
export { year_27 as year };
|
|
167
|
+
}
|
|
168
|
+
namespace il2016 {
|
|
169
|
+
const state_28: string;
|
|
170
|
+
export { state_28 as state };
|
|
171
|
+
const year_28: number;
|
|
172
|
+
export { year_28 as year };
|
|
173
|
+
}
|
|
174
|
+
namespace in2010 {
|
|
175
|
+
const state_29: string;
|
|
176
|
+
export { state_29 as state };
|
|
177
|
+
const year_29: number;
|
|
178
|
+
export { year_29 as year };
|
|
179
|
+
}
|
|
180
|
+
namespace ks2004 {
|
|
181
|
+
const state_30: string;
|
|
182
|
+
export { state_30 as state };
|
|
183
|
+
const year_30: number;
|
|
184
|
+
export { year_30 as year };
|
|
185
|
+
}
|
|
186
|
+
namespace ks2012 {
|
|
187
|
+
const state_31: string;
|
|
188
|
+
export { state_31 as state };
|
|
189
|
+
const year_31: number;
|
|
190
|
+
export { year_31 as year };
|
|
191
|
+
}
|
|
192
|
+
namespace ks2017 {
|
|
193
|
+
const state_32: string;
|
|
194
|
+
export { state_32 as state };
|
|
195
|
+
const year_32: number;
|
|
196
|
+
export { year_32 as year };
|
|
197
|
+
}
|
|
198
|
+
namespace ky2012 {
|
|
199
|
+
const state_33: string;
|
|
200
|
+
export { state_33 as state };
|
|
201
|
+
const year_33: number;
|
|
202
|
+
export { year_33 as year };
|
|
203
|
+
}
|
|
204
|
+
namespace la2001 {
|
|
205
|
+
const state_34: string;
|
|
206
|
+
export { state_34 as state };
|
|
207
|
+
const year_34: number;
|
|
208
|
+
export { year_34 as year };
|
|
209
|
+
}
|
|
210
|
+
namespace la2013 {
|
|
211
|
+
const state_35: string;
|
|
212
|
+
export { state_35 as state };
|
|
213
|
+
const year_35: number;
|
|
214
|
+
export { year_35 as year };
|
|
215
|
+
}
|
|
216
|
+
namespace la2015 {
|
|
217
|
+
const state_36: string;
|
|
218
|
+
export { state_36 as state };
|
|
219
|
+
const year_36: number;
|
|
220
|
+
export { year_36 as year };
|
|
221
|
+
}
|
|
222
|
+
namespace ma2010 {
|
|
223
|
+
const state_37: string;
|
|
224
|
+
export { state_37 as state };
|
|
225
|
+
const year_37: number;
|
|
226
|
+
export { year_37 as year };
|
|
227
|
+
}
|
|
228
|
+
namespace ma2016 {
|
|
229
|
+
const state_38: string;
|
|
230
|
+
export { state_38 as state };
|
|
231
|
+
const year_38: number;
|
|
232
|
+
export { year_38 as year };
|
|
233
|
+
}
|
|
234
|
+
namespace md2002 {
|
|
235
|
+
const state_39: string;
|
|
236
|
+
export { state_39 as state };
|
|
237
|
+
const year_39: number;
|
|
238
|
+
export { year_39 as year };
|
|
239
|
+
}
|
|
240
|
+
namespace md2016 {
|
|
241
|
+
const state_40: string;
|
|
242
|
+
export { state_40 as state };
|
|
243
|
+
const year_40: number;
|
|
244
|
+
export { year_40 as year };
|
|
245
|
+
}
|
|
246
|
+
namespace me2011 {
|
|
247
|
+
const state_41: string;
|
|
248
|
+
export { state_41 as state };
|
|
249
|
+
const year_41: number;
|
|
250
|
+
export { year_41 as year };
|
|
251
|
+
}
|
|
252
|
+
namespace mi2011 {
|
|
253
|
+
const state_42: string;
|
|
254
|
+
export { state_42 as state };
|
|
255
|
+
const year_42: number;
|
|
256
|
+
export { year_42 as year };
|
|
257
|
+
}
|
|
258
|
+
namespace mn2004 {
|
|
259
|
+
const state_43: string;
|
|
260
|
+
export { state_43 as state };
|
|
261
|
+
const year_43: number;
|
|
262
|
+
export { year_43 as year };
|
|
263
|
+
}
|
|
264
|
+
namespace mn2018 {
|
|
265
|
+
const state_44: string;
|
|
266
|
+
export { state_44 as state };
|
|
267
|
+
const year_44: number;
|
|
268
|
+
export { year_44 as year };
|
|
269
|
+
}
|
|
270
|
+
namespace mo2003 {
|
|
271
|
+
const state_45: string;
|
|
272
|
+
export { state_45 as state };
|
|
273
|
+
const year_45: number;
|
|
274
|
+
export { year_45 as year };
|
|
275
|
+
}
|
|
276
|
+
namespace mo2012 {
|
|
277
|
+
const state_46: string;
|
|
278
|
+
export { state_46 as state };
|
|
279
|
+
const year_46: number;
|
|
280
|
+
export { year_46 as year };
|
|
281
|
+
}
|
|
282
|
+
namespace ms2001 {
|
|
283
|
+
const state_47: string;
|
|
284
|
+
export { state_47 as state };
|
|
285
|
+
const year_47: number;
|
|
286
|
+
export { year_47 as year };
|
|
287
|
+
}
|
|
288
|
+
namespace ms2016 {
|
|
289
|
+
const state_48: string;
|
|
290
|
+
export { state_48 as state };
|
|
291
|
+
const year_48: number;
|
|
292
|
+
export { year_48 as year };
|
|
293
|
+
}
|
|
294
|
+
namespace mt2008 {
|
|
295
|
+
const state_49: string;
|
|
296
|
+
export { state_49 as state };
|
|
297
|
+
const year_49: number;
|
|
298
|
+
export { year_49 as year };
|
|
299
|
+
}
|
|
300
|
+
namespace mt2016 {
|
|
301
|
+
const state_50: string;
|
|
302
|
+
export { state_50 as state };
|
|
303
|
+
const year_50: number;
|
|
304
|
+
export { year_50 as year };
|
|
305
|
+
}
|
|
306
|
+
namespace nc2008 {
|
|
307
|
+
const state_51: string;
|
|
308
|
+
export { state_51 as state };
|
|
309
|
+
const year_51: number;
|
|
310
|
+
export { year_51 as year };
|
|
311
|
+
}
|
|
312
|
+
namespace nc2015 {
|
|
313
|
+
const state_52: string;
|
|
314
|
+
export { state_52 as state };
|
|
315
|
+
const year_52: number;
|
|
316
|
+
export { year_52 as year };
|
|
317
|
+
}
|
|
318
|
+
namespace nd2006 {
|
|
319
|
+
const state_53: string;
|
|
320
|
+
export { state_53 as state };
|
|
321
|
+
const year_53: number;
|
|
322
|
+
export { year_53 as year };
|
|
323
|
+
}
|
|
324
|
+
namespace nd2014 {
|
|
325
|
+
const state_54: string;
|
|
326
|
+
export { state_54 as state };
|
|
327
|
+
const year_54: number;
|
|
328
|
+
export { year_54 as year };
|
|
329
|
+
}
|
|
330
|
+
namespace ne2009 {
|
|
331
|
+
const state_55: string;
|
|
332
|
+
export { state_55 as state };
|
|
333
|
+
const year_55: number;
|
|
334
|
+
export { year_55 as year };
|
|
335
|
+
}
|
|
336
|
+
namespace nh2011 {
|
|
337
|
+
const state_56: string;
|
|
338
|
+
export { state_56 as state };
|
|
339
|
+
const year_56: number;
|
|
340
|
+
export { year_56 as year };
|
|
341
|
+
}
|
|
342
|
+
namespace nh2017 {
|
|
343
|
+
const state_57: string;
|
|
344
|
+
export { state_57 as state };
|
|
345
|
+
const year_57: number;
|
|
346
|
+
export { year_57 as year };
|
|
347
|
+
}
|
|
348
|
+
namespace nj2011 {
|
|
349
|
+
const state_58: string;
|
|
350
|
+
export { state_58 as state };
|
|
351
|
+
const year_58: number;
|
|
352
|
+
export { year_58 as year };
|
|
353
|
+
}
|
|
354
|
+
namespace nm2007 {
|
|
355
|
+
const state_59: string;
|
|
356
|
+
export { state_59 as state };
|
|
357
|
+
const year_59: number;
|
|
358
|
+
export { year_59 as year };
|
|
359
|
+
}
|
|
360
|
+
namespace nm2016 {
|
|
361
|
+
const state_60: string;
|
|
362
|
+
export { state_60 as state };
|
|
363
|
+
const year_60: number;
|
|
364
|
+
export { year_60 as year };
|
|
365
|
+
}
|
|
366
|
+
namespace nv2010 {
|
|
367
|
+
const state_61: string;
|
|
368
|
+
export { state_61 as state };
|
|
369
|
+
const year_61: number;
|
|
370
|
+
export { year_61 as year };
|
|
371
|
+
}
|
|
372
|
+
namespace ny2008 {
|
|
373
|
+
const state_62: string;
|
|
374
|
+
export { state_62 as state };
|
|
375
|
+
const year_62: number;
|
|
376
|
+
export { year_62 as year };
|
|
377
|
+
}
|
|
378
|
+
namespace ny2013 {
|
|
379
|
+
const state_63: string;
|
|
380
|
+
export { state_63 as state };
|
|
381
|
+
const year_63: number;
|
|
382
|
+
export { year_63 as year };
|
|
383
|
+
}
|
|
384
|
+
namespace oh2011 {
|
|
385
|
+
const state_64: string;
|
|
386
|
+
export { state_64 as state };
|
|
387
|
+
const year_64: number;
|
|
388
|
+
export { year_64 as year };
|
|
389
|
+
}
|
|
390
|
+
namespace oh2018 {
|
|
391
|
+
const state_65: string;
|
|
392
|
+
export { state_65 as state };
|
|
393
|
+
const year_65: number;
|
|
394
|
+
export { year_65 as year };
|
|
395
|
+
}
|
|
396
|
+
namespace ok2012 {
|
|
397
|
+
const state_66: string;
|
|
398
|
+
export { state_66 as state };
|
|
399
|
+
const year_66: number;
|
|
400
|
+
export { year_66 as year };
|
|
401
|
+
}
|
|
402
|
+
namespace or2007 {
|
|
403
|
+
const state_67: string;
|
|
404
|
+
export { state_67 as state };
|
|
405
|
+
const year_67: number;
|
|
406
|
+
export { year_67 as year };
|
|
407
|
+
}
|
|
408
|
+
namespace pa2007 {
|
|
409
|
+
const state_68: string;
|
|
410
|
+
export { state_68 as state };
|
|
411
|
+
const year_68: number;
|
|
412
|
+
export { year_68 as year };
|
|
413
|
+
}
|
|
414
|
+
namespace pa2017 {
|
|
415
|
+
const state_69: string;
|
|
416
|
+
export { state_69 as state };
|
|
417
|
+
const year_69: number;
|
|
418
|
+
export { year_69 as year };
|
|
419
|
+
}
|
|
420
|
+
namespace ri2007 {
|
|
421
|
+
const state_70: string;
|
|
422
|
+
export { state_70 as state };
|
|
423
|
+
const year_70: number;
|
|
424
|
+
export { year_70 as year };
|
|
425
|
+
}
|
|
426
|
+
namespace ri2016 {
|
|
427
|
+
const state_71: string;
|
|
428
|
+
export { state_71 as state };
|
|
429
|
+
const year_71: number;
|
|
430
|
+
export { year_71 as year };
|
|
431
|
+
}
|
|
432
|
+
namespace sc2003 {
|
|
433
|
+
const state_72: string;
|
|
434
|
+
export { state_72 as state };
|
|
435
|
+
const year_72: number;
|
|
436
|
+
export { year_72 as year };
|
|
437
|
+
}
|
|
438
|
+
namespace sc2010 {
|
|
439
|
+
const state_73: string;
|
|
440
|
+
export { state_73 as state };
|
|
441
|
+
const year_73: number;
|
|
442
|
+
export { year_73 as year };
|
|
443
|
+
}
|
|
444
|
+
namespace sc2018 {
|
|
445
|
+
const state_74: string;
|
|
446
|
+
export { state_74 as state };
|
|
447
|
+
const year_74: number;
|
|
448
|
+
export { year_74 as year };
|
|
449
|
+
}
|
|
450
|
+
namespace sd2010 {
|
|
451
|
+
const state_75: string;
|
|
452
|
+
export { state_75 as state };
|
|
453
|
+
const year_75: number;
|
|
454
|
+
export { year_75 as year };
|
|
455
|
+
}
|
|
456
|
+
namespace tn2011 {
|
|
457
|
+
const state_76: string;
|
|
458
|
+
export { state_76 as state };
|
|
459
|
+
const year_76: number;
|
|
460
|
+
export { year_76 as year };
|
|
461
|
+
}
|
|
462
|
+
namespace tx2009 {
|
|
463
|
+
const state_77: string;
|
|
464
|
+
export { state_77 as state };
|
|
465
|
+
const year_77: number;
|
|
466
|
+
export { year_77 as year };
|
|
467
|
+
}
|
|
468
|
+
namespace ut2006 {
|
|
469
|
+
const state_78: string;
|
|
470
|
+
export { state_78 as state };
|
|
471
|
+
const year_78: number;
|
|
472
|
+
export { year_78 as year };
|
|
473
|
+
}
|
|
474
|
+
namespace ut2016 {
|
|
475
|
+
const state_79: string;
|
|
476
|
+
export { state_79 as state };
|
|
477
|
+
const year_79: number;
|
|
478
|
+
export { year_79 as year };
|
|
479
|
+
}
|
|
480
|
+
namespace va2009 {
|
|
481
|
+
const state_80: string;
|
|
482
|
+
export { state_80 as state };
|
|
483
|
+
const year_80: number;
|
|
484
|
+
export { year_80 as year };
|
|
485
|
+
}
|
|
486
|
+
namespace vt2013 {
|
|
487
|
+
const state_81: string;
|
|
488
|
+
export { state_81 as state };
|
|
489
|
+
const year_81: number;
|
|
490
|
+
export { year_81 as year };
|
|
491
|
+
}
|
|
492
|
+
namespace wa2010 {
|
|
493
|
+
const state_82: string;
|
|
494
|
+
export { state_82 as state };
|
|
495
|
+
const year_82: number;
|
|
496
|
+
export { year_82 as year };
|
|
497
|
+
}
|
|
498
|
+
namespace wa2017 {
|
|
499
|
+
const state_83: string;
|
|
500
|
+
export { state_83 as state };
|
|
501
|
+
const year_83: number;
|
|
502
|
+
export { year_83 as year };
|
|
503
|
+
}
|
|
504
|
+
namespace wi2005 {
|
|
505
|
+
const state_84: string;
|
|
506
|
+
export { state_84 as state };
|
|
507
|
+
const year_84: number;
|
|
508
|
+
export { year_84 as year };
|
|
509
|
+
}
|
|
510
|
+
namespace wi2012 {
|
|
511
|
+
const state_85: string;
|
|
512
|
+
export { state_85 as state };
|
|
513
|
+
const year_85: number;
|
|
514
|
+
export { year_85 as year };
|
|
515
|
+
}
|
|
516
|
+
namespace wi2015 {
|
|
517
|
+
const state_86: string;
|
|
518
|
+
export { state_86 as state };
|
|
519
|
+
const year_86: number;
|
|
520
|
+
export { year_86 as year };
|
|
521
|
+
}
|
|
522
|
+
namespace wv2011 {
|
|
523
|
+
const state_87: string;
|
|
524
|
+
export { state_87 as state };
|
|
525
|
+
const year_87: number;
|
|
526
|
+
export { year_87 as year };
|
|
527
|
+
}
|
|
528
|
+
namespace wy2004 {
|
|
529
|
+
const state_88: string;
|
|
530
|
+
export { state_88 as state };
|
|
531
|
+
const year_88: number;
|
|
532
|
+
export { year_88 as year };
|
|
533
|
+
}
|
|
534
|
+
namespace wy2010 {
|
|
535
|
+
const state_89: string;
|
|
536
|
+
export { state_89 as state };
|
|
537
|
+
const year_89: number;
|
|
538
|
+
export { year_89 as year };
|
|
539
|
+
}
|
|
540
|
+
}
|
|
541
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as tf from '@tensorflow/tfjs';
|
|
2
|
+
import { Tensor3D } from '@tensorflow/tfjs-core';
|
|
3
|
+
import NeuralModel from './neuralModel';
|
|
4
|
+
export default class ClassLocalModel extends NeuralModel {
|
|
5
|
+
predictFromImage(img: HTMLCanvasElement | ImageData, countOfExits?: number, channels?: number): Promise<string>;
|
|
6
|
+
normalize(input: Tensor3D): tf.Tensor3D;
|
|
7
|
+
getTopKClasses(logits: Tensor3D[], topK: number): Promise<string>;
|
|
8
|
+
warmup(): Promise<void>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as tf from '@tensorflow/tfjs';
|
|
2
|
+
import { Tensor3D } from '@tensorflow/tfjs-core';
|
|
3
|
+
import NeuralModel from './neuralModel';
|
|
4
|
+
type LabelResult = {
|
|
5
|
+
label: string;
|
|
6
|
+
value: number;
|
|
7
|
+
};
|
|
8
|
+
export type Stat = {
|
|
9
|
+
value: string;
|
|
10
|
+
confidence: number;
|
|
11
|
+
};
|
|
12
|
+
export default class Model extends NeuralModel {
|
|
13
|
+
predictFromImage(img: HTMLCanvasElement | ImageData, countOfExits?: number, channels?: number, batchSize?: number): Promise<LabelResult[] | string | Stat[][]>;
|
|
14
|
+
normalize(input: Tensor3D): tf.Tensor<tf.Rank>;
|
|
15
|
+
getTopKClasses(logits: Tensor3D | Tensor3D[], topK: number): Promise<LabelResult[] | string> | Stat[][];
|
|
16
|
+
warmup(): void;
|
|
17
|
+
}
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as tf from '@tensorflow/tfjs';
|
|
2
|
+
import { Tensor3D, Tensor4D } from '@tensorflow/tfjs-core';
|
|
3
|
+
import NeuralModel from './neuralModel';
|
|
4
|
+
export default class MrzModel extends NeuralModel {
|
|
5
|
+
predictFromImage(img: HTMLCanvasElement | ImageData, countOfExits?: number, channels?: number, batchSize?: number): Promise<any[]>;
|
|
6
|
+
normalize(input: Tensor3D, batchSize: number): tf.Tensor4D;
|
|
7
|
+
predictFromImageSync(img: HTMLCanvasElement | ImageData, countOfExits?: number, channels?: number, batchSize?: number): any[];
|
|
8
|
+
getTopKClasses: (logits: Tensor4D, topK: number, batchSize: number) => any[];
|
|
9
|
+
warmup(): Promise<void>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { GraphModel, LayersModel } from '@tensorflow/tfjs';
|
|
2
|
+
import { Tensor3D, Tensor4D } from '@tensorflow/tfjs-core';
|
|
3
|
+
type ModelEngine = 'wasm' | 'webgl';
|
|
4
|
+
type ModelType = 'tf' | 'keras';
|
|
5
|
+
declare abstract class NeuralModel {
|
|
6
|
+
private engine;
|
|
7
|
+
protected exits: string[];
|
|
8
|
+
private type;
|
|
9
|
+
private url;
|
|
10
|
+
protected model: undefined | GraphModel | LayersModel;
|
|
11
|
+
constructor(engine: ModelEngine, exits: string[], type: ModelType, url: string);
|
|
12
|
+
loadModel(): Promise<void>;
|
|
13
|
+
predict(input: Tensor3D): Tensor3D;
|
|
14
|
+
disposeModel(): void;
|
|
15
|
+
abstract predictFromImage(img: HTMLCanvasElement | ImageData, countOfExits?: number, channels?: number, batchSize?: number): any;
|
|
16
|
+
abstract normalize(input: Tensor3D, batchSize?: number): any;
|
|
17
|
+
abstract getTopKClasses(logits: Tensor3D | Tensor3D[] | Tensor4D, topK: number, batchSize?: number): any;
|
|
18
|
+
abstract warmup(): void;
|
|
19
|
+
}
|
|
20
|
+
export default NeuralModel;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export declare const generateSteps: () => void;
|
|
2
|
+
export declare const updateSteps: () => void;
|
|
3
|
+
export declare const changeStep: (nextStepNumber: number) => void;
|
|
4
|
+
export declare const getNextStep: () => number;
|
|
5
|
+
export declare const changeStepAuto: () => void;
|
|
6
|
+
export declare const updateStepImgCallback: () => void;
|
|
7
|
+
export declare const submitIfFullSteps: (payload?: {}) => void;
|
|
8
|
+
export declare const resetStepResults: (stepIndex?: number) => void;
|
|
9
|
+
export declare const again: (isRetake?: boolean) => void;
|
|
10
|
+
export declare const setStepImage: (quality: number) => void;
|
|
11
|
+
/**
|
|
12
|
+
* emits change function,
|
|
13
|
+
* emit change step function and
|
|
14
|
+
* emit submit function if all steps filled with image
|
|
15
|
+
* @param {Boolean} isNeedToChangeStep - is need to change step
|
|
16
|
+
*/
|
|
17
|
+
export declare const emitCurrentStepChangeImage: (isNeedToChangeStep?: boolean) => void;
|
|
18
|
+
declare const _default: {
|
|
19
|
+
changeStepAuto: () => void;
|
|
20
|
+
updateStepImgCallback: () => void;
|
|
21
|
+
generateSteps: () => void;
|
|
22
|
+
submitIfFullSteps: (payload?: {}) => void;
|
|
23
|
+
again: (isRetake?: boolean) => void;
|
|
24
|
+
resetStepResults: (stepIndex?: number) => void;
|
|
25
|
+
updateSteps: () => void;
|
|
26
|
+
};
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export declare enum CameraType {
|
|
2
|
+
Back = "environment",
|
|
3
|
+
Front = "user"
|
|
4
|
+
}
|
|
5
|
+
export declare enum CameraNotSupportedReason {
|
|
6
|
+
/** navigator.mediaDevices.getUserMedia
|
|
7
|
+
* is not supported by current browser for current context.
|
|
8
|
+
* */
|
|
9
|
+
MediaDevicesNotSupported = "MediaDevicesNotSupported",
|
|
10
|
+
/** Camera with requested features is not available on current device. */
|
|
11
|
+
CameraNotFound = "CameraNotFound",
|
|
12
|
+
/** Camera access was not granted by the user. */
|
|
13
|
+
CameraNotAllowed = "CameraNotAllowed",
|
|
14
|
+
/** Unable to start playing because camera is already in use. */
|
|
15
|
+
CameraInUse = "CameraInUse",
|
|
16
|
+
/** Camera is currently not available due to a OS or hardware error. */
|
|
17
|
+
CameraNotAvailable = "CameraNotAvailable"
|
|
18
|
+
}
|