Skip to content

Face Mask Detection model made using MobileNetV2. Comparison is done with other models like XceptionNet, ResNet and InceptionNet.

Notifications You must be signed in to change notification settings

vedantpople4/Mask_detection

Repository files navigation

Real Time Face Mask Detection

This project involves making a mask detection model using python libraries using OpenCV, Tensorflow and Keras. This project is made in 2 phases

  1. The Train Model phase : This phsae involves making of the Training Model which is trained to detect faces in the Frame. This model trained with the dataset to get a good accuaracy.
  2. The Face Mask Detect phase : The model obtained from training phsae is embedded in this script which take the detected Face, the presence of face mask and the percent of face coved with mask as input. This will classify the output as wearing mask or not. The model also portrays, how well the mask is worn, mentioning the accuracy of usage of Masks.

To get started:

  1. Clone this repository by clicking here
  2. Navigate to the correct directory.
  3. Install the required packages using pip install -r requirements.txt
  4. To Run detection Model python run detect_mask_video.py
  5. To End the stream, use Ctrl+c or q This Face Mask Detection Model works on Real Time Video streams.

Publication Update:-

  1. This project is now published as a research paper at ECS transactions

About

Face Mask Detection model made using MobileNetV2. Comparison is done with other models like XceptionNet, ResNet and InceptionNet.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages