Kwimage

Latest version: v0.11.1

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

Scan your dependencies

Page 10 of 13

0.7.0

Added

* Add `.jp2` to known GDAL extensions.

* Add `soft_fill` to `Coords`, which aims to paint Gaussian blobs as coordinate
locations.

* Add `kwimage.padded_slice` ported and refactored from ndsampler.

* Add `reorder_axes` to `Coords`, which can change xy to yx representations etc...

* Added `Boxes.bounding_box` method

* Added quantize method to bounding boxes which pushes the left-top coordinates
to their floor and the right-bottom coordinates to their ceiling.

* `Detections.draw_on` can now accept color='classes'

* expose `thickness` in `Detections.draw_on`.

* Added `about` to Polygon and Coords scale and rotate.

* Add `to_geojson` to `PolygonList`

Fixed
* `kwimage.Detections` now correctly handles `None` data values. Previously
`None` was converted to an `array(None, dtype=object)`.

* demodata images now have the correct extension

* Fixed issue with channelless data in `Heatmap.draw_on`

* Bug in `Detections._make_labels` when scores are List[None]

Changed

* BREAKING: TLBR has been internally switched to LTRB

* Better Polygon coercion from geojson

0.6.10

* Added rotate to Coords and Polygon
* Added arg to control where text is drawn on `Boxes.draw_on`.

Fixed
* GPG Keys needed to be renewed

0.6.9

Added
* Added support for `KWIMAGE_DISABLE_TORCHVISION_NMS` environ

0.6.8

Fixed
* Error in `Mask.get_xywh` when mask was empty.

0.6.7

Changed
* Torch and pandas are now optional

0.6.6

Added
* `kwimage.draw_text_on_image` now support `halign`
* `kwimage.Boxes.draw_on` now supports different colors for each box.

Changed
* Removed explicit Python 3.5 support. Note, 3.5 should still still work using
the universal `py2.py3-none-any` wheel.

Fixed
* Issue with `Detections.from_coco` with keypoint categories
* Fixed `kwimage.Boxes.draw_on` when images are non-contiguous

Page 10 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.