Skip to content

AhabbscienceStudioPak/Traffic-Signal-Optimizer-Raasta.ai-AI-Challenge-2024

 
 

Repository files navigation

Raasta.ai-AI-Challenge-2024

This repository contains code for the Adaptive Traffic Signal Control System employing a multi-faceted approach combining computer vision, deep learning, and real-time data analysis employing key components which are:

  • Object Detection
  • Lane Detection
  • Vehicle Counting
  • Data Analysis
Sequence.2.mp4

Requirements

  • YOLO v8
  • OpenCV
  • NumPy
  • Make sure that the traffic.mp4 is present in the same directory as main.py

Installation

  1. YOLO v8:

    • Follow the instructions in the YOLO GitHub repository to install YOLO v8.
    • Make sure to compile YOLO with OpenCV and GPU support if available and required.
  2. OpenCV:

    • Install OpenCV using your preferred package manager or via source. For example, using pip:
      pip install opencv-python
      
  3. NumPy:

    • Install NumPy using pip:
      pip install numpy
      

Usage

  1. Clone this repository:
git clone https://github.com/Sohaib012/Raasta.ai-AI-Challenge-2024.git
  1. Navigate to the cloned repository:
cd your-repository
  1. Run the main.py script:
python main.py

Team Members

  1. Sohaib Nasir
  2. M. Ahabb Sheraz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%