Video anonymization by face detection
Project description
Deface: Video anonymization by face detection
Installation
Current git master:
$ pip install 'git+https://gitlab.com/mdraw/deface'
Usage
After installing the deface
package:
$ deface -i <input.mp4> -o <output.mp4>
Without installation:
$ python3 -m deface.deface -i <input.mp4> -o <output.mp4>
GPU acceleration
If you have a CUDA-capable GPU, you can enable automatic GPU acceleration by installing ONNX Runtime:
$ pip install onnx onnxruntime-gpu
If it can be loaded sucessfully, it is automatically used for face detection. s
Credits
- centerface.{onnx,py}: based on https://github.com/Star-Clouds/centerface (8c39a497), MIT license (https://github.com/Star-Clouds/CenterFace/blob/36afed/LICENSE)
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
deface-0.1.0.tar.gz
(6.6 kB
view hashes)
Built Distribution
deface-0.1.0-py3-none-any.whl
(7.0 MB
view hashes)