forked from yong-asial/ml5-object-detection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
54 lines (45 loc) · 1.24 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
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<title>ML5 Object Detection</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.4.0/p5.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/ml5.min.js"></script>
<link rel="stylesheet" href="styles.css">
<meta charset="utf-8" />
<style>
body, div.container{
text-align:center;
}
div.container{
width:700px;
margin:auto;
}
div.text_left{
text-align: left;
}
h1 img{
vertical-align: middle;
margin-right:20px;
}
</style>
</head>
<body>
<div class="container text_left">
<h1> <img src="https://avatars.githubusercontent.com/u/55849022" width="100" /> Object Detection Demo </h1>
<hr/>
</div>
<div id="vdodiv" class="container">
</div>
<!-- <p>
<button id="toggleVideoEl" onclick="toggleVideo()">Hide Video</button>
<button id="toggleDetectingEl" onclick="toggleDetecting()">Start Detecting</button>
</p>
-->
<script src="app.js"></script>
<div class="container">
<hr/>
<p>SAIG | KMITL</p>
<small><i>modified from: <a target="_blank" src="https://github.com/yong-asial/ml5-object-detection">https://github.com/yong-asial/ml5-object-detection</a></i></small>
</div>
</body>
</html>