Subh775 commited on
Commit
e69e87f
·
1 Parent(s): 765e366

words ; improvements..

Browse files
Files changed (1) hide show
  1. frontend/vehicles.html +51 -52
frontend/vehicles.html CHANGED
@@ -544,19 +544,19 @@
544
 
545
  <div class="space-y-5 leading-relaxed text-sm text-center" style="color:#a89f97">
546
  <p>
547
- UrbanFlow is a cloud-based traffic intelligence platform that turns raw camera footage from Indian roads
548
- into structured, actionable data &mdash; vehicle counts by class, directional flow totals, congestion patterns,
549
  and downloadable reports &mdash; without requiring new hardware or on-site installation.
550
  </p>
551
  <p>
552
- This is a <strong style="color:#f0ece6">public demo</strong>. It exists so that traffic engineers, urban planners,
553
  transport authorities, and researchers can evaluate what UrbanFlow delivers &mdash; and tell us what they actually need.
554
  We are in the <strong style="color:#f0ece6">requirements gathering phase</strong>, and your feedback directly shapes
555
  what gets built for production.
556
  </p>
557
  <p style="font-size:13px;color:#777">
558
- The production system will support RTSP live-stream input, institutional dashboards, REST APIs, and advanced analytics.
559
- This demo serves video upload only.
560
  </p>
561
  </div>
562
 
@@ -599,7 +599,7 @@
599
  </li>
600
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
601
  style="color:#c89a6c"></i>
602
- <span>Review live KPIs and download bundled artifacts when complete</span>
603
  </li>
604
  </ul>
605
  </div>
@@ -632,8 +632,8 @@
632
 
633
  <div class="text-center pt-6 border-t border-slate-900">
634
  <p class="text-[13px] leading-relaxed" style="color:#888">
635
- We are an applied research team &mdash; using state-of-the-art detection models, fine-tuned on Indian traffic datasets,
636
- to build systems that work in production. Not a black box. Not a benchmark demo. A working tool, built for real roads.
637
  </p>
638
  <p class="text-[12px] mt-3" style="color:#777">
639
  Feedback, collaboration, or questions: <strong style="color:#c89a6c">support@urbanflow.in</strong>
@@ -678,7 +678,7 @@
678
  <div id="stats-empty-state" class="stats-empty-overlay">
679
  <i class="fa-solid fa-chart-column text-4xl mb-4" style="color:#333"></i>
680
  <span class="text-sm font-bold" style="color:#555">Processing not started</span>
681
- <span class="text-[11px] mt-1" style="color:#444">Charts will populate in real-time once analysis begins</span>
682
  </div>
683
 
684
  <!-- Congestion Index -->
@@ -1005,6 +1005,31 @@
1005
  class="s-val" id="sv-stride">2</span><button
1006
  onclick="stepParam('stride',1)">&#8250;</button></div>
1007
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1008
  <div class="s-row" data-param="report">
1009
  <div>
1010
  <div class="text-xs font-semibold text-slate-700">Individual Chart Export</div>
@@ -1045,31 +1070,6 @@
1045
  </div>
1046
  </div>
1047
  </div>
1048
- <div class="s-row" data-param="smoothing">
1049
- <div>
1050
- <div class="text-xs font-semibold text-slate-700 flex items-center">
1051
- Congestion Smoothing
1052
- <span class="info-wrap ml-1">
1053
- <span class="info-btn"><i class="fa-solid fa-info"></i></span>
1054
- <span class="info-tip">Reduces jitter/noise in the line chart. Low values (0.05-0.2) create very smooth trends; high values (0.8+) show raw spiky data.</span>
1055
- </span>
1056
- </div>
1057
- <div class="text-[10px] text-slate-400">EMA Alpha factor for the rolling average</div>
1058
- </div>
1059
- <div class="s-stepper"><button onclick="stepParam('smoothing',-0.05)">&#8249;</button><span
1060
- class="s-val" id="sv-smoothing">0.25</span><button
1061
- onclick="stepParam('smoothing',0.05)">&#8250;</button></div>
1062
- </div>
1063
- </div>
1064
- </div>
1065
-
1066
- <!-- Artifact Generation Settings -->
1067
- <div
1068
- class="col-span-1 bg-white rounded-xl border border-slate-200 shadow-sm overflow-hidden flex flex-col">
1069
- <div class="px-5 py-3 border-b border-slate-100 bg-slate-50/50">
1070
- <h3 class="font-bold text-slate-800 text-sm">Artifact Generation Settings</h3>
1071
- </div>
1072
- <div class="px-5 py-4 flex-1 flex flex-col">
1073
  <div class="s-row">
1074
  <div>
1075
  <div class="text-xs font-semibold text-slate-700 flex items-center">Export Run Details (JSON)
@@ -1106,7 +1106,7 @@
1106
  <span class="info-tip">Enable before processing starts. The artifact bundle (ZIP) will download automatically once analysis completes. Cannot be changed after processing finishes.</span>
1107
  </span>
1108
  </div>
1109
- <div class="text-[10px] text-slate-400">Save reports automatically</div>
1110
  </div>
1111
  <div class="toggle-track" id="sv-auto-download" onclick="toggleAutoDownload(this)">
1112
  <div class="toggle-thumb"></div>
@@ -1149,10 +1149,10 @@
1149
  <div class="max-w-6xl mx-auto space-y-6">
1150
  <div class="text-center space-y-3 mb-6">
1151
  <h2 class="text-2xl font-bold tracking-tight" style="color:#f0ece6">Share Your Feedback</h2>
1152
- <p class="text-xs" style="color:#777">We are actively refining UrbanFlow. Your technical insights directly drive our roadmap.</p>
1153
  <div class="inline-flex items-center gap-2 px-4 py-1.5 bg-[#111] border border-[#222] rounded-full mt-2">
1154
  <i class="fa-regular fa-clock text-[#c89a6c] text-[10px]"></i>
1155
- <span class="text-[10px] font-bold uppercase tracking-widest text-[#a89f97]">Takes about 2 minutes to complete</span>
1156
  </div>
1157
  </div>
1158
 
@@ -1179,7 +1179,7 @@
1179
  <!-- Emojis Grid -->
1180
  <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
1181
  <div>
1182
- <label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Recommend Product</label>
1183
  <div class="flex gap-2" id="fb-recommend">
1184
  <div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Unlikely')"><i class="fa-solid fa-face-frown text-xl"></i><span class="block mt-1 text-[8px] uppercase">Unlikely</span></div>
1185
  <div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Maybe')"><i class="fa-solid fa-face-meh text-xl"></i><span class="block mt-1 text-[8px] uppercase">Maybe</span></div>
@@ -1227,14 +1227,13 @@
1227
 
1228
  <!-- Feature Prioritization -->
1229
  <div class="pt-4 border-t border-slate-800">
1230
- <label class="text-[10px] font-bold uppercase tracking-widest block mb-4" style="color:#a89f97">Feature Prioritization (Select all that apply)</label>
1231
  <div class="grid grid-cols-2 gap-3" id="fb-priorities">
1232
- <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="live-rtsp">Live RTSP Streams</div>
1233
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="api-access">REST API Access</div>
1234
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="anpr">ANPR Recognition</div>
1235
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="security">Security Focus</div>
1236
- <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="regulation">Regulation & Policies</div>
1237
- <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="helmet">Helmet Compliance</div>
1238
  </div>
1239
  </div>
1240
  </div>
@@ -1252,11 +1251,11 @@
1252
  <label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Primary Use Case</label>
1253
  <select class="fb-select w-full" id="fb-usecase">
1254
  <option value="" disabled selected>Select your use case</option>
1255
- <option value="research">Academic / Traffic Research</option>
1256
- <option value="planning">Urban Planning & Capacity</option>
1257
- <option value="highway">Highway Authority (NHAI/State)</option>
1258
- <option value="smartcity">Smart City Integrator</option>
1259
- <option value="other">Other Institutional</option>
1260
  </select>
1261
  </div>
1262
  <div>
@@ -1264,7 +1263,7 @@
1264
  <select class="fb-select w-full" id="fb-type">
1265
  <option value="" disabled selected>General Professional Feedback</option>
1266
  <option value="bug">Technical Issue / Bug Report</option>
1267
- <option value="feature">Strategic Feature Request</option>
1268
  <option value="accuracy">Inference Accuracy Review</option>
1269
  <option value="ux">Dashboard Workflow / UX</option>
1270
  </select>
@@ -1834,9 +1833,9 @@
1834
  }
1835
 
1836
  function lockSettings() {
1837
- document.querySelectorAll('#settings-params .s-row').forEach(row => {
1838
  const p = row.dataset.param;
1839
- if (p && p !== 'palette') {
1840
  row.classList.add('disabled');
1841
  }
1842
  });
@@ -2355,8 +2354,8 @@
2355
  <h2 style="color:#f0ece6;font-size:1.1rem;font-weight:700;margin-bottom:8px">Privacy Policy</h2>
2356
  <p style="color:#a89f97;font-size:11px;margin-bottom:20px">We keep this simple and honest.</p>
2357
  <ul style="color:#a89f97;font-size:11px;line-height:1.9;padding-left:16px;list-style:disc">
2358
- <li>This is a <strong style="color:#f0ece6">public demo</strong> hosted on Hugging Face Spaces. It is not a production service.</li>
2359
- <li>Footage you submit is processed in real time and <strong style="color:#f0ece6">discarded immediately</strong> after the session ends. Nothing is stored on our servers.</li>
2360
  <li>We do not use your footage to train models, sell it, or share it with any third party.</li>
2361
  <li>Reports and annotated videos are generated temporarily and delivered to your device. We do not retain copies.</li>
2362
  <li>We do not use advertising cookies, behavioral tracking, or analytics scripts on this platform.</li>
 
544
 
545
  <div class="space-y-5 leading-relaxed text-sm text-center" style="color:#a89f97">
546
  <p>
547
+ UrbanFlow is a cloud-based traffic intelligence application that turns raw camera footage from street & roads
548
+ into structured traffic data &mdash; vehicle counts by class, directional flow, congestion patterns,
549
  and downloadable reports &mdash; without requiring new hardware or on-site installation.
550
  </p>
551
  <p>
552
+ This is a <strong style="color:#f0ece6">demo application/strong>. It exists so that traffic engineers, urban planners,
553
  transport authorities, and researchers can evaluate what UrbanFlow delivers &mdash; and tell us what they actually need.
554
  We are in the <strong style="color:#f0ece6">requirements gathering phase</strong>, and your feedback directly shapes
555
  what gets built for production.
556
  </p>
557
  <p style="font-size:13px;color:#777">
558
+ The production system will support RTSP live-stream input, more informative dashboards, REST APIs, and advanced analytics.
559
+ This demo accepts video upload only.
560
  </p>
561
  </div>
562
 
 
599
  </li>
600
  <li class="flex items-start gap-3"><i class="fa-solid fa-circle text-[5px] mt-1.5"
601
  style="color:#c89a6c"></i>
602
+ <span>Review live KPIs and download artifacts when complete</span>
603
  </li>
604
  </ul>
605
  </div>
 
632
 
633
  <div class="text-center pt-6 border-t border-slate-900">
634
  <p class="text-[13px] leading-relaxed" style="color:#888">
635
+ We are an applied research team &mdash; that work on solving real problems, not controlled test environments.
636
+ The focus is on reliability under the actual conditions: mixed lanes, dense occlusion, heterogeneous vehicle type and variable lighting.
637
  </p>
638
  <p class="text-[12px] mt-3" style="color:#777">
639
  Feedback, collaboration, or questions: <strong style="color:#c89a6c">support@urbanflow.in</strong>
 
678
  <div id="stats-empty-state" class="stats-empty-overlay">
679
  <i class="fa-solid fa-chart-column text-4xl mb-4" style="color:#333"></i>
680
  <span class="text-sm font-bold" style="color:#555">Processing not started</span>
681
+ <span class="text-[11px] mt-1" style="color:#444">View KPIs once analysis begins</span>
682
  </div>
683
 
684
  <!-- Congestion Index -->
 
1005
  class="s-val" id="sv-stride">2</span><button
1006
  onclick="stepParam('stride',1)">&#8250;</button></div>
1007
  </div>
1008
+ <div class="s-row" data-param="smoothing">
1009
+ <div>
1010
+ <div class="text-xs font-semibold text-slate-700 flex items-center">
1011
+ Congestion Smoothing
1012
+ <span class="info-wrap ml-1">
1013
+ <span class="info-btn"><i class="fa-solid fa-info"></i></span>
1014
+ <span class="info-tip">Reduces jitter/noise in the line chart. Low values (0.05-0.2) create very smooth trends; high values (0.8+) show raw spiky data.</span>
1015
+ </span>
1016
+ </div>
1017
+ <div class="text-[10px] text-slate-400">EMA Alpha factor for the rolling average</div>
1018
+ </div>
1019
+ <div class="s-stepper"><button onclick="stepParam('smoothing',-0.05)">&#8249;</button><span
1020
+ class="s-val" id="sv-smoothing">0.25</span><button
1021
+ onclick="stepParam('smoothing',0.05)">&#8250;</button></div>
1022
+ </div>
1023
+ </div>
1024
+ </div>
1025
+
1026
+ <!-- Artifact Generation Settings -->
1027
+ <div
1028
+ class="col-span-1 bg-white rounded-xl border border-slate-200 shadow-sm overflow-hidden flex flex-col">
1029
+ <div class="px-5 py-3 border-b border-slate-100 bg-slate-50/50">
1030
+ <h3 class="font-bold text-slate-800 text-sm">Artifact Settings</h3>
1031
+ </div>
1032
+ <div class="px-5 py-4 flex-1 flex flex-col">
1033
  <div class="s-row" data-param="report">
1034
  <div>
1035
  <div class="text-xs font-semibold text-slate-700">Individual Chart Export</div>
 
1070
  </div>
1071
  </div>
1072
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1073
  <div class="s-row">
1074
  <div>
1075
  <div class="text-xs font-semibold text-slate-700 flex items-center">Export Run Details (JSON)
 
1106
  <span class="info-tip">Enable before processing starts. The artifact bundle (ZIP) will download automatically once analysis completes. Cannot be changed after processing finishes.</span>
1107
  </span>
1108
  </div>
1109
+ <div class="text-[10px] text-slate-400">Save results automatically</div>
1110
  </div>
1111
  <div class="toggle-track" id="sv-auto-download" onclick="toggleAutoDownload(this)">
1112
  <div class="toggle-thumb"></div>
 
1149
  <div class="max-w-6xl mx-auto space-y-6">
1150
  <div class="text-center space-y-3 mb-6">
1151
  <h2 class="text-2xl font-bold tracking-tight" style="color:#f0ece6">Share Your Feedback</h2>
1152
+ <p class="text-xs" style="color:#777">We are constantly refining UrbanFlow. Your technical insights directly drive our roadmap.</p>
1153
  <div class="inline-flex items-center gap-2 px-4 py-1.5 bg-[#111] border border-[#222] rounded-full mt-2">
1154
  <i class="fa-regular fa-clock text-[#c89a6c] text-[10px]"></i>
1155
+ <span class="text-[10px] font-bold uppercase tracking-widest text-[#a89f97]">It takes less than a minute to complete</span>
1156
  </div>
1157
  </div>
1158
 
 
1179
  <!-- Emojis Grid -->
1180
  <div class="grid grid-cols-1 sm:grid-cols-2 gap-6">
1181
  <div>
1182
+ <label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Recommend Product to a friend or colleague</label>
1183
  <div class="flex gap-2" id="fb-recommend">
1184
  <div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Unlikely')"><i class="fa-solid fa-face-frown text-xl"></i><span class="block mt-1 text-[8px] uppercase">Unlikely</span></div>
1185
  <div class="fb-emoji-btn" onclick="setEmoji(this, 'fb-recommend', 'Maybe')"><i class="fa-solid fa-face-meh text-xl"></i><span class="block mt-1 text-[8px] uppercase">Maybe</span></div>
 
1227
 
1228
  <!-- Feature Prioritization -->
1229
  <div class="pt-4 border-t border-slate-800">
1230
+ <label class="text-[10px] font-bold uppercase tracking-widest block mb-4" style="color:#a89f97">Feature Prioritization that you think we should consider</label>
1231
  <div class="grid grid-cols-2 gap-3" id="fb-priorities">
 
1232
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="api-access">REST API Access</div>
1233
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="anpr">ANPR Recognition</div>
1234
  <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="security">Security Focus</div>
1235
+ <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="regulation">Regulation &amp; Policies</div>
1236
+ <div class="fb-chip" onclick="this.classList.toggle('active')" data-val="helmet">UI/ UX Improvements</div>
1237
  </div>
1238
  </div>
1239
  </div>
 
1251
  <label class="text-[10px] font-bold uppercase tracking-widest block mb-3" style="color:#a89f97">Primary Use Case</label>
1252
  <select class="fb-select w-full" id="fb-usecase">
1253
  <option value="" disabled selected>Select your use case</option>
1254
+ <option value="research">Academic Research</option>
1255
+ <option value="planning">Urban Planning</option>
1256
+ <option value="highway">Business Modelling</option>
1257
+ <option value="smartcity">Smart City Solutions</option>
1258
+ <option value="other">Other..</option>
1259
  </select>
1260
  </div>
1261
  <div>
 
1263
  <select class="fb-select w-full" id="fb-type">
1264
  <option value="" disabled selected>General Professional Feedback</option>
1265
  <option value="bug">Technical Issue / Bug Report</option>
1266
+ <option value="feature">Feature Request</option>
1267
  <option value="accuracy">Inference Accuracy Review</option>
1268
  <option value="ux">Dashboard Workflow / UX</option>
1269
  </select>
 
1833
  }
1834
 
1835
  function lockSettings() {
1836
+ document.querySelectorAll('#tab-settings .s-row').forEach(row => {
1837
  const p = row.dataset.param;
1838
+ if (p !== 'palette') {
1839
  row.classList.add('disabled');
1840
  }
1841
  });
 
2354
  <h2 style="color:#f0ece6;font-size:1.1rem;font-weight:700;margin-bottom:8px">Privacy Policy</h2>
2355
  <p style="color:#a89f97;font-size:11px;margin-bottom:20px">We keep this simple and honest.</p>
2356
  <ul style="color:#a89f97;font-size:11px;line-height:1.9;padding-left:16px;list-style:disc">
2357
+ <li>This is a <strong style="color:#f0ece6">demonstration application</strong> hosted on Hugging Face Spaces. It is not a production service.</li>
2358
+ <li>Footage you submit is processed in <strong style="color:#f0ece6"> near real time</strong> and <strong style="color:#f0ece6">discarded immediately</strong> after the session ends. Nothing is stored on our servers.</li>
2359
  <li>We do not use your footage to train models, sell it, or share it with any third party.</li>
2360
  <li>Reports and annotated videos are generated temporarily and delivered to your device. We do not retain copies.</li>
2361
  <li>We do not use advertising cookies, behavioral tracking, or analytics scripts on this platform.</li>