As always, the use of a python virtual environment is recommended for a development setup:
python -m venv venv
source venv/bin/activateTo install using pip:
pip install face-mask-detectorTo detect face masks in a image, run:
face-mask-detector --image path/to/imageTo start your webcam and detect face masks in the video stream, run:
face-mask-detectorI ❤️ 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]'