-
Notifications
You must be signed in to change notification settings - Fork 1
/
indexall.html
72 lines (57 loc) · 3.17 KB
/
indexall.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
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<link rel="stylesheet" href="style.css">
<!-- <div id = "center"></div>-->
<table>
<tr>
<td>
<h1 id = "label">Jewellery Tryon <span style="font-size:20px">(BETA)</span></h1>
<!-- <h4>WARNING: RESIZING WINDOW MAY CRASH PROGRAM!</h4>-->
<a href="info.html"><h5>What is this - instructions</h5></a>
<h3 id="loading-text"></h3>
<h4 id = "FPS" ></h4>
<div class="borderimage" id = "container">
<video autoplay="true" id="video"></video>
<canvas id = "draw" ></canvas>
<button id = "stopVideo" ><h6>Stop/Pause</h6></button>
<button id = "threeJS"><h6>Play/Resume</h6></button>
<button id = "takePic"><h6>Take Photo</h6></button>
<button id = "resetOrbit"><h6>Reset Orbit Controls</h6></button>
<div id = "loader" class = "dormant-state"></div>
</div>
</td>
<td >
<div id="photosection">
<h1>Pictures</h1>
<h4>View your pictures here. Right click and save image</h3>
<div id="photolist" class="scroller">
</div>
</td>
</tr>
</table>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-core@2.4.0/dist/tf-core.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-webgl@2.4.0"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-converter@2.4.0/dist/tf-converter.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs-backend-wasm/dist/tf-backend-wasm.js"></script>-->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/facemesh@0.0.4"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/posenet"></script>
<script src="https://unpkg.com/@tensorflow-models/handpose@0.0.6/dist/handpose.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/@mediapipe/holistic/holistic.js" crossorigin="anonymous"></script>-->
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/pose@0.3.1620144886/pose.min.js" crossorigin="anonymous"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/@mediapipe/face_mesh/face_mesh.js" crossorigin="anonymous"></script>-->
<script src = "third-party/dat.gui.js"></script>
<!-- <script src="https://threejs.org/build/three.js"></script>-->
<script src="./third-party/face.js" type="module"></script>
<script src="./third-party/geometry.js" type="module"></script>
<script src="./third-party/triangulation.js" type="module"></script>
<script src="./third-party/OBJLoader.js" type="module"></script>
<script src="./js/index.js" type="module"></script>
</body>
<!--
<footer>
</footer>
-->
</html>