This project focuses on extracting motorcycle license plates when the rider or back sitter is not wearing a helmet.
I use the YOLOv5 algorithm to detect the rider, license plate, and rider's head. Then, utilizing the ResNet50 image classifier, I determine whether the rider is wearing a helmet or not. If not wearing a helmet, the system saves their license plate number in an image folder and captures the rider's image in a separate folder.
- Download the YOLOv5 weight files and the classification model.
- Place all downloaded files in the main folder of this project.
- Run the code to start extracting license plates based on helmet detection.
Feel free to explore, contribute, and enhance the capabilities of this project!