Skip to main content

Face Mask detection

Project description

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

Project details


Download files

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

Source Distribution

facemask-0.1.1.tar.gz (11.3 kB view details)

Uploaded Source

File details

Details for the file facemask-0.1.1.tar.gz.

File metadata

  • Download URL: facemask-0.1.1.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for facemask-0.1.1.tar.gz
Algorithm Hash digest
SHA256 75963426101d3009f94d3eb445d50eae309449b60f5d1d3fd33ee306828f68d8
MD5 3b8b34434e7a564b9b0bfe2215ff983c
BLAKE2b-256 3c3c5d3c36a0c8d23faef13dc7e9f1eec0d659f2cd2545fb26cad8b1290b033f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page