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 savelabels_correlogram.jpg
andlabels.jpg
files.
from coco_utils.plots import plot_coco_labels
loc = "data/annotations/instances_val2017.json"
plot_coco_labels(loc, "data/outputs/")
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.2.tar.gz
(16.6 kB
view hashes)
Built Distribution
coco_utils-0.0.2-py3-none-any.whl
(17.1 kB
view hashes)
Close
Hashes for coco_utils-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ebf3b05111b560d930124417cb5455c64cdd4345402b8517159080be10ebcef |
|
MD5 | 6037f64724386cfd50a6b34a7f3701c3 |
|
BLAKE2b-256 | 264ed77c3c109b8f2e88f321481ebb6205e7628d86da625d3ae3b6b8bf27dd41 |