-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (30 loc) · 1.28 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
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/webrtc-adapter/3.3.3/adapter.min.js"></script>
<script type="text/javascript" src="js/instascan.min.js"></script>
<script type="text/javascript" src="js/quagga.min.js"></script>
<script type="text/javascript" src="js/qr_barcode_scanner.js"></script>
<script type="text/javascript" src="js/1d_barcode_scanner.js"></script>
<script type="text/javascript" src="js/barcode_controls.js"></script>
</head>
<body>
<h1>Barcode Scanner</h1>
<p>Place the barcode in front of the camera so it's completely in view.</p>
<select id="barcode-selector">
<option value="">Select a type of barcode to scan</option>
<option value="1d">Scan 1D Barcode</option>
<option value="qr">Scan QR Barcode</option>
</select>
<br>
<!-- For QR barcodes -->
<video id="barcode-capture"></video>
<h3 id="barcode-result"></h3>
<!-- For 1D barcodes -->
<div id="quagga"></div>
<div id="result_strip">
<ul class="thumbnails"></ul>
</div>
</body>
</html>