Training a model that will differentiate between people wearing mask or not.
The dataset is available on Kaggle. The dataset consists of 600 training images, 306 validation images, and 100 for testing.
In this project, I used only transfer learning.
- Load Data
- Data augmentation
- Model Construction : EfficientNetB1
- Model Training
At the end of the training phase, I got 0.9869 for the validation accuracy and 0.0486 for the validation loss.
- Install tensorflow
- install open cv
- clone repository
git clone git@github.com:Ahmed-Camara/Face-Mask-Detection.git
- execute
python3 prediction.py
in the terminal.