-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
59 lines (51 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/css/bulma.min.css">
<link rel="icon" href="favicon.ico">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/control_utils.css" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="demo.css" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/camera_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/control_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/drawing_utils.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/[email protected]/pose.js" crossorigin="anonymous"></script>
<title>SQUAT DETECTOR</title>
</head>
<body>
<!-- CONTENTS -->
<div class="container" style="margin-top: 20px;">
<div class="columns">
<!-- WEBCAM INPUT -->
<div class="column">
<article class="panel is-info">
<p class="panel-heading">
Webcam
</p>
<div class="panel-block">
<video class="input_video5"></video>
</div>
</article>
</div>
<!-- MEDIAPIPE OUTPUT -->
<div class="column">
<article class="panel is-info">
<p class="panel-heading">
Squat Detection
</p>
<div class="panel-block">
<canvas class="output5" width="480px" height="480px"></canvas>
</div>
</article>
<span class="squat-counter"></span>
</div>
</div>
<div class="loading">
<div class="spinner"></div>
</div>
<div style="visibility: hidden;" class="control5">
</div>
<script type="text/javascript" src="./index.js"></script>
</body>
</html>