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
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
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]'