-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
69 lines (59 loc) · 1.7 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
<html>
<head>
<meta charset="utf-8">
<title>Face Mask Detection</title>
<meta name="description" content="Face mask detection using deep learning">
<meta name="author" content="ariefrahmansyah">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="//fonts.googleapis.com/css?family=Raleway:400,300,600" rel="stylesheet" type="text/css">
<link rel="stylesheet" href="assets/css/normalize.css">
<link rel="stylesheet" href="assets/css/skeleton.css">
<style>
.container {
max-width: 640px;
}
.webcam-view {
position: relative;
}
canvas {
position: absolute;
top: 0;
left: 0;
}
</style>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-171170081-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-171170081-1');
</script>
</head>
<body>
<div class="container">
<div class="row" style="margin-top: 3%">
<div class="column">
<h4>Face Mask Detection</h4>
</div>
</div>
<div class="row">
<div id="live-view" class="column webcam-view">
<video id="video" width="640" height="480" playsinline style="
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
width: auto;
height: auto;">
</video>
<canvas id="output"></canvas>
</div>
</div>
<div class="row">
<div class="column">
<p id="loading-model">Loading magics...</p>
</div>
</div>
</div>
<script src="./index.js"></script>
</body>
</html>