cocohelper

A Python API to make working with the COCO dataset format simpler.

Submodule

cocohelper.adapters

Adapters to transform custom datasets into COCO format.

cocohelper.dataframe

Extend pandas Dataframe to allow easier manipulation of COCO Datasets.

cocohelper.errors

Custom exceptions for the library.

cocohelper.filters

Base filters that can be used, composed or extended to extract specific information from dataframes.

cocohelper.helper

Represent a dataset in the COCO format.

cocohelper.importer

Generate COCOHelper objects from a generic dataset interface.

cocohelper.joins

Access to different joins of a COCO dataset tables.

cocohelper.merge

Merge multiple COCO datasets together.

cocohelper.splitters

Split the COCO dataset in sub-portions.

cocohelper.stats

Calculate dataset statistics on the images and annotations.

cocohelper.transforms

Transformations and manipulation of COCO images and annotations.

cocohelper.utils

Utilities.

cocohelper.validator

Check COCO dataset validity based on data ids and directory tree.

cocohelper.visualizer

Visualize COCO images and annotations.