Kwcoco

Latest version: v0.8.7

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

Scan your dependencies

Page 12 of 15

0.2.3

Changed
* Made bezier dependency optional
* stats now returns video stats

0.2.2

Added

* Added `channel_spec.py` as a helper and documentation
* Auxiliary images now have `warp_aux_to_img` property
* Base images now have `warp_img_to_vid` property

Changed

* Removed `base_to_aux` transform in favor of inverse `warp_aux_to_img`


Fixes
* Fixed error in kwcoco conform documentation
* The conform operation now warns if the segmentation cannot be converted to a polygon

0.2.1

Changed

* The `dset.index.vidid_to_gids` is now guaranteed to always return image ids ordered by their frame index.
* `dset.view_sql` now has a `memory` kwarg that will force the database to live in memory.
* The SQLite backend now agrees with the dict backend and does not map None to values for image names and file names.

Removed
* `kwcoco.utils.util_slice` use `kwarray.util_slice` instead.

0.2.0

Fixed
* Fixed numpy warning by using `int` instead of `np.int`.
* Issue in rename categories with non-deterministic behavior
* Reference gdal from the `osgeo` package
* Fixed "name" attribute in sqlview.
* Implemented the `name_to_video` index
* annToMask and annToRLE in the `compat_dataset` now work like the original.

Removed
* Several deprecated APIs
* `kwcoco.toydata` and `kwcoco.toypatterns`, use `kwcoco.demo.toydata` and `kwcoco.demo.toypatterns` instead.
* `remove_all_images` and `remove_all_annotations` (use clear variants instead)


Changed
* `kwcoco coco_subset` can now take a list of image-ids explicitly.
* Separate the vectorized ORM-like objects out of `coco_dataset` and into their own `coco_objects` module.

0.1.13

Changed
* The image schema now has two modalities. The normal `id` + `file_name` still
exists, but now we can do `id` + `name` + `auxiliary` without a default
`file_name`, which allows us to better handle multispectral images.

* The `name` is a new primary text key for images.

* In the SQL view of the database, non-schema properties are now stored in
"extra" instead of "foreign". (I confused "foreign keys" for "additionalProperties")

Added
* Add `name` property to the `image`.
* Add `kwcoco.Subset` create a subset of a coco file based on filter criteria
* Add `kwcoco.Subset` create a subset of a coco file based on filter criteria
* Experimental interactive mode to kwcoco show
* Start to merge cli and class functionality.

Fixed
* Fixed the default bundle root to be the cwd instead of
`untitled_kwcoco_bundle`.

* `CocoDataset.union` will now correctly insert prefixes into file names such
that they are relative to the common bundle directory.

* Bug in `rename_categories`

0.1.12

Page 12 of 15

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.