Skip to content

Latest commit

 

History

History
75 lines (53 loc) · 2.51 KB

File metadata and controls

75 lines (53 loc) · 2.51 KB

Introduction

  • This app leverages YOLOv8 to detect vulnerable groups, such as individuals with wheelchairs, crutches, and prams, enhancing accessibility and safety at crosswalks.

Working Mechanism

  • When a vulnerable group is detected, the app extends the red light and decreases the green light duration for
    cars, ensuring safer and more accessible crossings for these individuals.

Configuration

  1. To incorporate cvzone alongside YOLOv8, make sure you have the requirements installed.

pip install Pillow
pip install ultralytics
pip install cvzone
pip install opencv-python

If you encounter any issues where pandas or numpy are missing, you can install them separately:

pip install pandas
pip install numpy


  1. Select 'Select File' for video detection or 'Live Detection' for live detection.

Screenshot 2024-06-16 at 5 46 41 PM

Only mp4, avi, mov, mkv formats are supported!




  1. Click on 'Zone Configuration' to set the zone area's coordinates for the video.
    If you choose not to configure any values, the default settings will be used.
    Additionally, utilize the toggle button to enable or disable traffic light visualization.

Screenshot 2024-06-16 at 5 46 55 PM

Try It Yourself: Executable and Example Videos

Executable File

  • Note: The executable file is available in the Releases section of this repository.
  • Platform: Currently, it only works on Windows! For macOS, you will need to run the code manually.
  • Status: Please note that the executable is still under development and may contain bugs.

Example Videos

  • Example videos can be downloaded using the following link.

App Demonstration

A visual demonstrations of the application in action. It's clear and straightforward, indicating what users can expect when they view the video player.

Screenshot 2024-06-16 at 6 25 13 PM