forked from erksch/waymo-open-dataset-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (116 loc) · 3.8 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Waymo Open Dataset Viewer</title>
<link rel="stylesheet" type="text/css" href="style/index.css">
</head>
<body>
<div class="inputs-background"></div>
<div class="inputs">
<!--
<div class="inputs-row">
<h3>Labels</h3>
<input type="file" name="label-files" id="label-files-input" multiple="true" />
<div class="progress">
<span id="label-files-loaded">0</span>
/
<span id="label-files-total"></span>
</div>
</div>
-->
<div class="inputs-row">
<h3>Segment</h3>
<button id="segment-id-button">
<input type="text" id="segment-id-input" placeholder="Segment-ID" />
<span>▼</span>
<div class="dropdown" id="segment-id-dropdown"></div>
</button>
<!--<button id="load-segment-button">Load</button>-->
</div>
<div class="inputs-row">
<h3>Frames</h3>
<div style="display: flex; align-items: center; max-width: 100%; margin-bottom: 10px;">
<span style="flex: 1; text-align: center;">Active</span>
<span style="flex: 1; text-align: center;">Loaded</span>
<span style="flex: 1; text-align: center;">Total</span>
</div>
<div style="display: flex; align-items: center; max-width: 100%;">
<span style="flex: 1; text-align: center;" id="active-frame">0</span>
<span>/</span>
<span style="flex: 1; text-align: center;" id="frames-loaded">0</span>
<span>/</span>
<span style="flex: 1; text-align: center;" id="frames-total">0</span>
</div>
<input type="range" min="0" max="0" value="0" id="active-frame-input" />
<!--<button id="play-button">▶ Play</button>-->
</div>
<div class="inputs-row">
<h3>Lasers</h3>
<div id="laser-car">
<label id="laser-car-top">
<input type="checkbox" name="lasers" value="TOP" checked="checked" />
<div class="indicator"></div>
<span>Top</span>
</label>
<label id="laser-car-front">
<input type="checkbox" name="lasers" value="FRONT" checked="checked" />
<div class="indicator"></div>
<span>Front</span>
</label>
<label id="laser-car-side-left">
<input type="checkbox" name="lasers" value="SIDE_LEFT" checked="checked" />
<div class="indicator"></div>
<span>Side Left</span>
</label>
<label id="laser-car-side-right">
<input type="checkbox" name="lasers" value="SIDE_RIGHT" checked="checked" />
<div class="indicator"></div>
<span>Side Right</span>
</label>
<label id="laser-car-rear">
<input type="checkbox" name="lasers" value="REAR" checked="checked" />
<div class="indicator"></div>
<span>Rear</span>
</label>
</div>
</div>
<div class="inputs-row">
<h3>Color by</h3>
<div class="switch">
<label class="switch-label">
<input type="radio" name="color-mode" value="LABEL" checked="checked" />
<span>Label</span>
</label>
<label class="switch-label">
<input type="radio" name="color-mode" value="INTENSITY" />
<span>Intensity</span>
</label>
</div>
</div>
<!--
<div class="inputs-row">
<h3>Labels</h3>
<div class="switch">
<label class="switch-label">
<input type="radio" name="label-mode" value="GROUND_TRUTH" checked="checked" />
<span>Ground truth</span>
</label>
<label class="switch-label">
<input type="radio" name="label-mode" value="PREDICTION" />
<span>Prediction</span>
</label>
</div>
</div>
<div class="inputs-row">
<h3>Prediction</h3>
<button id="run-prediction">Run Prediction</button>
<span id="loading-prediction" style="display: none;">Loading prediction...</span>
</div>
-->
</div>
<span id="loading">Loading...</span>
<canvas id="canvas"></canvas>
<script src="./dist/bundle.js"></script>
</body>
</html>