coco-utils

utility functions for data explorations and metrics calculation on coco data format


License
GPL-3.0
Install
pip install coco-utils==0.0.1

Documentation

coco_utils

A set of utility functions to process object detection (coco) datasets.

Summary

  • COCO wrapper, Use coco_utils COCO function which has extra properties like label_counts, label_presence, img_wise_counts, label_names, label_names_available, count_images.
from coco_utils.coco import COCO
x = COCO("data/annotations/instances_val2017.json")
  • plot labels function is used to plot and save labels_correlogram.jpg and labels.jpg files.
from coco_utils.plots import plot_coco_labels
loc = "data/annotations/instances_val2017.json"
plot_coco_labels(loc, "data/outputs/")

Summary of set up

  • Clone the repo and do poetry install. To install poetry on your system/server.

How to run tests ?

  • TODO

How to use ?

  • poetry add coco_utils or pip install coco_utils

Deployment instructions

  • poetry build & poetry publish

Who do I talk to?

Repo owner or admin

  • Prakash Vanapalli

Other community or team contact.