Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 639 Bytes

README.md

File metadata and controls

34 lines (23 loc) · 639 Bytes

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