Skip to content

口罩检测。凑个热闹,和百度类似的是否佩戴口罩检测分类,但是速度会更快。

License

Notifications You must be signed in to change notification settings

chenjun2hao/facemask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

facemask


Introduction

Face_mask is a fast mask detection classifier that utilizes pytorch


Installation

Try and start with

1. use pip 
pip install facemask
2. clone the code
git clone https://github.com/chenjun2hao/facemask

Use

download the pretrained model from BaiDu, password: fq1s

import facemask
model = facemask.FaceMaskDetector(modelpath)

model.detect_image_show(image_path)
# or just return the detect results
bboxs = model.model(image_path)             # bbox_coordinate, confidence, label

About

口罩检测。凑个热闹,和百度类似的是否佩戴口罩检测分类,但是速度会更快。

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages