-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (41 loc) · 1.55 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="./main.css">
<title>Lab3 :)</title>
<script src="../node_modules/@mediapipe/camera_utils/camera_utils.js" crossorigin="anonymous"></script>
<script src="../node_modules/@mediapipe/control_utils/control_utils.js" crossorigin="anonymous"></script>
<script src="../node_modules/@mediapipe/drawing_utils/drawing_utils.js" crossorigin="anonymous"></script>
<script src="../node_modules/@mediapipe/face_mesh/face_mesh.js" crossorigin="anonymous"></script>
<script type="importmap">
{
"imports": {
"three": "../node_modules/three/build/three.module.js"
}
}
</script>
</head>
<body>
<div id="info">
Touch & Drag - Move a light (on near plane) <br>
Zoom Action - Move the near plane
<p id="test">test</p>
</div>
<!-- <div class="video-options">
<select name="" id="" class="custom-select">
<option value="">Select camera</option>
</select>
</div> -->
<div class="container">
<video class="input_video" playsinline loop style="display:none" width="640" height="480">
</video>
<video class="input_recorded_video" playsinline loop style="display:none" width="640" height="480"
src="./video1.mov" muted>
</video>
<canvas class="output_canvas"></canvas>
</div>
<script type="module" src="practice3.js"></script>
</body>
</html>