Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

Face Mask detection

Project description



Face_mask is a fast mask detection classifier that utilizes pytorch


Try and start with

pip install facemask


download the pretrained model from BaiDu, password: fq1s

import facemask
model = facemask.FaceMaskDetector(modelpath)

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

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for facemask, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size facemask-0.1.1.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page