Skip to content

itamarco/face-mask-detector

Repository files navigation

Face Mask Detector

Face mask detection with Tensorflow

My "hello tensorflow" project, Inspired by this post and this repo

Static detection example:

static exmaple

Tech stack

  • Tensorflow (training and detection)
  • OpenCV (face detection and image processing)
  • Colab (Interactive runtime for jupyter notebooks)

Dataset

Taken from chandrikadeb7 repo

Model

A convolution network consist of these layers:

  • Two pairs of Conv and MaxPool layers to extract features from the dataset.
  • Flatten and Dropout layer to convert the data in 1D and ensure overfitting.
  • Two Dense layers for classification. model summary

Live webcam detection

 $ python live-mask-detector.py

Requirements:

  • tensorflow (or tensorflow-cpu)
  • opencv-python

About

Face mask detection with Tensorflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published