Kwcoco

Latest version: v0.8.2

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

Scan your dependencies

Page 2 of 14

0.7.5

Changed
* Added `imgs_with_annots` to extended stats.
* Background param now works as an argument to `demo` for vidshapes

Fixed
* Added missing `name_to_video` index in sql dataset

0.7.4

Added

* Added `take` and `subgraph` to `kwcoco.CategoryTree`.

Changed

* `kwcoco.CategoryTree` no longer modifies node order to be sorted by id. If
this causes something to break, old behavior can be temporarily restored by
setting `RESPECT_INPUT_ORDER = 0`, but this option will be removed in the
future.

* `kwcoco.CategoryTree.from_coco` and other `CategoryTree` constructors now
respects the order in which the categories were given if id is not present.

0.7.3

Added
* Add `datetime` attribute to `CocoImage`.
* Add `ensure_video` method to `CocoDataset`.
* Add `ensure_track` method to `CocoDataset`.
* Add `sort_values` method to `ObjectList1D` (and hence vectorized `Images` and `Annots` objects).
* Add `--inplace` to `kwcoco conform`.

Fixed
* kwcoco.Coerce with sqlview now works for .kwcoco.zip files.

0.7.2

Fixed
* `clear_annotations` now also clears tracks.
* `Images.annots` now returns `AnnotGroups` where the underlying `Annots`
objects use id lists instead of id sets.
* Issue with new matplotlib 3.8 and `show_image`.

Added
* `kwcoco info` can now query images by name.
* Add `io_workers` to kwcoco stats

0.7.1

Fixed:
* Fixed issue where imdelay would sometimes not respect antialias and interpolation

0.7.0

Added

* Top level track support in the dictionary dataset with `add_track`,
`remove_tracks`, and `index.name_to_track`.

* Single-object convenience classes for the major tables.

Changed

* Default data structure for Python versions >= 3.7 is now a regular dictionary
instead of OrderedDict. The behavior in 3.6 is unchanged.

* Working towards a better and consistent CocoImage API without breaking
compatibility. Added `iter_assets` and added `as_dict` kwargs to
`primary_asset`. The goal is that these high level functions will return
objects instead of dictionaries.

Page 2 of 14

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.