Face mask detection using tensorflow and keras. Original code belongs to https://www.pyimagesearch.com/2020/05/04/covid-19-face-mask-detector-with-opencv-keras-tensorflow-and-deep-learning/. You can test the code with any of the test images in the the examples folder:
python detect_mask_image.py --image examples/example_01.jpg
To test the code in realtime with a camera just run:
python detect_mask_video.py
-numpy
-opencv
-imutils
-tensorflow
All of these packages can be installed with pip.