Creating an AI engine that is capable of predicting whether a person is wearing a face mask and a safety helmet at work place like construction sites, labs etc.
I have divided the problem in 2 different problems
- Detecting Helmet
- Detecting Mask
In this problem I have used YOLOv3 for training my custom object(Helmet) detection. I have trained YOLO model from scratch which detects Helmet in an image with very accuracy. For more information about training & installation open helmet-detection folder.
In this problem I have used classification technique to differenciate/classify between face with mask or face without mask images. I have trained MobileNetV2 using Transfer learning for this problem. The accuracy achieved for training set is 98% and for validation 95%.
Dataset - I have used a small dataset for thsi problem, and the dataset is included in the mask-detection folder.
For more info go to mask-detection folder.
For the final task, I have combined both the model in a single file - For visualizing the final result open final_predicy.ipynb file.