Spaces:
Sleeping
Sleeping
Create static/index.html
Browse files- static/index.html +25 -0
static/index.html
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!doctype html>
|
| 2 |
+
<html>
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="utf-8" />
|
| 5 |
+
<title>Gesture Slide Viewer</title>
|
| 6 |
+
<link rel="stylesheet" href="/static/styles.css">
|
| 7 |
+
</head>
|
| 8 |
+
<body>
|
| 9 |
+
|
| 10 |
+
<h2 style="text-align:center;">Gesture Slide Viewer</h2>
|
| 11 |
+
|
| 12 |
+
<img id="slide" src="" style="max-width:700px; border-radius:10px;" />
|
| 13 |
+
<div id="count" style="font-size:18px; margin:10px;"></div>
|
| 14 |
+
|
| 15 |
+
<video id="webcam" autoplay muted playsinline width="320" height="240"></video>
|
| 16 |
+
<canvas id="overlay" width="320" height="240"></canvas>
|
| 17 |
+
|
| 18 |
+
<!-- MediaPipe Hands -->
|
| 19 |
+
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/hands/hands.js"></script>
|
| 20 |
+
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/camera_utils/camera_utils.js"></script>
|
| 21 |
+
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/drawing_utils/drawing_utils.js"></script>
|
| 22 |
+
|
| 23 |
+
<script src="/static/script.js"></script>
|
| 24 |
+
</body>
|
| 25 |
+
</html>
|