๐Ÿ›ฃ๏ธ Road Inspection Dashboard

๐Ÿš€ Live Demo: Click here to view the project

A web dashboard designed for real-time visualization of Network Survey Vehicle (NSV) data during site inspections. Built as part of the NHAI Hackathon 2025 challenge.


โœจ Features

๐Ÿ“Š Excel Analysis Module

  • Upload .CSV or .XLSX files containing inspection data.
  • Extract key threshold values.
  • Calculate:
    • Number of cells exceeding threshold values.
    • Number of cells exceeding user-defined values.
  • Display results clearly with a clean and responsive UI.

๐ŸŽฅ Video Comparison Module

  • Upload two videos (e.g. from road inspection cameras).
  • Watch them side-by-side with synchronized play/pause controls.
  • Visually compare road conditions (e.g. before/after inspections).
  • Add bookmarks and notes for future reference.

๐ŸŽจ UI Highlights

  • NHAI branding with official logo.
  • Elegant light-yellow background for visual comfort.
  • Navy-blue header with centered alignment.
  • Stylish buttons and structured layout.
  • Pure CSS used via App.css and index.css โ€” no Tailwind or external CSS frameworks.

๐Ÿงฐ Tech Stack

Tech Purpose
React Frontend UI
HTML/CSS (Vanilla) Styling (App.css, index.css)
JavaScript Logic and interactivity
ExcelJS / SheetJS Excel/CSV parsing (if used)
HTML5 Video Uploading and synchronized video playback

๐Ÿ› ๏ธ Getting Started

Prerequisites

  • Node.js (v14 or above)
  • npm or yarn

Installation

git clone https://github.com/your-username/nhai-inspection-dashboard.git
cd nhai-inspection-dashboard
npm install
npm run dev    # or npm start if using Create React App
Then open:
http://localhost:5173

๐Ÿ“ Project Structure
bash
Copy
Edit
๐Ÿ“ฆ nhai-inspection-dashboard/
โ”œโ”€โ”€ public/
โ”‚   โ””โ”€โ”€ images/nhai-logo.png       # NHAI Logo
โ”œโ”€โ”€ src/
โ”‚   โ”œโ”€โ”€ components/
โ”‚   โ”‚   โ””โ”€โ”€ Dashboard.jsx          # Main UI layout
โ”‚   โ”œโ”€โ”€ App.css                    # Core styling
โ”‚   โ”œโ”€โ”€ index.css                  # Global base styles
โ”‚   โ”œโ”€โ”€ App.jsx                    # App entry point
โ”‚   โ””โ”€โ”€ main.jsx                   # ReactDOM root
โ”œโ”€โ”€ package.json
โ””โ”€โ”€ README.md

๐Ÿงช How to Use Upload a .CSV or .XLSX file under Excel Analysis Features.

Use buttons to:

Show Threshold Values

Count cells exceeding default thresholds

Count cells exceeding a custom value (โ€œXโ€)

Upload two videos using Upload Video 1 and Upload Video 2.

Use synchronized Play/Pause controls to inspect footage.

Add Bookmarks and Notes for points of interest.

๐Ÿšง Future Improvements

Add map-based route overlays for better spatial alignment.

User login with authentication and role-based access.

Export summary reports as PDF.

๐Ÿ‘ฉโ€๐Ÿ’ป Contributor

Supreet Kaur โ€“ Software Development Engineer

๐Ÿ“„ License

This project is built for the NHAI Hackathon and is open for educational and non-commercial use.

(Leave a star if you found this interesting)

Built With

Share this project:

Updates