-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (30 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/assets/images/favicon.png" type="image/x-icon">
<title>Tensorflow in the Web</title>
<link rel="stylesheet" href="beauty.css">
</head>
<body>
<div id="root" class="blur">
<p class="description"><span class="special-text">Hold some objects up close to your webcam to get a real-time
classification!</span>
<br />When ready click "enable webcam"
below and accept access to the webcam when the browser asks (check the top left of your window)
</p>
<div id="liveView" class="camView">
<button id="webcam-btn">Access WebCam</button>
<video id="webcam" class="removed" autoplay></video>
</div>
</div>
<div id="loader" class="loader-wrapper">
<img src="./assets/images/loading-concept.svg"/>
</div>
<!-- Tensorflow CDN Link & COCO-SSD pretrained model link -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/coco-ssd"></script>
<script src="run.js"></script>
</body>
</html>