Skip to content
ISBANDURAHUMAN-RPublic

About

Intelligent mobility, traffic density analysis, and vehicle fleet vision system powered by YOLOv8 and Next.js.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

◈ VEHIX — Intelligent Vehicle Detection System

VEHIX Banner

An intelligent computer vision platform for vehicle detection, classification, and traffic analytics.

CI Python FastAPI YOLOv8 React TypeScript


✴︎ About

VEHIX is a computer vision platform designed for traffic monitoring, road surveillance, and vehicle classification. It combines a FastAPI backend powered by Ultralytics YOLOv8 with a modern React dashboard to process images, identify vehicle categories, and calculate traffic metrics.

The system transforms visual input into structured detection results, annotated images, and useful traffic analytics.

❖ Key Features

  • YOLOv8 Object Detection: Detects vehicles using YOLOv8 nano models.
  • Bounding Box Localization: Identifies vehicle positions with confidence scores.
  • Multi-Class Classification: Categorizes cars, buses, trucks, motorcycles, and bicycles.
  • Automated Vehicle Counting: Calculates per-class vehicle counts.
  • Annotated Image Output: Displays bounding boxes, class labels, and confidence percentages.
  • Traffic Analytics Dashboard: Visualizes vehicle distribution through charts and detection coordinate tables.
  • FastAPI Backend: Processes detection requests and provides structured JSON responses.

➴ System Architecture

flowchart TD
    A["Traffic Images / Camera Frames"] --> B["FastAPI Ingestion"]
    B --> C["Image Preprocessing"]
    C --> D["OpenCV Resize & Normalization"]
    D --> E["Ultralytics YOLOv8"]
    E --> F["Vehicle Detection"]
    F --> G["Bounding Box & Confidence Localization"]
    G --> H["Multi-Class Classification"]
    H --> I["Vehicle Counting Engine"]
    I --> J["Traffic Metrics"]
    G --> K["Annotated Image Generation"]
    J --> L["FastAPI JSON Response"]
    K --> L
    L --> M["React Dashboard"]
    M --> N["Vehicle Distribution Charts"]
    M --> O["Detection Coordinate Tables"]

Loading

⬢ Technologies Used

Backend

  • Python 3.10+
  • FastAPI
  • Uvicorn
  • Ultralytics YOLOv8
  • OpenCV
  • NumPy

Frontend

  • React 18
  • TypeScript
  • Vite
  • Tailwind CSS
  • Recharts

⟡ Requirements

  • Python 3.10, 3.11, or 3.12
  • Node.js 18 or higher
  • npm
  • Modern web browser

▲ Installation

1. Clone the repository

git clone https://github.com/ISBANDURAHUMAN-R/VEHIX.git
cd VEHIX

2. Set up the backend

python -m venv backend/.venv

Activate the virtual environment:

Windows:

backend\.venv\Scripts\activate

Linux / macOS:

source backend/.venv/bin/activate

Install dependencies:

pip install -r backend/requirements.txt

Start the backend server from the repository root:

uvicorn backend.main:app --host 127.0.0.1 --port 8000 --reload

3. Set up the frontend

Open another terminal:

cd frontend
npm install
npm run dev

Open the local frontend URL displayed by Vite in your browser.

※ Developer

Created, Developed & Owned by Isbandu Rahuman R

GitHub: ISBANDURAHUMAN-R

VEHIX is an independently developed computer vision project focused on intelligent vehicle detection, classification, and traffic monitoring.

About

Intelligent mobility, traffic density analysis, and vehicle fleet vision system powered by YOLOv8 and Next.js.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages