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 labelsfunction is used to plot and savelabels_correlogram.jpgandlabels.jpgfiles.
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_utilsorpip 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
Release history Release notifications | RSS feed
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 details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file coco_utils-0.0.3.tar.gz.
File metadata
- Download URL: coco_utils-0.0.3.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Darwin/21.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8deec2b982e5927ad25bc42d2a0fcb9db5e4847ef3521c990ce2925af1b428ad
|
|
| MD5 |
89d4273c9750792cc305721654e7f170
|
|
| BLAKE2b-256 |
5bb6571fae5d36eb383ac7bdf07ec286cf626a328c52cddf5af12fe60d40fa26
|
File details
Details for the file coco_utils-0.0.3-py3-none-any.whl.
File metadata
- Download URL: coco_utils-0.0.3-py3-none-any.whl
- Upload date:
- Size: 17.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.8 CPython/3.9.6 Darwin/21.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8a433e86c4584055d725473888fcca4da6e716f5cb6b1a524f7520bb54ddfc3
|
|
| MD5 |
fdd84e7b7c39f2649c931596daedaadf
|
|
| BLAKE2b-256 |
95148edaddf9a99caf40c247a06e9c822714fbfac8967999e62fd6a62ed6a021
|