-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathobject.html
More file actions
30 lines (24 loc) · 1.2 KB
/
Copy pathobject.html
File metadata and controls
30 lines (24 loc) · 1.2 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Object Detection</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="object.css">
</head>
<center>
<h1>OBJECT DETECTION</h1>
<center><p>wait for the model to load...</p></center>
<section id="demos" class="invisible">
<center><div id="liveView" class="camView">
<button id="webcamButton">Enable Webcam</button>
<video id="webcam" autoplay width="640" height="480"></video>
</div></center>
<!-- <p>Hold some objects up close to your webcam to get a real-time classification! When ready click "enable webcam" below and accept access to the webcam when the browser asks (check the top left of your window)</p> -->
</section>
<center><script src="https://cdn.jsdelivr.net/npm/@tensorflow/tfjs/dist/tf.min.js" type="text/javascript"></script></center>
<center><script src="https://cdn.jsdelivr.net/npm/@tensorflow-models/coco-ssd"></script></center>
<center><script src="script.js" defer></script></center>
</body>
</html>