This repo is about a system, which is automatically detect the motorcylist without a helmet. There is a website to run demo as below.
The dataset used for training was taken from track 5 of AI CITY CHALLENGE competition.
Create a conda enviroment, and activate your enviroment. This project was doned in python version 3.9
conda create -n helmet_demo python=3.9 -y
conda activate helmet_demo
Install all the packages
pip install -r requirements.txt
Start your server by running the following commands:
cd Detecting-Violation-of-Helmet-Rule-for-Motorcyclists-/
uvicorn main:app --host 0.0.0.0 --port 3000
By clicking into file index.html
, login with email admin@gmail.com
and password admin
. You are ready to go. Here is quick view of UI.
Login Screen