-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathindex.html
355 lines (338 loc) · 45.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="./favicon.ico" type="image/x-icon" />
<link rel="canonical" href="https://demo.dynamsoft.com/Samples/DBR/JS/index.html">
<link rel="stylesheet" href="balloon.min.css">
<!-- Used for tooltip styling -->
<title>Dynamsoft Barcode Reader Samples</title>
</head>
<body>
<div class="filetree">
<a href="https://www.dynamsoft.com/" target="_blank">
<div class="ds-logo"></div>
</a>
<div class="file">
<h3>Barcode Reader Samples</h3>
</div>
<div class="children">
<div class="file">Hello World</div>
<div class="children">
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Minimum necessary
JavaScript code to read barcodes from camera." class="button title" href="hello-world/hello-world.html">Hello
World</a><span id="icon001" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/hello-world/hello-world.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Decode barcodes
using images that are stored locally,
whether on mobile or desktop." class="button title" href="hello-world/read-an-image.html">Read
an Existing
Image</a><span id="icon002" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/hello-world/read-an-image.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in an Angular
Application." class="button title" onclick="linkRedirect('angular')" href="javascript:void(0);">Hello World in
Angular (<img alt="Angular logo"
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNTAgMjUwIj4KICAgIDxwYXRoIGZpbGw9IiNERDAwMzEiIGQ9Ik0xMjUgMzBMMzEuOSA2My4ybDE0LjIgMTIzLjFMMTI1IDIzMGw3OC45LTQzLjcgMTQuMi0xMjMuMXoiIC8+CiAgICA8cGF0aCBmaWxsPSIjQzMwMDJGIiBkPSJNMTI1IDMwdjIyLjItLjFWMjMwbDc4LjktNDMuNyAxNC4yLTEyMy4xTDEyNSAzMHoiIC8+CiAgICA8cGF0aCAgZmlsbD0iI0ZGRkZGRiIgZD0iTTEyNSA1Mi4xTDY2LjggMTgyLjZoMjEuN2wxMS43LTI5LjJoNDkuNGwxMS43IDI5LjJIMTgzTDEyNSA1Mi4xem0xNyA4My4zaC0zNGwxNy00MC45IDE3IDQwLjl6IiAvPgogIDwvc3ZnPg==" />)</a>
<span id="icon003" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/angular" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a Blazor
Application." class="button title" onclick="linkRedirect('blazor')" href="javascript:void(0);">Hello World in
Blazor (<img alt="Blazor logo"
src="data:image/svg+xml;base64,PHN2ZyBmaWxsPSJub25lIiBoZWlnaHQ9IjIyNDgiIHZpZXdCb3g9Ii0xMC4xMjAyMTg3NSAtNTMuNjA5NTEwMzYgMzM5Ljk1Mzk3NTI5IDM0My4wMjIzNTA5MyIgd2lkdGg9IjI1MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTMwMy45MzUgODguNDc5Yy02LjU5OCA0MS4zNjItMjcuNjUzIDc5LjA0MS01OS40MiAxMDYuMzM1cy03Mi4xODUgNDIuNDMzLTExNC4wNjQgNDIuNzIzYy04LjQ4My4zMjYtMTYuOTc3LS4xOS0yNS4zNTgtMS41MzlhNzcuNzIzIDc3LjcyMyAwIDAgMSAtNjQuNjMtNzMuMjY2IDc1LjQ3OSA3NS40NzkgMCAwIDEgMjIuMTQtNTIuNzYyIDc1LjQ2IDc1LjQ2IDAgMCAxIDEwNS44ODUtLjc0OCA3NS40NzggNzUuNDc4IDAgMCAxIDIyLjg4NCA1Mi40NDNjLjMxNyAxMi41MS01LjEwMiAyMy40ODMtMTYuMjM5IDIzLjgtMTEuODk5IDAtMTcuNDc3LTguNDkxLTE3LjQ3Ny0xOS45MzR2LTMxLjc5N2ExOS40NzggMTkuNDc4IDAgMCAwIC0xOS4zMjMtMTkuNDk0aC0yNi42NTNhNDYuMzg2IDQ2LjM4NiAwIDAgMCAtMzkuMTE5IDIwLjk2MSA0Ni4zOTkgNDYuMzk5IDAgMCAwIDMxLjU4NyA3MS4yNjggNDYuMzky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DAgMCAwIDEuNDI0LjUwNyAxMDguMTU4IDEwOC4xNTggMCAwIDAgNzUuMTk4LTYyLjAxM2MuMTczLS4yNzcuNDExLS41MDcuNjk1LS42N2ExLjkwMiAxLjkwMiAwIDAgMSAxLjg2OSAwYy4yODQuMTYyLjUyMy4zOTIuNjk0LjY3YTEzNy4wOTggMTM3LjA5OCAwIDAgMSAxMy40NDcgODcuNDMyem0tMTg5Ljk2NCA0NC44NThhMjcuODIzIDI3LjgyMyAwIDAgMCAtMjcuMjkzIDMzLjI1NSAyNy44MyAyNy44MyAwIDAgMCAyMS44NjIgMjEuODY1IDI3LjgyNCAyNy44MjQgMCAwIDAgMzMuMjUxLTI3LjI5NnYtMjUuOTc3YTIuMDA3IDIuMDA3IDAgMCAwIC0xLjkwNC0xLjkwNHoiIGZpbGw9IiM3MDJhZjciLz48L3N2Zz4=" />)</a>
<span id="icon003" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/Blazor" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a React
Application." class="button title" onclick="linkRedirect('react')" href="javascript:void(0);">
Hello World in
React (<img alt="React logo"
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4NDEuOSA1OTUuMyI+PGcgZmlsbD0iIzYxREFGQiI+PHBhdGggZD0iTTY2Ni4zIDI5Ni41YzAtMzIuNS00MC43LTYzLjMtMTAzLjEtODIuNCAxNC40LTYzLjYgOC0xMTQuMi0yMC4yLTEzMC40LTYuNS0zLjgtMTQuMS01LjYtMjIuNC01LjZ2MjIuM2M0LjYgMCA4LjMuOSAxMS40IDIuNiAxMy42IDcuOCAxOS41IDM3LjUgMTQuOSA3NS43LTEuMSA5LjQtMi45IDE5LjMtNS4xIDI5LjQtMTkuNi00LjgtNDEtOC41LT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U4LjMtNTAuNiA4LjYtMy43IDE4LTcgMjcuNy0xMC4xIDUuNyAxOS42IDEzLjIgNDAgMjIuNSA2MC45LTkuMiAyMC44LTE2LjYgNDEuMS0yMi4yIDYwLjYtOS45LTMuMS0xOS4zLTYuNS0yOC0xMC4yek0zMTAgNDkwYy0xMy42LTcuOC0xOS41LTM3LjUtMTQuOS03NS43IDEuMS05LjQgMi45LTE5LjMgNS4xLTI5LjQgMTkuNiA0LjggNDEgOC41IDYzLjUgMTAuOSAxMy41IDE4LjUgMjcuNSAzNS4zIDQxLjYgNTAtMzIuNiAzMC4zLTYzLjIgNDYuOS04NCA0Ni45LTQuNS0uMS04LjMtMS0xMS4zLTIuN3ptMjM3LjItNzYuMmM0LjcgMzguMi0xLjEgNjcuOS0xNC42IDc1LjgtMyAxLjgtNi45IDIuNi0xMS41IDIuNi0yMC43IDAtNTEuNC0xNi41LTg0LTQ2LjYgMTQtMTQuNyAyOC0zMS40IDQxLjMtNDkuOSAyMi42LTIuNCA0NC02LjEgNjMuNi0xMSAyLjMgMTAuMSA0LjEgMTkuOCA1LjIgMjkuMXptMzguNS02Ni43Yy04LjYgMy43LTE4IDctMjcuNyAxMC4xLTUuNy0xOS42LTEzLjItNDAtMjIuNS02MC45IDkuMi0yMC44IDE2LjYtNDEuMSAyMi4yLTYwLjYgOS45IDMuMSAxOS4zIDYuNSAyOC4xIDEwLjIgMzUuNCAxNS4xIDU4LjMgMzQuOSA1OC4zIDUwLjYtLjEgMTUuNy0yMyAzNS42LTU4LjQgNTAuNnpNMzIwLjggNzguNHoiLz48Y2lyY2xlIGN4PSI0MjAuOSIgY3k9IjI5Ni41IiByPSI0NS43Ii8+PHBhdGggZD0iTTUyMC41IDc4LjF6Ii8+PC9nPjwvc3ZnPg==" />)</a>
<span id="icon004" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/react" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a React
Application." class="button title" onclick="linkRedirect('react_hooks')" href="javascript:void(0);">
Hello World in
React(using Hooks)(<img alt="React logo"
src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA4NDEuOSA1OTUuMyI+PGcgZmlsbD0iIzYxREFGQiI+PHBhdGggZD0iTTY2Ni4zIDI5Ni41YzAtMzIuNS00MC43LTYzLjMtMTAzLjEtODIuNCAxNC40LTYzLjYgOC0xMTQuMi0yMC4yLTEzMC40LTYuNS0zLjgtMTQuMS01LjYtMjIuNC01LjZ2MjIuM2M0LjYgMCA4LjMuOSAxMS40IDIuNiAxMy42IDcuOCAxOS41IDM3LjUgMTQuOSA3NS43LTEuMSA5LjQtMi45IDE5LjMtNS4xIDI5LjQtMTkuNi00LjgtNDEtOC41LTYzLjUtMTAuOS0xMy41LTE4LjUtMjcuNS0zNS4zLTQxLjYtNTAgMzIuNi0zMC4zIDYzLjItNDYuOSA4NC00Ni45Vjc4Yy0yNy41IDAtNjMuNSAxOS42LTk5LjkgNTMuNi0zNi40LTMzLjgtNzIuNC01My4yLTk5LjktNTMuMnYyMi4zYzIwLjcgMCA1MS40IDE2LjUgODQgNDYuNi0xNCAxNC43LTI4IDMxLjQtNDEuMyA0OS45LTIyLjYgMi40LTQ0IDYuMS02My42IDExLTIuMy0xMC00LTE5LjctNS4yLTI5LTQuNy0zOC4yIDEuMS02Ny45IDE0LjYtNzUuOCAzLTEuOCA2LjktMi42IDExLjUtMi42Vjc4LjVjLTguNCAwLTE2IDEuOC0yMi42IDUuNi0yOC4xIDE2LjItMzQuNCA2Ni43LTE5LjkgMTMwLjEtNjIuMiAxOS4yLTEwMi43IDQ5LjktMTAyLjcgODIuMyAwIDMyLjUgNDAuNyA2My4zIDEwMy4xIDgyLjQtMTQuNCA2My42LTggMTE0LjIgMjAuMiAxMzAuNCA2LjUgMy44IDE0L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MTkuOCA1LjIgMjkuMXptMzguNS02Ni43Yy04LjYgMy43LTE4IDctMjcuNyAxMC4xLTUuNy0xOS42LTEzLjItNDAtMjIuNS02MC45IDkuMi0yMC44IDE2LjYtNDEuMSAyMi4yLTYwLjYgOS45IDMuMSAxOS4zIDYuNSAyOC4xIDEwLjIgMzUuNCAxNS4xIDU4LjMgMzQuOSA1OC4zIDUwLjYtLjEgMTUuNy0yMyAzNS42LTU4LjQgNTAuNnpNMzIwLjggNzguNHoiLz48Y2lyY2xlIGN4PSI0MjAuOSIgY3k9IjI5Ni41IiByPSI0NS43Ii8+PHBhdGggZD0iTTUyMC41IDc4LjF6Ii8+PC9nPjwvc3ZnPg==" />)</a>
<span id="icon013" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/react-hooks" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a Vue 3
Application." class="button title" onclick="linkRedirect('vue')" href="javascript:void(0);">
Hello World in
Vue (<img alt="Vue logo"
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyNpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZG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hP8vwADACog5YM65zugAAAAAElFTkSuQmCC" />)</a>
<span id="icon006" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/vue" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a Next.js
Application." target="_blank" class="button title" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/next#readme">
Hello World in
Next.js (<svg width="30px" height="17px" viewBox="0 0 207 124" version="1.1"
xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<g id="Black-Next.js" transform="translate(-247.000000, -138.000000)" fill="#000000"
fill-rule="nonzero">
<g id="next-black" transform="translate(247.000000, 138.000000)">
<g id="EXT-+-Type-something">
<path
d="M48.9421964,32.6320058 L87.9011585,32.6320058 L87.9011585,35.7136421 L52.5134345,35.7136421 L52.5134345,58.9070103 L85.7908813,58.9070103 L85.7908813,61.9886466 L52.5134345,61.9886466 L52.5134345,87.4526941 L88.306981,87.4526941 L88.306981,90.5343303 L48.9421964,90.5343303 L48.9421964,32.6320058 Z M91.3912326,32.6320058 L95.5306221,32.6320058 L113.8738,58.0960534 L132.622801,32.6320058 L158.124498,0.286809811 L116.22757,60.7722112 L137.817329,90.5343303 L133.51561,90.5343303 L113.8738,63.4483691 L94.1508254,90.5343303 L89.9302715,90.5343303 L111.682358,60.7722112 L91.3912326,32.6320058 Z M139.359455,35.713642 L139.359455,32.6320058 L183.756439,32.6320058 L183.756439,35.7136421 L163.302983,35.7136421 L163.302983,90.5343303 L159.731745,90.5343303 L159.731745,35.7136421 L139.359455,35.713642 Z"
id="EXT"></path>
<polygon id="Type-something"
points="0.202923647 32.6320058 4.66697141 32.6320058 66.2235778 124.303087 40.785176 90.5343303 3.93649086 37.0111732 3.77416185 90.5343303 0.202923647 90.5343303">
</polygon>
</g>
<path
d="M183.396622,86.5227221 C184.134938,86.5227221 184.673474,85.9601075 184.673474,85.233037 C184.673474,84.5059658 184.134938,83.9433513 183.396622,83.9433513 C182.666993,83.9433513 182.11977,84.5059658 182.11977,85.233037 C182.11977,85.9601075 182.666993,86.5227221 183.396622,86.5227221 Z M186.905793,83.1297235 C186.905793,85.2763149 188.460599,86.678523 190.727662,86.678523 C193.142388,86.678523 194.601647,85.233037 194.601647,82.7229099 L194.601647,73.8855335 L192.655968,73.8855335 L192.655968,82.7142542 C192.655968,84.1078073 191.952397,84.8521899 190.710289,84.8521899 C189.598473,84.8521899 188.842785,84.1597409 188.816727,83.1297235 L186.905793,83.1297235 Z M197.146664,83.0172011 C197.285642,85.2503478 199.153145,86.678523 201.932686,86.678523 C204.903321,86.678523 206.762139,85.1811034 206.762139,82.792155 C206.762139,80.9138876 205.702439,79.8752151 203.131364,79.2779777 L201.750279,78.9404092 C200.117298,78.5595622 199.457158,78.0488813 199.457158,77.1573541 C199.457158,76.0321243 200.482113,75.296398 202.019547,75.296398 C203.478806,75.296398 204.48639,76.0148135 204.668797,77.1660091 L206.562359,77.1660091 C206.44944,75.0626962 204.590622,73.5825873 202.045605,73.5825873 C199.309495,73.5825873 197.48542,75.0626962 197.48542,77.2871878 C197.48542,79.1221767 198.519063,80.2127835 200.786126,80.7407758 L202.401734,81.1302779 C204.060773,81.5197807 204.790402,82.091051 204.790402,83.0431676 C204.790402,84.1510859 203.643842,84.9560573 202.08035,84.9560573 C200.403939,84.9560573 199.240006,84.2030196 199.074971,83.0172011 L197.146664,83.0172011 Z"
id=".JS"></path>
</g>
</g>
</g>
</svg>)</a><span id="icon007" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/next" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a NuxtJS
Application." class="button title" target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/nuxt#readme">
Hello World in
NuxtJS (<svg width="20px" height="17px" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 400 400">
<g fill-rule="nonzero" transform="translate(0 50)" fill="none">
<path
d="M227.92099 83.45116l-13.6889 24.10141-46.8148-82.44693L23.7037 278.17052h97.3037c0 13.31084 10.61252 24.10142 23.70371 24.10142H23.70371c-8.46771 0-16.29145-4.59601-20.5246-12.05272-4.23315-7.4567-4.23272-16.64312.00114-24.0994L146.89383 13.05492c4.23415-7.45738 12.0596-12.05138 20.5284-12.05138 8.46878 0 16.29423 4.594 20.52839 12.05138l39.97037 70.39623z"
fill="#00C58E" />
<path
d="M331.6642 266.11981l-90.05432-158.56724-13.6889-24.10141-13.68888 24.10141-90.04445 158.56724c-4.23385 7.45629-4.23428 16.64271-.00113 24.09941 4.23314 7.4567 12.05689 12.05272 20.5246 12.05272h166.4c8.46946 0 16.29644-4.591 20.532-12.04837 4.23555-7.45736 4.23606-16.64592.00132-24.10376h.01976zM144.7111 278.17052L227.921 131.65399l83.19012 146.51653h-166.4z"
fill="#2F495E" />
<path
d="M396.04938 290.22123c-4.23344 7.45557-12.05656 12.0507-20.52345 12.0507H311.1111c13.0912 0 23.7037-10.79057 23.7037-24.10141h40.66173L260.09877 74.98553l-18.4889 32.56704L227.921 83.45116l11.65432-20.51634c4.23416-7.45738 12.0596-12.05138 20.5284-12.05138 8.46879 0 16.29423 4.594 20.52839 12.05138l115.41728 203.185c4.23426 7.457 4.23426 16.6444 0 24.1014z"
fill="#108775" />
</g>
</svg>)</a><span id="icon008" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/nuxt" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera and images in a Electron
Application." class="button title" target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/electron#readme">
Hello World in
Electron (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W1U9VBdW1pcTM/RI5KOzTij4rWyshKikShur1dq8jO/trdR3/KhkYICuXDkkPEtVNCF2VggYDBLxGLExa/iNd9TNUyHQixfs1ZEVWkcPrb7bR6qfYZ1L70slHWDejqZEr3FjRo9uXMX5Rs2Ep4KGaNg6MR913Ie3baNovJyzu/fh7OwEEeem7EBP2tfeFHSUKnJzcIgU3Riczq50dvLj21tTIwPLSj2Mj7fVjyFBVhkVqIzM/h27+Hr9/ZitlgkOMKqunqGfrgirGSOhFVwbJyOjq8WFavqdvDwJ+x5p4WioruNTqjCVb7eRKDnIqVV1XR9vM+ogxqH0eAffPTBXnY0vaJCF0GUKUbPN75qtM62xEpaOpYvHfvz2jVMGRbmZIbUFH/5WavBYMHuAFmwEyfbOf3NefxXB5iS4uXIXP3//wT+Bb4xmi8orIo3AAAAAElFTkSuQmCC">)</a>
<span id="icon009" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/electron" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera in a progressive web application." class="button title" href="hello-world/pwa/helloworld-pwa.html">Hello World in
PWA</a><span id="icon010" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/pwa" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera in a web application that uses RequireJS." class="button title" href="hello-world/requirejs.html">Hello
World with
RequireJS</a><span id="icon011" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/hello-world/requirejs.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera in a web application that uses ES6." class="button title" href="hello-world/es6.html">Hello
World with
ES6</a><span id="icon012" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/es6.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="down" aria-label="Read barcodes from camera in WebView." target="_blank" class="button title" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/webview">
Hello World in
WebView </a><span id="icon007" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/webview" title="Check code on GitHub"></a>
</div>
</div>
<div class="file">Use Case</div>
<div class="children">
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read barcodes to fill a form." class="button title" href="use-case/fill-a-form-with-barcode-reading.html">Read Video and
Fill a
Form</a><span id="icon041" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/fill-a-form-with-barcode-reading.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read the PDF417 barcode on a driver's
license (AAMVA compliant) and parse it." class="button title" href="use-case/read-a-drivers-license/index.html">Read a
Driver's License</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/read-a-drivers-license/index.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Read barcodes from camera and show result texts on the video." class="button title" href="use-case/show-result-texts-on-the-video.html">Show Result Texts on the Video</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/show-result-texts-on-the-video.html" title="Check code on GitHub"></a>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Locate an item quickly by scanning barcodes." class="button title" href="use-case/locate-an-item-with-barcode/index.html">Find Item via Barcode</a><span id="icon042" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/main/use-case/locate-an-item-with-barcode/index.html" title="Check code on GitHub"></a>
</div>
</div>
<div class="file">Others</div>
<div class="children">
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Collect image frames which failed to be read for debugging purposes." class="button title" target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/others/debug">Collect
Images for Debugging</a><span id="icon051" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/others/debug" title="Check code on GitHub"></a>
</div>
</div>
<div class="file"><a data-balloon-length="fit" data-balloon-pos="up" aria-label="Official demo for Dynamsoft Barcode Reader JavaScript Edition" class="button title" href="https://demo.dynamsoft.com/barcode-reader-js/" target="_blank">Official Online Demo</a>
<span id="icon051" class="tooltipIcon"></span>
<a class="github" href="https://github.com/Dynamsoft/barcode-reader-javascript-demo" title="Check code on GitHub"></a>
</div>
</div>
</div>
</body>
<style>
body {
text-align: center;
font-family: "Open Sans", sans-serif;
}
.ds-logo {
height: 3vh;
background: url(logo-dynamsoft-black.svg) no-repeat 0;
}
h3 {
margin: 1vh auto;
}
.description {
border: dashed 1px gray;
padding: 1vmin;
}
.filetree {
text-align: left;
background-color: #fafafa;
border: 4px solid #dbdbdb;
border-radius: 4px;
margin: 0 auto;
max-width: 800px;
padding: 16px 32px;
}
.filetree .file {
display: block;
font-family: Roboto, Helvetica Neue Light, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;
letter-spacing: 0.3px;
line-height: 32px;
color: #333;
}
.filetree .children {
padding-left: 24px;
position: relative;
}
.filetree .children .file {
position: relative;
}
.filetree .children .file::before {
content: '';
left: -18px;
bottom: 16px;
width: 16px;
height: 20px;
position: absolute;
border-width: 0 0 1px 1px;
border-style: solid;
border-color: #dbdbdb;
border-radius: 0 0 0 3px;
}
[aria-label] {
line-height: 15px;
}
.title img,
.title svg {
height: 17px;
vertical-align: middle;
}
.tooltipIcon {
display: inline-block;
width: 17px;
height: 17px;
vertical-align: middle;
background-size: 100%;
margin-left: 5px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAg5JREFUOBGVkktrE2EUhjuTSUJwExCColSwFAIFaZFSwaZ0abx110rugf4Ef0Drr3AxaTKJZNFSNwYDJbgxblQQN22xFFpF0J07Dbn1OaFnGMciZOCb833vec/9GBMXfNlstmCa5n3DMBKoDznx4XDYBmuUy2XHb2J4gWKxuAB5h2Nj0EbuVyqVH4VC4UogEJjpdruL4Nl+v/+kVqt9VFvXSSqVuhEKhXYty3pg2/ZPJfhlJpO5isPXBFipVqtfXb1kkM/nXc+u4j8X+J84t4ViyU9KCAaD83L3ful0+jqZvaQ3S5T1x6vD5iH4W7CbxnkTJx3HeeYl6V3KrNfrp/r2Snq1wfvYkikMBoPnXqXcISSIttTr9f6ZhnKl+diumzJGGrWvCpXgQQiXKPOFYn5JgAMCLZooDmWMfgL78CYajW6C3/Hr9M10vhPsSJzEZQ9UMY7M5XLXyGTa5NeWRRrHWLlMboZMZJPNhmyiKsaRbO5d+vJqtLEszREZLUuNXifJZDIci8VanU5nLRKJBOjTN9VTyiQJ7NHPuPRkgscKabWUoLLZbHbQPQ2Hww6TshUXCd4Ceyz3USZywfNlHH0go3tk9EWwiz6GEAff49wii1/CcZ3Ig7KmEFuc9zj7TLQ2zftN3RGwBJFnCTQHViyVSqdgo+8vJwoS7RFOVnlPYbSAfMc5wck2WTaUp/IMAjTZicjWFTcAAAAASUVORK5CYII=) right center no-repeat;
}
.github {
display: inline-block;
width: 17px;
height: 17px;
vertical-align: middle;
background-size: 100%;
margin-left: 5px;
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAALISURBVDhPhZNrSNNRGMafzamVW8s0nWbetSw0wWtFIQlBoFTohzKioqK+VEJBhbm+BVnQByPICgksy+blgxeqeQntoqikhppadjG1i7Q5t0Ur38553QaG0A/Ozt7nvOc577n8QQtQUvaQ0rPySBkST1CHcp+WtYdulFU4M+Yzz8RQ+5jgHcQTao0tZLPbWbfbf1Jd41NKz84jeAVRZd0T1l24TfSXiwnaCOobGHIqC9M3OCzywklfVOxUnCaGOlHB0gj65XCw+D8cjt+8YGX9XEVsIrfQ0/+GhUvXb1NGzgGa/DZF3X39VPOoibp6++nL9ynKyD1IRWJc0ivy4R3M/1Uldw1IztyChLhYSIZHP6KluRW6mBRAqRBNCczOikYcx0SGcl68yE/J3Iyb9wxQlj6oRuGJozwgGRoZhadGDU2APzT+ftAs953rRSz1oZH3zkzgfP4xlN6vhkJen2ngBTRqH3ye/IqQ6CSog4OgUIgq/kFUjpnxCYyNdGGlLgCWGSt8126EctY0zQYSKUKlWtBAwrqHCharjWM574/JLHbsuxQms4XF1VERIslDHIE4gwVgXSyyJiqc4x9mMzyWaaFMTYyHse0li3KhwnMnYf00DqvNxuVLZG+12VkvOHOcNUljWzvSxHzIJ564LUfeFJ29eJX7552v6PBpPflEJ3NbEp1E+/MLqPlZB4+7SMjcReJ2nO/ES8fvxDxtoZDkrZwgY+jiSB2TQlgRS2MTk6y76Oju5fclYRP58uSHJrlTUUMIjCPPsPW0ODKJNLGpBL9oamhq5XGJ2BrBZxVVNRg5ZhPJhSvX2Gjw7SjHckuygjmTGGpt72a9s+c1G+hFvgu3iaSq3khYFEybdu6jQ6f0hOB1c9sRvYw3ZO8leAa6vxkXCvnjPGw3t8orUV5Tj+F3H/j6tVoNYiPDsHvHdhzJy3VmuQD+AtcedHvcbgpyAAAAAElFTkSuQmCC);
}
</style>
<link href="https://fonts.googleapis.com/css?family=Open+Sans&display=swap" rel="stylesheet" />
<script>
const tipIcons = document.getElementsByClassName("tooltipIcon");
let clicked = false;
let clickedIconId = "";
const showNode = function(evt) {
hideNode('all');
if (evt.target.nodeName === "SPAN" && evt.type === "click") {
clicked = true;
clickedIconId = evt.target.id;
setTimeout(function() {
clicked = false;
hideNode(evt);
}, 1000);
}
const titleNode = evt.target.previousElementSibling;
if (titleNode) {
titleNode.setAttribute('data-balloon-visible', '');
}
};
const hideNode = function(evt) {
if (evt === 'all') {
const allTitleNodes = document.getElementsByTagName('a');
for (let node of allTitleNodes) {
node.removeAttribute('data-balloon-visible');
}
return;
}
let timeOut = 0;
if (clicked && clickedIconId === evt.target.id) timeOut = 1000;
setTimeout(function() {
const titleNode = evt.target.previousElementSibling;
if (titleNode) {
titleNode.removeAttribute('data-balloon-visible');
}
}, timeOut);
};
for (tipIcon of tipIcons) {
tipIcon.addEventListener('mouseover', showNode, false);
tipIcon.addEventListener('mouseout', hideNode, false);
tipIcon.addEventListener('click', showNode, false);
}
function linkRedirect(sampleName) {
let localPath = "";
let onlineGuidePath = "";
switch (sampleName) {
case "angular":
localPath = "hello-world/angular/dist/angular/";
onlineGuidePath = "https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/angular#readme";
break;
case "blazor":
localPath = "hello-world/blazor/";
onlineGuidePath = "https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/blazor#readme";
break;
case "react":
localPath = "hello-world/react/build/";
onlineGuidePath = "https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/react#readme";
break;
case "vue":
localPath = "hello-world/vue/dist/";
onlineGuidePath = "https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/vue#readme";
break;
case "react_hooks":
localPath = "hello-world/react-hooks/build/";
onlineGuidePath = "https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/main/hello-world/react-hooks#readme";
break;
}
if (window.location.protocol === 'file:') {
window.open(onlineGuidePath, '_blank');
} else {
fetch(localPath)
.then(response => {
if (response.status === 200)
window.location.href = localPath;
else {
window.open(onlineGuidePath, '_blank');
}
});
}
}
</script>
</html>