-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
52 lines (49 loc) · 1.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600|Roboto Mono' rel='stylesheet' type='text/css'>
<title>Document</title>
</head>
<body class="">
<h1 class="title">Tensorflow.js</a> <a href="https://pjreddie.com/darknet/yolo/"><font>YoloV3</font></a></h1>
<div class="button-group">
<span class="button" id="button1">YOLOv3 DEMO (248M)</span>
<span class="button" id="button2">YOLOv3-tiny DEMO (35M)</span>
</div>
<div class="loading-box">
<div id="loading">
<div></div>
<div></div>
</div>
<p>Loading Model<font id="progress"></font></p>
<p class="tip">This may take a few minutes, depending on your network.</p>
</div>
<div class="content" style="display: none">
<label for="file" class="file-lable">
<input accept="image/*" type="file" name="file" id="file" style="display: none;">
<span class="upload-img">Try your own picture</span>
</label>
<div id="img-box">
<img src="/images/5.jpg" id="img" />
<div id="rect-box"></div>
</div>
<ul class="examples">
<li><img src="./images/1.jpg" /></li>
<li><img src="./images/2.jpg" /></li>
<li><img src="./images/3.jpg" /></li>
<li><img src="./images/4.jpg" /></li>
<li><img src="./images/5.jpg" /></li>
<li><img src="./images/6.jpg" /></li>
<li><img src="./images/7.jpg" /></li>
<li><img src="./images/8.jpg" /></li>
<li><img src="./images/9.jpg" /></li>
<li><img src="./images/10.jpg" /></li>
</ul>
</div>
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<script src="./dist/index.bundle.js"></script>
</body>
</html>