-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathindex.html
executable file
·250 lines (243 loc) · 9.63 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html lang="ja">
<head>
<meta http-equiv="Expires" content="3600">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<title>Labeling Tool</title>
<!-- CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link type="text/css" rel="stylesheet" href="css/jquery-ui.min.css">
<!-- Custom Fonts -->
<link href="css/font-awesome.min.css" rel="stylesheet" type="text/css">
<!--TABLE SEARCH -->
<script src="js/lib/jquery-2.2.4.min.js"></script>
<script src="js/lib/bootstrap.min.js"></script>
<!-- <script src="/static/js/table_filter.js"></script>
<script src="/static/js/window-resize.js"></script> -->
<script src="js/lib/raphael.min.js"></script>
<!--AUTOCPMPLETE-->
<!-- <script src="/static/js/autocomplete.js"></script> -->
<!-- Theme JavaScript -->
<!-- <script src="/static/js/freelancer.min.js"></script> -->
<script type="text/javascript" src="js/lib/jquery-1.10.2.min.js"></script>
<script type="text/javascript" src="js/lib/jquery-ui.min.js"></script>
<!-- Custom Style -->
<link href="css/main.css" rel="stylesheet">
<link href="css/label_tool.css" rel="stylesheet">
<!--GOOGLE ANALYTICS-->
<!-- <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-103583129-1', 'auto');
ga('send', 'pageview');
</script> -->
</head>
<body>
<div id="wrapper">
<div id="label-header">
<ul class="label-header-left-items">
<li class="label-header-item left">
<a class="label-header-brand label-header-column" href="{% url 'upload_form:index' %}">Automan</a>
</li>
<li class="label-header-item left">
<input class="black-input" type="text" id="label-tool-log"
placeholder="" value="" onClick="labelTool.retrySave()"/>
</li>
</ul>
<ul class="label-header-right-items">
<li class="label-header-item label-header-column">
<ul class="file-select">
<li class="label-header-item">
<button id="previous-frame-button" class="file-select-left-button" onClick="labelTool.previousFrame()">
<i class="fa fa-arrow-left file-select-arrow"></i>
</button>
</li>
<li class="label-header-item">
<input class="black-input file-select-input" type="number" id="page_num"
placeholder="" value="" onkeypress="labelTool.handlePressKey(event.keyCode)"/>
</li>
<li class="label-header-item">
<button id="next-frame-button" class="file-select-right-button" onClick="labelTool.nextFrame()">
<i class="fa fa-arrow-right file-select-arrow"></i>
</button>
</li>
</ul>
</li>
<li class="label-header-item label-header-column">
<input class="black-input" type="number" id="frame-skip"
placeholder="skip" value=""/>
</li>
<li class="label-header-item label-header-column">
<form name="js">
<p class="label-header-button label-header-toggle-button"
onClick="labelTool.resetBBoxes()">Reset</p>
</form>
</li>
<li class="label-header-item label-header-column">
<form name="js">
<p class="label-header-button label-header-toggle-button"
id="hold-toggle-button" onClick="labelTool.toggleHold()">Hold</p>
</form>
</li>
<li class="label-header-item label-header-column">
<form name="js">
<p class="label-header-button label-header-toggle-button"
id="label-toggle-button" onClick="labelTool.toggleDataType()">Image</p>
</form>
</li>
</div>
<div id="label-tool-wrapper">
<div class="jpeg-label-sidebar">
<div class="jpeg-label-sidebar-header">
<p class="jpeg-label-sidebar-header-text">Classes</p>
</div>
<ul class="jpeg-label-sidebar-list">
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Car')">
<span class="label-tool-color blue"></span>
<p class="label-tool-sidebar-text" id="class-table-Car">Car</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Pedestrian')">
<span class="label-tool-color red"></span>
<p class="label-tool-sidebar-text" id="class-table-Pedestrian">Pedestrian</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Motorbike')">
<span class="label-tool-color green"></span>
<p class="label-tool-sidebar-text" id="class-table-Motorbike">Motorbike</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Bus')">
<span class="label-tool-color yellow"></span>
<p class="label-tool-sidebar-text" id="class-table-Bus">Bus</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Truck')">
<span class="label-tool-color white"></span>
<p class="label-tool-sidebar-text" id="class-table-Truck">Truck</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Bicycle')">
<span class="label-tool-color orange"></span>
<p class="label-tool-sidebar-text" id="class-table-Bicycle">Bicycle</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Train')">
<span class="label-tool-color cyan"></span>
<p class="label-tool-sidebar-text" id="class-table-Train">Train</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('SVehicle')">
<span class="label-tool-color purple"></span>
<p class="label-tool-sidebar-text" id="class-table-SVehicle">SVehicle</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item">
<form name="js">
<div type="button" onClick="classes.select('Signal')">
<span class="label-tool-color yellow"></span>
<p class="label-tool-sidebar-text" id="class-table-Signal">Signal</p>
</div>
</form>
</li>
<li class="jpeg-label-sidebar-item last">
<form name="js">
<div type="button" onClick="classes.select('Signs')">
<span class="label-tool-color green"></span>
<p class="label-tool-sidebar-text" id="class-table-Signs">Signs</p>
</div>
</form>
</li>
</ul>
</div>
<div class="jpeg-label-sidebar second">
<div class="jpeg-label-sidebar-header">
<p class="jpeg-label-sidebar-header-text">Bounding Boxes</p>
</div>
<div id="jpeg-label-sidebar-body">
<ul class="jpeg-label-sidebar-list" id="bbox-table">
</ul>
<div class="jpeg-label-sidebar-item plus" onClick="bboxes.selectEmpty()">
<i class="fa fa-plus label-tool-sidebar-text" id="bbox-number--1"></i>
</div>
</div>
</div>
<div id="canvas3d" style="z-index: 0; background-color: #000000;"></div>
<div id="jpeg-label-canvas"></div>
</div>
<!-- /.jpeg-label-wrapper -->
<!-- <div id="label-tool-status-overlay" class="label-tool-overlay">
<div id="text">
<img src="/static/img/icon_loader.gif" width="80" height="80" alt="" />
<p id="overlay-text">Preparing Coarse-labels...</p>
</div>
</div>
<div id="label-tool-dialogue-overlay" class="label-tool-overlay">
<div class="panel panel-default popup-panel">
<div class="panel-body">
This operation removes coarse-labels in the workspace, and updates the archive in the database.<br />
Are you sure you want to do this?<br /><br />
<button onClick="selectYes()" class="fancy_btn">Yes</button>
<button onClick="selectNo()" class="fancy_btn">No</button>
</div>
</div>
</div>
</div> -->
<!-- /.label-tool-wrapper -->
<script src="js/lib/three.min.js"></script>
<script src="js/lib/PCDLoader.js"></script>
<script src="js/lib/OrbitControls.js"></script>
<script src="js/lib/Detector.js"></script>
<script src="js/lib/stats.min.js"></script>
<script src='js/lib/dat.gui.min.js'></script>
<script src='js/lib/KeyboardState.js'></script>
<script src='js/lib/Projector.js'></script>
<script src="js/util/bbox_table.js?ver=1.0"></script>
<script src='js/util/class.js?ver=1.0'></script>
<script src='js/util/bbox.js?ver=1.0'></script>
<script src='js/base_label_tool.js?ver=1.0'></script>
<script src='js/pcd_label_tool.js?ver=1.0'></script>
<script src="js/image_label_tool.js?ver=1.0"></script>
<script src='js/util/ajax_wrapper.js?ver=1.0'></script>
<div>
<script type="text/javascript">
labelTool.setParameters(1 , "Image&PCD");
labelTool.getInformations();
</script>
</div>
<!-- /.page-wrapper -->
</div>
<!-- ./wrapper -->
</body>
</html>