SMART TRAFFIC VIOLATION

 
Project Algorithm :
Rule-based analysis of bounding boxes, Image preprocessing
 
Project Overview :
In India, six two-wheeler riders die every hour in road accidents. Also, we have seen that during this pandemic people wear masks, and to avoid congestion they do not wear helmets which attracted our concern and we decided to work on a project where these helmetless people can be penalized for violating traffic rules. To achieve an efficient helmet detection model, we have used the YOLOv5 object detection model using transfer learning. Further to check whether the biker is wearing a helmet or not we are using two methods, one being checking for overlapping between bounding boxes and the second method is, checking if a helmet exists in the specified range of coordinates above the motorcycle. Our model gives a mAP of 0.995 and to the best of our knowledge, we used overlapping methods for interlinking objects for finding the person not wearing a helmet. For number plate recognition we are using EasyOCR.
 

Reference Video : -