The covid19 virus influence negatively our life since 2019 and the virus the first appearance place in the world was Wuhan city in China, and then spread all over world,from this moment we have to wear a face maske in crowded places such as cafe, restaurant.. While wearing mask is not the ultimate solution, it still reduces the rate of transmission of the virus.In addition much applications were produced by software developers. I devoloped this project to solve face mask problem.
in this project, following process is adopted- Prepare mask and without mask images for classifiying model
- Frezee the all layers (without first layer) of VGG19 and add dense,change output layer
- Train the classifier to classify faces into mask or non-mask labels.
- Detect Face with Opencv Haar Cascade Classifier
- Classifiy Face with Pretrained VGG19 model
you can reach dataset from this url: https://www.kaggle.com/ashishjangra27/face-mask-12k-images-dataset