-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
49 lines (40 loc) · 1.32 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
47
48
49
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pre-trained model</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="tfjs-example-container">
<h1>TensorFlow.js: Using a pre-trained model</h1>
<!-- part 1 -->
<!-- <section id="uploaded-image">
<section id="input">
<h2>Prediction using an uploaded image</h2>
<div id="file-container">
<input type="file" id="file" name="file" />
</div>
<div id="loaded-image"></div>
</section>
<section id="predictions">
<div class="output"></div>
<div id="predictions"></div>
</section>
</section> -->
<!-- part 2 & 3 -->
<section id="webcam-section">
<section id="input">
<h2>Prediction using an image captured from the webcam</h2>
<button id="predict" disabled>Predict</button>
<button id="webcam">Webcam</button>
<button id="pause">Capture</button>
<video></video>
<canvas id="canvas"> </canvas>
</section>
<div id="predictions"></div>
</section> -->
<script type="module" src="part3.js"></script>
</div>
</body>
</html>