-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
46 lines (40 loc) · 1.39 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
45
46
<html>
<head>
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1"
/>
<link rel="stylesheet" href="handpose.css" />
<title>HANDPOSE ///</title>
</head>
<body>
<main>
<h1>/// HANDPOSE ///</h1>
<h1>Camera input</h1>
<div id="canvas-wrapper">
<video id="video" width="320" height="240" playsinline muted></video>
<canvas id="output"></canvas>
</div>
<h1>Hand openness</h1>
<pre id="detection">(loading handpose detection…)</pre>
<h1>MIDI output device</h1>
<div id="midi-status"></div>
<select id="output-select">
<option disabled selected>Requesting MIDI access.</option>
</select>
<div id="midi-signals"></div>
</main>
<a
class="about"
href="https://github.com/max-vogler/midi/tree/master/handpose"
target="_blank"
title="About HANDPOSE"
>?</a
>
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-core.js"></script>
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-converter.js"></script>
<script src="https://unpkg.com/@tensorflow/[email protected]/dist/tf-backend-webgl.js"></script>
<script src="https://unpkg.com/@tensorflow-models/[email protected]/dist/handpose.js"></script>
<script src="handpose.js"></script>
</body>
</html>