-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
53 lines (52 loc) · 1.64 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
href="https://fonts.googleapis.com/css?family=Cutive+Mono&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: 'Cutive Mono', monospace;
}
.main-section {
height: 80vh;
display: flex;
justify-content: space-around;
align-items: center;
}
</style>
<title>hand detector</title>
</head>
<body>
<header class="bg-dark py-3 text-center text-white">
<h3>
<i class="fa fa-hand-peace-o" aria-hidden="true"></i> My Awesome Hand
Detector <i class="fa fa-hand-peace-o" aria-hidden="true"></i>
</h3>
</header>
<div id="loeader" class="my-5 text-center">
<h2>Loading your webcam to track your beautiful hands....</h2>
</div>
<section class="main-section">
<audio src="./beep.mp3" id="audio"></audio>
<video id="video"></video>
<canvas id="canvas"></canvas>
</section>
</body>
<script src="https://cdn.jsdelivr.net/npm/handtrackjs/dist/handtrack.min.js"></script>
<script src="./app.js"></script>
</html>