Kwcoco

Latest version: v0.7.8

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

Scan your dependencies

Page 2 of 13

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.

0.6.4

Fixed

* `CocoImage.add_asset` can now accept an image_id property.

Changed

* Modified `kwcoco info` script to be able to stream the first n items in each
table in a json compliant way.

0.6.3

Added
* New CLI script: `coco_move_assets`.
* New CLI script: `coco_info`.

Fixed
* Issue in `coco_subset` CLI when copy-assets is on and the input is absolute paths.
* reroot can now accept pathlib.Path arguments.
* Improved reroot logic.
* fixed issue in coco union where output paths were not rerooted correctly in some cases.

Changed
* `kwcoco validate` now reports the path to the first missing / corrupted image in the error.
* Started work on new top-level track table.
* Started laying groundwork for moving assets to their own table.
* Moved examples out of the module and into the main repo.

0.6.2

Changed
* sliced getitems into a CocoObject1d (e.g. Images, Annotations, etc...) now
returns a new CocoObject1d representing the subset instead of a list of
integer ids.
* reroot now ignores leading "./" when looking for `old_prefix`
* `CocoDataset.corrupted_images` now defaults `check_aux` to True
* `CocoDataset.corrupted_images` now can execute in parallel.
* `CocoDataset.corrupted_images` now checks if it can read the entire image again.
* Changed the folder "aux" to "auxiliary" in test data, due to windows issues.
* `CocoDataset.get_image_fpath` now returns a ubelt.Path object
* `CocoDataset.get_auxiliary_fpath` now returns a ubelt.Path object
* `CocoImage.iter_image_filepaths` now yields ubelt.Path objects
* `CocoImage.primary_image_filepath` now returns a ubelt.Path object

Added
* Add id property to CocoObject1d

Fixed
* Windows path fixes
* safer no longer tries to use temp files on windows

Page 2 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.