This project opens your camera and detects face masks in real time using OpenCV.
- Red box → indicates mask status
- Text shows category + confidence
- Supports multiple faces in one frame
- Add YOLOv8 version
- Export to ONNX for faster inference
- Build GUI using PyQt
- Add mobile version using TensorFlow Lite
The model was trained using the Face Mask Detection Dataset from Kaggle:
https://www.kaggle.com/datasets/andrewmvd/face-mask-detection?utm_source=chatgpt.com&select=images
📦 Dataset After Training
You can download the processed dataset/model after training from this link: https://drive.google.com/file/d/1jPrlJy5mcRDvlyf5DDY-JdyVfDzjT6xw/view?usp=sharing
This project is open-source and free to use.
Developed by Osama Mohammed AlHajj
GitHub: https://github.com/OsamaALHajj