forked from Ultimecia1463/GTM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
33 lines (32 loc) · 1.26 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
<!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">
<title>My Awesome Website</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="red-square"></div>
</div>
<div id="webcam-container">
<canvas id="canvas"></canvas>
</div>
<div id="instructions">
<h2>Project Instructions:</h2>
<p>This project uses machine learning to detect hand gestures and move a red square accordingly.</p>
<ul>
<li><strong>Fist:</strong> Move the red square to the right.</li>
<li><strong>Palm:</strong> Move the red square to the left.</li>
<li><strong>Thumbs Up:</strong> Move the red square up.</li>
<li><strong>Thumbs Down:</strong> Move the red square down.</li>
</ul>
</div>
<button type="button" onclick="init()">Start</button>
<script src="script.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@teachablemachine/[email protected]/dist/teachablemachine-pose.min.js"></script>
</body>
</html>