-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (54 loc) · 1.36 KB
/
index.html
File metadata and controls
59 lines (54 loc) · 1.36 KB
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" />
<title>Hand Tracking 3D</title>
<style>
body {
margin: 0;
overflow: hidden;
font-family: Arial, sans-serif;
}
#instructions {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.7);
color: white;
padding: 15px 25px;
border-radius: 10px;
text-align: center;
max-width: 600px;
}
#instructions h3 {
margin: 0 0 10px 0;
color: #4caf50;
}
#instructions ol {
text-align: left;
margin: 10px 0;
padding-left: 20px;
}
#instructions li {
margin: 5px 0;
}
</style>
</head>
<body>
<div id="instructions">
<h3>🚀 Setup Instructions</h3>
<ol>
<li>Run: <code>node bridge.js</code> in terminal</li>
<li>Run: <code>python hand_tracking.py</code></li>
<li>Show your hand to the camera</li>
<li>Watch the 3D model move!</li>
</ol>
<p style="font-size: 12px; margin-top: 10px">
Press 'q' in the camera window to quit
</p>
</div>
<script type="module" src="main.js"></script>
</body>
</html>