bhavuksagar/Face_Mask_Detection
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
Dataset Link:- https://www.kaggle.com/ashishjangra27/face-mask-12k-images-dataset For training I’m using the VGG16 model. Model contains a total 20 layers in which 13 are Convolutional, 1 is flatten , 1 Dense and 5 Maxpooling layers are present. Accuracy on test data is 99.7%. Model trained for only 5 epochs.
For prediction, I’m using the openCV library and Haar-cascades face-detection.xml file for detecting the face in the image. After detecting the face in the image it crops the face part sends to the face mask detection model for prediction.




