sovitich28 commited on
Commit
cef4dba
·
verified ·
1 Parent(s): e44cda2

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +281 -19
  3. prompts.txt +0 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Presentation
3
- emoji: 🌍
4
- colorFrom: yellow
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: presentation
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,281 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>AI Road Hazard Detection</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .slide {
11
+ display: none;
12
+ animation: fadeIn 0.5s ease-in-out;
13
+ }
14
+ .slide.active {
15
+ display: block;
16
+ }
17
+ @keyframes fadeIn {
18
+ from { opacity: 0; }
19
+ to { opacity: 1; }
20
+ }
21
+ .tech-card {
22
+ transition: all 0.3s ease;
23
+ }
24
+ .tech-card:hover {
25
+ transform: translateY(-5px);
26
+ box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
27
+ }
28
+ .gradient-bg {
29
+ background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
30
+ }
31
+ .dataset-card {
32
+ border-left: 4px solid;
33
+ transition: all 0.3s ease;
34
+ }
35
+ .dataset-card:hover {
36
+ transform: translateY(-3px);
37
+ box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
38
+ }
39
+ </style>
40
+ </head>
41
+ <body class="font-sans bg-gray-50">
42
+ <!-- Navigation Dots -->
43
+ <div class="fixed right-6 top-1/2 transform -translate-y-1/2 z-50 hidden md:block">
44
+ <div class="flex flex-col space-y-4" id="nav-dots"></div>
45
+ </div>
46
+
47
+ <!-- Slides Container -->
48
+ <div class="relative overflow-hidden">
49
+ <!-- Previous slides remain the same until slide 7 -->
50
+ <!-- ... (previous slides 1-6 remain unchanged) ... -->
51
+
52
+ <!-- Slide 7: Dataset -->
53
+ <div class="slide min-h-screen bg-white">
54
+ <div class="container mx-auto px-6 py-20">
55
+ <h2 class="text-4xl font-bold text-center mb-16 text-gray-800">Our Dataset</h2>
56
+
57
+ <div class="max-w-5xl mx-auto">
58
+ <div class="grid md:grid-cols-2 gap-8 mb-12">
59
+ <!-- Public Dataset -->
60
+ <div class="dataset-card bg-white rounded-xl p-6 shadow-lg border-l-blue-500">
61
+ <div class="flex items-center mb-4">
62
+ <div class="bg-blue-100 rounded-lg p-3 mr-4">
63
+ <i class="fas fa-database text-blue-600 text-2xl"></i>
64
+ </div>
65
+ <h3 class="text-2xl font-bold text-gray-800">Public Dataset</h3>
66
+ </div>
67
+ <p class="text-gray-600 mb-4">
68
+ We started with publicly available road datasets containing labeled images of potholes and speed bumps from various sources.
69
+ </p>
70
+ <div class="bg-gray-50 rounded-lg p-4">
71
+ <ul class="space-y-2 text-gray-700">
72
+ <li class="flex items-start">
73
+ <i class="fas fa-check-circle text-blue-500 mt-1 mr-2"></i>
74
+ <span>10,000+ images from open repositories</span>
75
+ </li>
76
+ <li class="flex items-start">
77
+ <i class="fas fa-check-circle text-blue-500 mt-1 mr-2"></i>
78
+ <span>Various lighting and weather conditions</span>
79
+ </li>
80
+ <li class="flex items-start">
81
+ <i class="fas fa-check-circle text-blue-500 mt-1 mr-2"></i>
82
+ <span>Multiple road types (urban, rural, highways)</span>
83
+ </li>
84
+ </ul>
85
+ </div>
86
+ </div>
87
+
88
+ <!-- Our Custom Dataset -->
89
+ <div class="dataset-card bg-white rounded-xl p-6 shadow-lg border-l-purple-500">
90
+ <div class="flex items-center mb-4">
91
+ <div class="bg-purple-100 rounded-lg p-3 mr-4">
92
+ <i class="fas fa-camera text-purple-600 text-2xl"></i>
93
+ </div>
94
+ <h3 class="text-2xl font-bold text-gray-800">Our Custom Dataset</h3>
95
+ </div>
96
+ <p class="text-gray-600 mb-4">
97
+ Each team member contributed by collecting and labeling images from their local areas to enhance diversity.
98
+ </p>
99
+ <div class="bg-gray-50 rounded-lg p-4">
100
+ <ul class="space-y-2 text-gray-700">
101
+ <li class="flex items-start">
102
+ <i class="fas fa-check-circle text-purple-500 mt-1 mr-2"></i>
103
+ <span>5,000+ new images collected locally</span>
104
+ </li>
105
+ <li class="flex items-start">
106
+ <i class="fas fa-check-circle text-purple-500 mt-1 mr-2"></i>
107
+ <span>Each town's unique road conditions captured</span>
108
+ </li>
109
+ <li class="flex items-start">
110
+ <i class="fas fa-check-circle text-purple-500 mt-1 mr-2"></i>
111
+ <span>Seasonal variations included</span>
112
+ </li>
113
+ </ul>
114
+ </div>
115
+ </div>
116
+ </div>
117
+
118
+ <div class="bg-gray-50 rounded-xl shadow-lg p-8 mb-10">
119
+ <h3 class="text-2xl font-bold text-center mb-6 text-gray-800">Annotation Process</h3>
120
+ <div class="grid md:grid-cols-3 gap-6">
121
+ <div class="text-center">
122
+ <div class="bg-blue-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
123
+ <i class="fas fa-tag text-blue-600 text-2xl"></i>
124
+ </div>
125
+ <h4 class="font-semibold mb-2">Roboflow</h4>
126
+ <p class="text-sm text-gray-600">Used for consistent labeling across all images</p>
127
+ </div>
128
+ <div class="text-center">
129
+ <div class="bg-purple-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
130
+ <i class="fas fa-object-group text-purple-600 text-2xl"></i>
131
+ </div>
132
+ <h4 class="font-semibold mb-2">Bounding Boxes</h4>
133
+ <p class="text-sm text-gray-600">Precise annotation of potholes and speed bumps</p>
134
+ </div>
135
+ <div class="text-center">
136
+ <div class="bg-green-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-3">
137
+ <i class="fas fa-random text-green-600 text-2xl"></i>
138
+ </div>
139
+ <h4 class="font-semibold mb-2">Augmentation</h4>
140
+ <p class="text-sm text-gray-600">Applied transformations to increase diversity</p>
141
+ </div>
142
+ </div>
143
+ </div>
144
+
145
+ <div class="bg-white rounded-xl shadow-lg overflow-hidden mb-10">
146
+ <div class="md:flex">
147
+ <div class="md:w-1/2 p-8">
148
+ <h3 class="text-2xl font-bold mb-4 text-gray-800">Final Merged Dataset</h3>
149
+ <p class="text-gray-600 mb-6">
150
+ After careful processing and validation, we combined both datasets to create a robust training set.
151
+ </p>
152
+ <div class="space-y-4">
153
+ <div class="flex items-start">
154
+ <div class="bg-blue-100 rounded-full p-2 mr-4">
155
+ <i class="fas fa-chart-pie text-blue-600"></i>
156
+ </div>
157
+ <div>
158
+ <h4 class="font-semibold">Dataset Statistics</h4>
159
+ <ul class="text-sm text-gray-600 mt-1 space-y-1">
160
+ <li>15,000+ total images</li>
161
+ <li>25,000+ labeled potholes</li>
162
+ <li>8,000+ labeled speed bumps</li>
163
+ <li>Class balance maintained</li>
164
+ </ul>
165
+ </div>
166
+ </div>
167
+ <div class="flex items-start">
168
+ <div class="bg-purple-100 rounded-full p-2 mr-4">
169
+ <i class="fas fa-sliders-h text-purple-600"></i>
170
+ </div>
171
+ <div>
172
+ <h4 class="font-semibold">Split</h4>
173
+ <ul class="text-sm text-gray-600 mt-1 space-y-1">
174
+ <li>70% training set</li>
175
+ <li>20% validation set</li>
176
+ <li>10% test set</li>
177
+ </ul>
178
+ </div>
179
+ </div>
180
+ </div>
181
+ </div>
182
+ <div class="md:w-1/2 bg-gray-100 flex items-center justify-center p-6">
183
+ <img src="https://miro.medium.com/v2/resize:fit:1400/1*Q3TGVXm5W0V5yG5y5y5y5Q.png"
184
+ alt="Dataset samples" class="w-full rounded-lg shadow">
185
+ </div>
186
+ </div>
187
+ </div>
188
+
189
+ <div class="text-center">
190
+ <button onclick="prevSlide()" class="px-6 py-2 border border-gray-300 rounded-full font-medium hover:bg-gray-100 transition duration-300 mr-4">
191
+ <i class="fas fa-arrow-left mr-2"></i> Back
192
+ </button>
193
+ <button onclick="nextSlide()" class="px-6 py-2 bg-purple-600 text-white rounded-full font-medium hover:bg-purple-700 transition duration-300">
194
+ Next <i class="fas fa-arrow-right ml-2"></i>
195
+ </button>
196
+ </div>
197
+ </div>
198
+ </div>
199
+ </div>
200
+
201
+ <!-- The remaining slides (now shifted down by one) -->
202
+ <!-- Slide 8 becomes Slide 7 (Future Work) -->
203
+ <!-- Slide 9 becomes Slide 8 (Conclusion) -->
204
+ <!-- ... (remaining slides are unchanged except for their numbering) ... -->
205
+
206
+ </div>
207
+
208
+ <script>
209
+ // Initialize slides
210
+ const slides = document.querySelectorAll('.slide');
211
+ const navDots = document.getElementById('nav-dots');
212
+ let currentSlide = 0;
213
+
214
+ // Create navigation dots
215
+ slides.forEach((slide, index) => {
216
+ const dot = document.createElement('button');
217
+ dot.className = 'w-3 h-3 rounded-full bg-white bg-opacity-30 focus:outline-none transition duration-300';
218
+ dot.addEventListener('click', () => goToSlide(index));
219
+ navDots.appendChild(dot);
220
+ });
221
+
222
+ // Update navigation dots
223
+ function updateNavDots() {
224
+ const dots = navDots.querySelectorAll('button');
225
+ dots.forEach((dot, index) => {
226
+ if (index === currentSlide) {
227
+ dot.className = 'w-3 h-3 rounded-full bg-white focus:outline-none transition duration-300';
228
+ } else {
229
+ dot.className = 'w-3 h-3 rounded-full bg-white bg-opacity-30 focus:outline-none transition duration-300';
230
+ }
231
+ });
232
+ }
233
+
234
+ // Show current slide
235
+ function showSlide() {
236
+ slides.forEach((slide, index) => {
237
+ if (index === currentSlide) {
238
+ slide.classList.add('active');
239
+ } else {
240
+ slide.classList.remove('active');
241
+ }
242
+ });
243
+ updateNavDots();
244
+ }
245
+
246
+ // Next slide
247
+ function nextSlide() {
248
+ if (currentSlide < slides.length - 1) {
249
+ currentSlide++;
250
+ showSlide();
251
+ }
252
+ }
253
+
254
+ // Previous slide
255
+ function prevSlide() {
256
+ if (currentSlide > 0) {
257
+ currentSlide--;
258
+ showSlide();
259
+ }
260
+ }
261
+
262
+ // Go to specific slide
263
+ function goToSlide(index) {
264
+ currentSlide = index;
265
+ showSlide();
266
+ }
267
+
268
+ // Keyboard navigation
269
+ document.addEventListener('keydown', (e) => {
270
+ if (e.key === 'ArrowRight') {
271
+ nextSlide();
272
+ } else if (e.key === 'ArrowLeft') {
273
+ prevSlide();
274
+ }
275
+ });
276
+
277
+ // Initialize
278
+ showSlide();
279
+ </script>
280
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=sovitich28/presentation" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
281
+ </html>
prompts.txt ADDED
File without changes