Kwimage

Latest version: v0.11.1

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

Scan your dependencies

Page 4 of 13

0.9.12

Changed
* imresize now returns the original image if all scale / dsize arguments are unspecified or None.
* Polygon.fill can now work in non-inplace cases, but the `assert_inplace` flag must be set to 0.
* Allow nan as a nodata_method as alias for float

Fixed
* `labels` in `draw_on` now interprets integers as booleans
* Fixed shapely warning about the "type" attribute. Now using `geom_type` instead.

0.9.11

0.9.10

Fixed

* imresize now accepts input dtypes: bool, int32
* imresize now outputs the same channel dimensions as given in the input
* Polygon.union is fixed. (previously it did intersection)
* replaced np.bool with bool
* Fixed issue when drawing text on an unspecified image with an rgba background color

Changed

* Better shapely and gdal transform support in Affine
* Improved agreement between polygon and box draw_on methods.
* Added Color.adjust
* Moved color data to its own module
* `fill_nans_with_checkers` uses a muted checkerboard which is less visually jarring

0.9.9

Fixed

* Fixed issue in kwimage.Box where some functions (e.g. `tl_x`) were returning
incorrectly shaped.
* Bug in nms with cython cpu.

0.9.8

Added
* Added new `Box` class to represent a single box.
* Basic shapely features in Polygon and MultiPolygon
* `Polygon.oriented_bounding_box`
* Added `__geo_interface__` to Polygon and MultiPolygon
* Add imwrite "pil" backend.


Changed:
* imresize no longer fails if none of the scale params are given, it just
returns the image as-is.


Fixed
* Bug in `kwimage.Boxes.draw(setlim=1)`
* But in `fill_nans_with_checkers` with what channels were filled with checkers.

Changed
* support for torch in `Boxes.iooa` (requires kwarray update)
* imresize with letterbox now works when dsize has a None component.
* Expose `on_value` and `off_value` in `fill_nans_with_checkers`
* Better color support

0.9.7

Changed
* Changed image of Carl Sagan to one I know has a CC license.
* Added IPFS CIDs to all demo images.
* Minor doc improvements.


Added
* interpolate to Polygon and Color

Page 4 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.