Deface

Latest version: v1.5.0

Safety actively analyzes 682416 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

1.5.0

What's Changed
* Add replace with mosaic option by Shazi199 in https://github.com/ORB-HD/deface/pull/42
* Fix crash when trying to keep audio but there's no audio stream by borijang in https://github.com/ORB-HD/deface/pull/49
* Keep image metadata after blurring by Frezs19 in https://github.com/ORB-HD/deface/pull/45
* Add basic black-box test using tox, automatically run with a new GitHub actions workflow

New Contributors
* Shazi199 made their first contribution in https://github.com/ORB-HD/deface/pull/42
* borijang made their first contribution in https://github.com/ORB-HD/deface/pull/49
* Frezs19 made their first contribution in https://github.com/ORB-HD/deface/pull/45

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.4.0...v1.5.0

1.4.0

- Accelerated onnxruntime execution providers like OpenVINO or DirectML are now
automatically selected for inference if available. The presumably fastest
provider is chosen by default. To override this choice you can use the new
`--execution-provider` CLI argument (also fixes 40).
- Switch included ONNX model to optimized version with batch normalization ops merged into the adjacent convolution layers. This leads to slightly better performance while keeping the end results the same (39).
- Update documentation according to these changes.
- Fix a bug that occurs when passing differently shaped inputs in the same `deface` call (41).

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.3.0...v1.4.0

1.3.0

What's Changed
* Add `--keep-audio` (`-k`) option to preserve / copy audio track of videos, as requested in 4. Default behavior is still that the audio track is discarded. (48b655e)
* Require `imageio>=2.25` and `imageio-ffmpeg>=0.4.6`, which are necessary for the `--keep-audio` implementation.
* Modernize build system using pyproject.toml, use setuptools-scm instead of versioneer and remove a few setup files that are no longer needed now. (5ae6ded)
* Use a GitHub workflow for automatic package publishing on PyPI when releases are tagged. (79f4cb4)

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.2.0...v1.3.0

1.2.0

What's Changed
* Support RGBA and grayscale input images (outputs are always RGB) in 852286e
* Fix ort explicit providers required by Aziks0 in https://github.com/ORB-HD/deface/pull/22
* Fix inconsistent fps issues (fps reading vs fps writing) by mysablehats in https://github.com/ORB-HD/deface/pull/28

New Contributors
* Aziks0 made their first contribution in https://github.com/ORB-HD/deface/pull/22
* mysablehats made their first contribution in https://github.com/ORB-HD/deface/pull/28

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.1.1...v1.2.0

1.1.1

* Fix a regression of CLI input path parsing that was introduced with v1.1.0:
- Invalid input paths were accidentally ignored instead of triggering error messages
- The `$ deface cam` shortcut wasn't working properly

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.1.0...v1.1.1

1.1.0

What's Changed
* Support directories as input, by faaip in https://github.com/ORB-HD/deface/pull/10
* Add function to get anonymized image without CLI, by faaip in https://github.com/ORB-HD/deface/pull/13
* Add option to replace faces with a custom image, by medrimonia in https://github.com/ORB-HD/deface/pull/17
* Fix incompatibility with ONNX 1.9.0+ in https://github.com/ORB-HD/deface/commit/c4b375bbf6fb15171d8de5b75f260277ccbe18c5

New Contributors
* faaip made their first contribution in https://github.com/ORB-HD/deface/pull/10
* medrimonia made their first contribution in https://github.com/ORB-HD/deface/pull/17

**Full Changelog**: https://github.com/ORB-HD/deface/compare/v1.0.0...v1.1.0

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.