This project implements a real-time face mask detection system using deep learning techniques. It leverages TensorFlow's Keras API and OpenCV to classify and detect face masks in live video streams.
- π€ Convolutional Neural Network (CNN) for mask detection
- πΉ Real-time video stream analysis
- οΏ½ι‘ Face detection using Haar Cascades
- π¦ Color-coded mask/no-mask indicators
- Python 3.x
- TensorFlow
- OpenCV
- NumPy
git clone https://github.com/yourusername/face-mask-detection.git
cd face-mask-detection
pip install -r requirements.txt
- Train the model:
python train_model.py
- Run real-time detection:
python detect_masks.py
- Input Layer: 150x150x3 image
- 3 Convolutional Layers
- MaxPooling Layers
- Flatten Layer
- Dense Layers with ReLU and Sigmoid activations
Contributions, issues, and feature requests are welcome!
MIT License