Kwcoco

Latest version: v0.8.7

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

Scan your dependencies

Page 4 of 15

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

0.6.1

Added:
* Add `remember_parent` option to CocoDataset.union
* Add `CocoDataset.coerce_multiple` and `load_multiple` loader with parallel processing.
* Add parallel IO to `kwcoco union`
* Add util parallel and eval

Fixed:
* Issue in detection metrics when classes was not specified. Now uses the true
detections to infer them if possible.
* Detection metric assign workers was never used
* Subsets of metrics now work when TN is not available.

Changed
* CLI backend changed to use scriptconfig ModalCLI

0.6.0

Changed
* CocoImage and CocoAsset use the new AliasDictProxy interface to smoothly
transition between name conventions.
* The "assets" key is now an alias of "auxiliary" for CocoImage and we will switch to "assets" as the primary in the future.
* Toydata now generates RGB bands independently
* Change `__unstructured__` to `_unstructured` for sqlalchemy 2.x compat

Added
* demo data now has the ability to render on top of a background image.

Fixed
* Fixed sqlalchemy 2.x compatibility
* The track index now works properly with SQL variants and returns ordreing

0.5.8

Changed
* Toydata now has better polygon generation for small image sizes, but is still
not perfect.
* Changed the internal name used in compressed zip files.

Fixed
Bug in `CocoImage.add_asset` where json serialization was broken

0.5.7

Changed
* In `metrics.drawing`, make threshold colors more consistent
* Added `category_names` property to `Annots1d` object.
* Deprecate `CocoImage.add_auxiliary_item` in favor of `CocoImage.add_asset`

Added
* Added `annots` property to CocoImage
* Added `add_annotation` to `CocoImage`
* Added `autofix` option `kwcoco reroot`

Fixed
* Better asset space support
* Querying `annots` by track-id now return them in a sorted order.

Page 4 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.