Skip to content

A library and command line utility for detecting face masks in images and video streams

License

Notifications You must be signed in to change notification settings

senofsky/face-mask-detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

face-mask-detector

PyPI PyPI - License contributions welcome PyPI - Versions

A library and command line utility for detecting face masks in images and video streams

Demo Gif

Install

As always, the use of a python virtual environment is recommended for a development setup:

python -m venv venv
source venv/bin/activate

To install using pip:

pip install face-mask-detector

Quick Start

To detect face masks in a image, run:

face-mask-detector --image path/to/image

To start your webcam and detect face masks in the video stream, run:

face-mask-detector

Contribute

I ❤️ pull requests and defect reports - I welcome contributions of any kind!

To install face-mask-detector from source, clone this repository and run the following in the project root directory:

pip install -e '.[dev]'