Skip to content

john-hu/mask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mask detector

This project detects a human with/without mask on a live streaming video. It uses yolov5 to train a model and to detect masks. And this repo is modifed from tfjs-yolov5-example.

Pre-trained model.

A pre-trianed model can be found at public folder. It trained with the yolo-try-mask.

If you interest to improve it, you can contact John Hu to get the weight file. Of course, suggestions or improvements are welcome.

Performance and Configs

To have better performance at mobile device, we use 320px x 320px as the size for detection. The model is trained from smallest config of YOLOv5. We know it may reduce P or R value.

Image size: 320x320

Classes:

  • 0: with mask
  • 1: without mask

Development

yarn
yarn start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published