Useful data structures, utils for Python.
Project description
# face-mask Wear face masks in the given picture.
## Install Install by pip: `bash pip install face-mask `
Or install locally (cd project root directory first): `bash python3 setup.py install `
## Usage Specify face picture path and then auto save to face with mask picture path (whose name with “-with-mask” suffix). `bash face-mask /path/to/face/picture `
If you want to see the new picture with default viewer, please specify –show option. `bash face-mask /path/to/face/picture --show `
If you want to wear different mask to face, then specify one of the options below: - –black for black mask - –blue for blue mask - –red for red mask
For instance: `bash face-mask /path/to/face/picture --blue `
In addition, you can specify different detection models by –model option: - hog is less accurate but faster on CPUs. - cnn is a more accurate deep-learning model which is GPU/CUDA accelerated (if available).
`bash face-mask /path/to/face/picture --model cnn `
## Effects ### One person wears a mask 
### Many persons wear masks 
### Comic persons wear masks > Attention: Face recognition for comic face is not accurate enough.

Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for face_mask-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfb309c0e3c4afec518b71e5bed7cee6790154e9c78e9537d3015d6efa87f5ed |
|
MD5 | b074369ce688a1ba21669a3cb8228a0b |
|
BLAKE2b-256 | 8416714ebe66a44cb5ef104cf3c4b33e36920d87c722be14add7a9fdade05b48 |