Skip to main content

Video anonymization by face detection

Project description

Deface: Video anonymization by face detection

Installation

From PyPI (official releases):

$ pip install deface

Current git master:

$ pip install 'git+https://github.com/mdraw/deface'

Usage

Basic usage after installing the deface package:

$ deface <input.mp4> -o <output.mp4>

Show help and all options:

$ deface -h

Hardware acceleration with ONNX Runtime

CUDA (on Nvidia GPUs)

If you have a CUDA-capable GPU, you can enable GPU acceleration by installing the relevant packages:

$ pip install onnx onnxruntime-gpu

If the onnxruntime-gpu package is found and a GPU is available, the face detection network is automatically offloaded to the GPU. This can significantly improve the overall processing speed.

Other platforms

If your machine doesn't have a CUDA-capable GPU but you want to accelerate computation on another hardware platform (e.g. Intel CPUs), you can look into the available options in the ONNX Runtime build matrix.

Credits

Project details


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.4.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

deface-0.4.0-py3-none-any.whl (7.0 MB view details)

Uploaded Python 3

File details

Details for the file deface-0.4.0.tar.gz.

File metadata

  • Download URL: deface-0.4.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for deface-0.4.0.tar.gz
Algorithm Hash digest
SHA256 1d9ad052f11e9a3d8b0e925fa7da3fb3c4203a45d75fe59836def1347fec1577
MD5 4f789a1867720cd12e658d194077c28e
BLAKE2b-256 1bb84ddebddf9f071dc43a09013ce1a975bac5cf10d474c135b6c51ec0831ec6

See more details on using hashes here.

File details

Details for the file deface-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: deface-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1

File hashes

Hashes for deface-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 04f17b8551e2c5a30e6d4e9a39fcb09b726403f3bf1e0390abba75d31af30f39
MD5 1a9a46cd322669d4208aabcc16228780
BLAKE2b-256 70d1b674949618043a724b710d21cd5a12b56ec4e5a663e055fe283443acd505

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page