Skip to main content

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

Project description

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/")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

coco_utils-0.0.2.tar.gz (16.6 kB view hashes)

Uploaded Source

Built Distribution

coco_utils-0.0.2-py3-none-any.whl (17.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page