Kwimage

Latest version: v0.11.1

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

Scan your dependencies

Page 8 of 13

0.7.12

Added
* Wrapped `itk.imread` with `kwimage.imread`.
* Added `kwimage.imcrop`
* Add `large_warp_dim` to `kwimage.warp_affine`

Fixed
* `kwimage.warp_affine` now returns a sensible result when the source or
destination image has no size.
* `kwimage.grab_test_image` now checks sha256 instead of sha1.
* Fixed tests that downloaded data, but did not check hashes

0.7.11

Changed
* Improved `cv2.imread` auto-space default based on the available backend.
Should no longer need to specify it unless working with cv2.

Fixed
* C-Extension errors for boxes now fallback on pure-python

0.7.10

Added
* Enhanced capabilities of `draw_text_on_image`
* `Mask.draw_on` will now draw on an empty image if none is provided

Fixed
* C-Extension errors for masks now fallback on pure-python
* Not having `imgaug` no longer warns
* Fixed issues with generic warps

0.7.9

Added

* added `border_mode` and `border_value` to `warp_affine`.

* The `img` arg in `draw_text_on_image` can now be specified as a dictionary
for control over canvas generation.


Fixed

* issue computing canvas size in `draw_text_on_image` when an image is not given.

* failing to have imgaug no longer crashes arbitrary functions in annotation warp methods.

0.7.8

Changed

* `kwimage.structs.*.warp` can now accept a `kwimage.Affine` object.

0.7.7

Added

* `Boxes.to_slices`
* `Affine.concise`


Fixed

* counterclockwise polygon check


Changed

* improvements to `kwimage.Affine`.

Page 8 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.