Skip to content

luismautone/face-mask-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Face Mask Detection

The project is about the development of an algorithm that could help in controlling the use of masks in public places by the analysis of video footage.

Acknowledgements

The code constitutes an implementation of the approach proposed by Joshi et al.

Python dependencies

  • OpenCV
  • Numpy
  • Tensorflow

Face Detection

Detect person faces from images taken in a wild environment with MTCNN, a CNN that exploits multi-task learning to integrate face detection and face alignment.

Unknown

In FaceMaskDetection_main.ipynb, MTCNN was evaluated on Face Mask Dataset that contains 924 images of people with and without mask.

Precision Recall F1
82.8% 74.4% 78.4%

Mask Prediction

Predict the presence of masks with MobileNetV2, a network architecture that performs feature extraction for object detection and segmentation.

Unknown-1

In MaskDetection_training.ipynb the cited network was trained on Face Mask Detection ~12K Images Dataset that contains only faces of people with and without masks.

In FaceMaskDetection_main.ipynb the trained MobileNetV2 model was used evaluated on the Face Mask Dataset.

Precision Recall F1
WithMask 75% 93% 83%
WithoutMask 91% 69% 78%