A simple face mask detection application with OpenCV.
We use 2 pre-trained models of face detection and face-mask classification.
Then, we use OpenCV to run the model inference.
Download the project
git clone https://github.com/ishin-pie/face-mask-opencv.git
Install requirements.txt
cd face-mask-opencv
pip install -r requirements.txt
Image detection
python image.py -i demo/image.jpg
Camera detection
python camera.py
Web application
python server.py