Autocrop

Latest version: v1.3.0

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

Scan your dependencies

Page 1 of 2

1.3.0

Changes

- The `initial-setup` step in Makefile now also installs development packages.
- The `black` formatting package now gets installed with `requirements-dev.txt`

Deprecations

- Deprecate Python 3.6

1.2.0

Changes

- Modify the `opencv-python` dependency over to `opencv-python-headless`, which doesn't have all the GUI baggage. Easier to download and package.

Documentation

- Created the `examples` directory and moved the example notebook to it.

1.1.1

Deprecations

- Deprecate Python 3.5
- Deprecate OpenCV 3

API Additions

- User can now specify what file extension to save cropped files at the CLI

Security

- Update Pillow dependency in order to limit possible security issues

Other changes

- Updates to the developer setup tools and documentation
- Updates to the example notebook

1.1.0

Not secure
Added

- CLI now copies file by default

1.0.0

Not secure
Added

- Cropper class now available from Python API.
- Local multi-version testing for Python now available with `tox`.
- Extra regressions tests to defend against image warp and cropping outside the regions of interest.
- Support for Python 3.8

Bugfixes

- Specify encoding in `setup.py`, which was causing some errors on Windows.

Deprecated

- Support for padding argument — this is now solely handled by the `face_percent` parameter, and enforces the aspect ratio between `width` and `height`.
- Support for Python 2.7

0.3.2

Not secure
Changes

* Autocrop now prints the filename of images where face detection failed
* Internal refactoring and more tests

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.