Skip to main content

facemask


Introduction

Face_mask is a fast mask detection classifier that utilizes pytorch


Installation

Try and start with

pip install 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

Release files for facemask 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for facemask 0.1.1
File Size Uploaded
facemask-0.1.1.tar.gz 11.3 kB Details

Release files / facemask-0.1.1.tar.gz

Download URL facemask-0.1.1.tar.gz
Size 11.3 kB
Tags Source
SHA-256 checksum
How to use checksums
75963426101d3009f94d3eb445d50eae309449b60f5d1d3fd33ee306828f68d8
BLAKE2b-256 checksum
How to use checksums
3c3c5d3c36a0c8d23faef13dc7e9f1eec0d659f2cd2545fb26cad8b1290b033f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page