Face mask detection

Face Mask Detection System built with OpenCV, TensorFlow using Computer Vision concepts in order to detect face masks in static images as well as in real-time video streams.

Made this project during the ongoing COVID pandemic for the densely populated areas or hospitals.


  • OpenCV
  • TensorFlow
  • Keras
  • Imutils
  • Numpy
  • Matplotlib
  • Scipy

? Install

All the dependencies and required libraries are included in the file requirements.txt

  1. Clone the repo

$ git clone https://github.com/iamVaibhav100/face-mask-detection.git
  1. Change your directory to the cloned repo

$ cd Face-Mask-Detection
  1. Create a Python virtual environment named ‘test’ and activate it

$ virtualenv test

$ source test/bin/activate
  1. Now, run the following command in your Terminal/Command Prompt to install the libraries required

$ pip3 install -r requirements.txt


View Github