Skip to content

Checks if person on the video is wearing a medical mask (Hi, COVID-19)

Notifications You must be signed in to change notification settings

CREESTL/FaceMaskPersonDetectorOpenVINO

Repository files navigation

FaceMaskPersonDetector

How to run it?

  • download weights for yolov3 here and put it near yolov3.cfg
  • run setupvars.bat
  • run face_mask_person_detector.py via command line

If you want to test it on a different video - not webcam, change line 328 to cap = cv.VideoCapture("test_imgs/doctor.mp4")

This program can:

  • detect&count persons on the video
  • detect person's face
  • detect a medical mask (yolov3 was trained to do this from scratch)
  • check if a mask is on person's face