Face-crop-plus

Latest version: v1.1.0

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

Scan your dependencies

1.1.0

Changelog

Bugs

* Fixed undefined behavior when landmarks are provided in advance but not for all the image files. Now only those image files will be processed for which the landmarks are specified.
* Fixed undeclared `paddings` variable when landmarks are provided in advance. `paddings` are now set to `None` indicating images are unpadded.
* Fixed garbage outputs when `Cropper` is instantiated multiple times.
* Fixed documentation typos. I realized that _neckless_ means a being without a neck, not a _necklace_. Big brane.

Behavior

* Changed default `padding` to `constant` (to avoid heads coming out of heads)
* Changed default `enh_threshold` to `None` (to avoid unnecessarily wasting time on enhancement)

Features

* Added `desc` argument in `process_dir` which allows to specify the description for the progress bar (useful when calling the function multiple times) or disable it if specified as `None`
* Added a utility function `clean_names` to rename file names (with an in-place option) to be cross-os-compatible.

1.0.3

Changelog
* Corrupted/unreadable images will now be skipped and a warning will be raised instead of an error

1.0.2

Changelog
* Updated citation
* Updated README.md

> **Note**: version 1.0.0 will still be used to download `.pth` weight files.

1.0.1

Changelog

* Updated citation
* Fixed package publish action

> **Note**: version _1.0.0_ will still be used to download `.pth` weight files.

1.0.0

Release Notes
The initial release of **Face Crop Plus** package. More information about it:
* [Documentation](https://mantasu.github.io/face-crop-plus/)
* [PyPi project](https://pypi.org/project/face-crop-plus/)

> **Note**: this release also includes .pth weight files that will be automatically downloaded while using the package.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.