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

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.

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.3.tar.gz (17.3 kB view hashes)

Uploaded Source

Built Distribution

coco_utils-0.0.3-py3-none-any.whl (17.9 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