A deep learning model for real-time face mask detection using transfer learning on the InceptionV3 model pre-trained on the ImageNet dataset.
The model is able to detect whether a person is wearing a face mask or not in real-time. The model has been trained on a dataset collected from Kaggle, and fine-tuned on the InceptionV3 model pre-trained on the ImageNet dataset.
- Clone the repository
- Install the required packages
- Run the script
git clone https://github.com/niyarrbarman/RT-face-mask-InceptionV3.git
pip3 install -r requirements.txt
python3 main.py
The script will open up your webcam and display the live video feed with mask detection.
The model has been trained and evaluated on a dataset of around 12k images, The model has achieved an accuracy of 94% on the validation set.