-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
390 lines (390 loc) · 19.6 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Dynamsoft MRZ Scanner for Web</title>
<meta
name="description"
content="Recognizes the Machine-Readable Zone (MRZ) on a passport or ID card and converts the
encoded strings into human-readable fields with Dynamsoft Capture Vision."
/>
<meta name="keywords" content="scan mrz, read mrz, scan passport, read passport, scan id mrz, read id mrz." />
<link rel="stylesheet" href="./css/index.css" />
</head>
<body>
<div class="home-page">
<img class="logo" src="./assets/logo-dynamsoft-blackBg-190x47.png" alt="dynamsoft" />
<div class="description">
<div class="title">Dynamsoft MRZ Scanner</div>
<div class="content">
Dynamsoft MRZ Scanner recognizes the Machine-Readable Zone (MRZ) on a passport or ID card and converts the
encoded strings into human-readable fields
</div>
<button type="button" class="start-btn">Scan an MRZ</button>
</div>
<div class="powered-by-msg">Powered by Dynamsoft</div>
</div>
<div class="scanner-container">
<div class="header">
<div class="camera-selector">
<svg data-v-10660718="" viewBox="0 0 29.308 17" class="camera-svg">
<g data-v-10660718="" transform="translate(-346.925 -627.702)">
<g data-v-10660718="" transform="translate(347.425 628.202)">
<g data-v-10660718="">
<path
data-v-10660718=""
d="M365.791,644.2H348.656a1.231,1.231,0,0,1-1.231-1.231V629.433a1.231,1.231,0,0,1,1.231-1.231h16a1.231,1.231,0,0,1,1.231,1.231v14.733"
transform="translate(-347.425 -628.202)"
fill="none"
stroke="#aaa"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1"
></path>
<path
data-v-10660718=""
d="M371.81,640.606a1.23,1.23,0,0,1-1.781,1.1l-4.923-2.462a1.229,1.229,0,0,1-.681-1.1v-4.633a1.232,1.232,0,0,1,.681-1.1l4.923-2.462a1.231,1.231,0,0,1,1.781,1.1Z"
transform="translate(-343.502 -627.828)"
fill="none"
stroke="#aaa"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="1"
></path>
</g>
</g>
</g>
</svg>
<img class="down" src="./assets/arrow-down 1.svg" alt="down" />
<img class="up" src="./assets/arrow-up 1.svg" alt="up" />
</div>
<div class="camera-list"></div>
<div class="music-container">
<img class="music" src="./assets/music-selected.svg" alt="music" />
<img class="no-music" src="./assets/music-unselected.svg" alt="no-music" />
</div>
<div class="information-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-info-circle"
width="32"
height="32"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#aaaaaa"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
<path d="M12 9h.01" />
<path d="M11 12h1v4h1" />
</svg>
</div>
<div class="information-list">
<a
class="information-item"
href="https://www.dynamsoft.com/use-cases/mrz-scanner/?utm_source=mrzdemo&package=js"
target="_blank"
>
About
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-external-link"
width="18"
height="18"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#aaaaaa"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6" />
<path d="M11 13l9 -9" />
<path d="M15 4h5v5" />
</svg>
</a>
<a class="information-item" href="https://github.com/Dynamsoft/mrz-scanner-javascript/" target="_blank">
Github Projects
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-external-link"
width="18"
height="18"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#aaaaaa"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6" />
<path d="M11 13l9 -9" />
<path d="M15 4h5v5" />
</svg>
</a>
<a
class="information-item"
href="https://www.dynamsoft.com/contact/?utm_source=mrzdemo&package=js"
target="_blank"
>
Contact Us
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-external-link"
width="18"
height="18"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#aaaaaa"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6" />
<path d="M11 13l9 -9" />
<path d="M15 4h5v5" />
</svg>
</a>
</div>
<span id="notification"></span>
</div>
<div
class="camera-view-container"
style="
position: relative;
width: 100%;
height: calc(100% - 46px);
min-width: 100px;
min-height: 100px;
background: #6f6f6f;
overflow-y: hidden;
"
>
<svg
class="dce-bg-loading-self"
style="
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
width: 40%;
height: 40%;
fill: #aaa;
animation: 1s linear infinite dce-rotate;
"
viewBox="0 0 1792 1792"
>
<path
d="M1760 896q0 176-68.5 336t-184 275.5-275.5 184-336 68.5-336-68.5-275.5-184-184-275.5-68.5-336q0-213 97-398.5t265-305.5 374-151v228q-221 45-366.5 221t-145.5 406q0 130 51 248.5t136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5q0-230-145.5-406t-366.5-221v-228q206 31 374 151t265 305.5 97 398.5z"
/>
</svg>
<svg
class="dce-bg-camera"
style="
display: none;
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
width: 40%;
height: 40%;
fill: #aaa;
"
viewBox="0 0 2048 1792"
>
<path
d="M1024 672q119 0 203.5 84.5t84.5 203.5-84.5 203.5-203.5 84.5-203.5-84.5-84.5-203.5 84.5-203.5 203.5-84.5zm704-416q106 0 181 75t75 181v896q0 106-75 181t-181 75h-1408q-106 0-181-75t-75-181v-896q0-106 75-181t181-75h224l51-136q19-49 69.5-84.5t103.5-35.5h512q53 0 103.5 35.5t69.5 84.5l51 136h224zm-704 1152q185 0 316.5-131.5t131.5-316.5-131.5-316.5-316.5-131.5-316.5 131.5-131.5 316.5 131.5 316.5 316.5 131.5z"
/>
</svg>
<div class="dce-video-container" style="position: absolute; left: 0; top: 0; width: 100%; height: 100%"></div>
<div
class="dce-scanarea"
style="position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none"
>
<img
class="mrz-frame"
src="./assets/mrz-guide-box.svg"
alt="mrz-guide"
style="
display: none;
width: 100%;
height: 100%;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 1;
pointer-events: none;
"
/>
</div>
<!-- The "Powered by Dynamsoft" logo can be easily removed by eliminating the following line. -->
<div
class="dce-msg-poweredby"
style="position: absolute; left: 50%; bottom: 5%; transform: translateX(-50%); pointer-events: none"
>
<svg viewBox="0 0 94 17" style="height: max(3vmin, 17px); fill: #ffffff">
<g>
<path
d="M0.9,14V4.3h2.3c0.6,0,1,0.1,1.4,0.3c0.3,0.2,0.6,0.5,0.7,0.9s0.2,0.8,0.2,1.4c0,0.5-0.1,0.9-0.2,1.3
C5.1,8.5,4.9,8.8,4.5,9.1C4.2,9.3,3.7,9.4,3.2,9.4H1.8V14H0.9z M1.8,8.7h1.2c0.4,0,0.7-0.1,1-0.2S4.3,8.2,4.4,8
c0.1-0.3,0.2-0.6,0.2-1.1c0-0.5,0-0.9-0.1-1.2C4.3,5.4,4.2,5.2,3.9,5.1S3.4,5,2.9,5H1.8V8.7z"
/>
<path
d="M8.1,14.1c-0.5,0-0.8-0.1-1.1-0.3s-0.5-0.5-0.6-0.9s-0.2-0.9-0.2-1.4V9.6c0-0.6,0.1-1,0.2-1.4
C6.5,7.8,6.7,7.5,7,7.3S7.6,7,8.1,7C8.6,7,9,7.1,9.2,7.3s0.5,0.5,0.6,0.9C9.9,8.5,9.9,9,9.9,9.6v1.9c0,0.6-0.1,1-0.2,1.4
c-0.1,0.4-0.3,0.7-0.6,0.9S8.6,14.1,8.1,14.1z M8.1,13.4c0.3,0,0.5-0.1,0.7-0.2C8.9,13,9,12.8,9,12.5c0-0.3,0-0.6,0-1v-2
c0-0.4,0-0.7,0-1C9,8.2,8.9,8,8.8,7.9C8.6,7.7,8.4,7.6,8.1,7.6c-0.3,0-0.5,0.1-0.7,0.2C7.3,8,7.2,8.2,7.2,8.5c0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<path
d="M92.7,14.1c-0.3,0-0.6-0.1-0.8-0.2s-0.3-0.3-0.4-0.5c-0.1-0.2-0.1-0.5-0.1-0.8V7.6h-0.9V7.1h0.9V4.9h0.9v2.1
h1.2v0.6h-1.2v4.8c0,0.3,0,0.6,0.1,0.7c0.1,0.1,0.2,0.2,0.5,0.2c0.1,0,0.2,0,0.2,0s0.2,0,0.3,0V14c-0.1,0-0.2,0-0.4,0.1
C92.9,14.1,92.8,14.1,92.7,14.1z"
/>
</g>
</svg>
</div>
</div>
</div>
<div class="result-container">
<div class="result-header">
<div class="result-title">Scan Results</div>
<!-- .information-btn opens the info list from the main scanner header-->
<div class="information-btn">
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-info-circle"
width="32"
height="32"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="#aaaaaa"
fill="none"
stroke-linecap="round"
stroke-linejoin="round"
>
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0" />
<path d="M12 9h.01" />
<path d="M11 12h1v4h1" />
</svg>
</div>
</div>
<div class="parsed-result-area"></div>
<div class="restart-video">
<button class="btn-restart-video">Restart Video</button>
</div>
</div>
<div class="scan-mode-container">
<div class="scan-mode-content">
<button type="button" class="scan-option-btn" id="scan-id-btn">ID</button>
<button type="button" class="scan-option-btn" id="scan-passport-btn">Passport</button>
<button type="button" class="scan-option-btn" id="scan-both-btn">Both</button>
</div>
</div>
<script src="./js/const.js"></script>
<script type="module" src="./js/init.js"></script>
<script type="module" src="./js/index.js"></script>
</body>
</html>