A library and tool for detecting face masks in images and video streams
Project description
face-mask-detector
A library and tool for detecting face masks in images and video streams
Installation
To install face-mask-detector
from source, clone this repository and run the
following in the project root directory:
pip install -e '.[dev]'
As always, the usage of a python virtual environments is recommended for a development setup.
Quick Start
All commands are expected to be run in the project root directory.
To detect face masks in a image, run:
python scripts/detect_face_mask_in_image.py --image path/to/image
To start your webcam and detect face masks in the video stream, run:
python scripts/detect_face_masks_in_webcam_video_stream.py
To train the face-mask-detector model, run:
make model
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
face-mask-detector-0.2.0.tar.gz
(20.3 MB
view hashes)
Built Distribution
Close
Hashes for face_mask_detector-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cdf631c447387dd4489f87da5ec83bddae6e1071326010eb9576bcf72e20bf03 |
|
MD5 | e1128e80e1cdf0edd9c539d8208fc484 |
|
BLAKE2b-256 | 3cccacc874083acbb240a26584e33300e818b6e80c772ad0c896fbad4a2b9f68 |