-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
305 lines (280 loc) · 9.83 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
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Robotics Final Project</title>
<style>
/* General Styling */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #333;
}
h1 {
text-align: center;
margin: 20px 0;
font-size: 2.5rem;
color: #4CAF50;
}
h2 {
text-align: left;
margin: 20px 0 10px;
padding-left: 20px;
color: #4CAF50;
}
.content-section {
margin: 20px auto;
width: 90%;
max-width: 1200px;
background: white;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
border-radius: 10px;
padding: 20px;
}
/* Tabs Styling */
.tabs {
display: flex;
justify-content: center;
margin-bottom: 20px;
background-color: #4CAF50;
border-radius: 10px;
overflow: hidden;
}
.tab {
flex: 1;
padding: 10px 20px;
text-align: center;
background-color: #4CAF50;
color: white;
cursor: pointer;
font-weight: bold;
}
.tab.active {
background-color: #333;
color: white;
}
.tab-content {
display: none;
}
.tab-content.active {
display: block;
}
/* Videos Section */
.video-container {
margin-bottom: 20px;
}
video {
width: 100%;
max-width: 600px;
display: block;
margin: auto;
}
.description {
text-align: center;
margin-top: 10px;
font-size: 16px;
font-weight: bold;
}
/* Images Section */
.image-grid {
display: flex;
flex-direction: column; /* Stack images vertically */
align-items: center;
gap: 20px;
}
.image-container {
text-align: center;
width: 100%;
}
.image-container img {
width: 70%;
height: auto;
border-radius: 10px;
box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.image-container .caption {
margin-top: 10px;
font-size: 18px;
font-weight: bold;
}
iframe, video {
width: 100%;
height: auto;
margin-top: 10px;
border-radius: 10px;
border: 1px solid #ddd;
}
iframe {
height: 900px; /* Adjusted for full view */
}
</style>
<script>
function showTab(tabIndex) {
const tabs = document.querySelectorAll('.tab');
const contents = document.querySelectorAll('.tab-content');
tabs.forEach((tab, index) => {
if (index === tabIndex) {
tab.classList.add('active');
contents[index].classList.add('active');
} else {
tab.classList.remove('active');
contents[index].classList.remove('active');
}
});
}
// Initialize the first tab as active
window.onload = () => {
showTab(0);
};
</script>
</head>
<body>
<h1>Robotics Final Project</h1>
<!-- Tabs -->
<div class="tabs">
<div class="tab" onclick="showTab(0)">Part B: Event-Based 3D Hand Gesture Recognition</div>
<div class="tab" onclick="showTab(1)">Part A: Visual Tracking Using MATLAB Toolbox</div>
</div>
<!-- Tab Content -->
<div class="tab-content">
<!-- Part B Content -->
<div class="content-section">
<h2>Presentation Slides</h2>
<iframe src="final presentation2.pdf"></iframe>
</div>
<div class="content-section">
<h2>Report</h2>
<iframe src="report part B.pdf"></iframe>
</div>
<div class="content-section">
<h2>Project Files</h2>
<p><a href="https://drive.google.com/drive/folders/1U3jF0-8IrMDKF2MZpJTQRx-wVwJgDAIr?usp=sharing" target="_blank">View the Project on Google Drive</a></p>
</div>
<div class="content-section">
<h2>Event Images</h2>
<div class="image-grid">
<div class="image-container">
<img src="event1.png" alt="Event 1">
<div class="caption">Event 1</div>
</div>
<div class="image-container">
<img src="event2.png" alt="Event 2">
<div class="caption">Event 2</div>
</div>
<div class="image-container">
<img src="event3.png" alt="Event 3">
<div class="caption">Event 3</div>
</div>
<div class="image-container">
<img src="event4.png" alt="Event 4">
<div class="caption">Event 4</div>
</div>
<div class="image-container">
<img src="event5.png" alt="Event 5">
<div class="caption">Event 5</div>
</div>
</div>
</div>
<div class="content-section">
<h2>Video Demonstrations</h2>
<div class="video-container">
<video controls>
<source src="Event (1).mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Video 1: Normal Conditions</div>
</div>
<div class="video-container">
<video controls>
<source src="RGB stream.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Video 2: Low Light Conditions</div>
</div>
<div class="video-container">
<video controls>
<source src="video2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Video 3: Testing Video 1</div>
</div>
<div class="video-container">
<video controls>
<source src="final2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Video 4: Testing Video 2</div>
</div>
<div class="video-container">
<video controls>
<source src="test.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Video 4: Testing Video 3</div>
</div>
</div>
</div>
<div class="tab-content">
<!-- Part A Content -->
<div class="content-section">
<div class="content-section">
<h2>Report</h2>
<iframe src="reporta.pdf"></iframe>
</div>
<h2>Video Demonstrations</h2>
<div class="video-container">
<video controls>
<source src="composite_video.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Step Forward Encoding/Decoding</div>
</div>
<div class="video-container">
<video controls>
<source src="composite_video_sf2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Step Forward Encoding/Decoding on Night Video</div>
</div>
<div class="video-container">
<video controls>
<source src="composite_video_mw.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Moving Window Encoding/Decoding</div>
</div>
<div class="video-container">
<video controls>
<source src="composite_video_bse.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Ben Spike Encoding/Decoding</div>
</div>
<div class="video-container">
<video controls>
<source src="combine_video_sf.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Kalman Filter on Step Forward</div>
</div>
<div class="video-container">
<video controls>
<source src="combine_video_mw.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Kalman Filter on Moving Window</div>
</div>
<div class="video-container">
<video controls>
<source src="combine_video_sf2.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
<div class="description">Kalman Filter on Night Video</div>
</div>
</div>
</div>
</body>
</html>