COVID-19 face mask detector using OpenCV, Keras/TensorFlow, Flask and Deep Learning
- This is my project in DL Class, which is organized by AI4E. The COVID-19 mask detector I'm building here today could potentially be used to help ensure your safety and the safety of others. COVID-19 face mask detector used to:
- Detect face masks in images
- Detect face masks in video
- Detect face masks in real-time video streams
- Solution:
- Detecting faces in images/video
- Extracting each individual face
- Applying our face mask classifier
- Demo web by Flask
- Detect in images
- Detect in video
- Detect in real-time video streams
- OpenCV
- Tensorflow
- Keras
- Flask
-
Clone the repo
-
Use the package manager pip to install package
pip install -r requirement.txt
-
Open source code and read how to run
Our current method of detecting whether a person is wearing a mask or not is a two-step process:
- Step 1: Perform face detection
- Step 2: Apply our face mask detector to each face
If enough of the face is obscured, the face cannot be detected, and therefore, the face mask detector will not be applied.