Formats

COCO JSON

CONVERT To
CONVERT From
MODELS
EXAMPLE
Roboflow is a trusted solution for converting and managing your data. Today, over 100,000 datasets are managed on Roboflow, comprised of 100 million labeled and annotated images.

Once your data is in Roboflow, just add the link from your dataset and you're ready to go. We even include the code to export to common inference formats like TFLite, ONNX, and CoreML.

Below are pre-configured models that use the
COCO JSON
data format
.

What computer vision models use COCO JSON?

The

YOLOS

,

Mask RCNN

,

EfficientDet

,

Detectron2

,

models all use the

COCO JSON

data format.

To see our entire list of computer vision models, check out the Roboflow Model Library.
coco.json
{
    "info": {
        "year": "2020",
        "version": "1",
        "description": "Exported from roboflow.ai",
        "contributor": "Roboflow",
        "url": "https://app.roboflow.ai/datasets/hard-hat-sample/1",
        "date_created": "2000-01-01T00:00:00+00:00"
    },
    "licenses": [
        {
            "id": 1,
            "url": "https://creativecommons.org/publicdomain/zero/1.0/",
            "name": "Public Domain"
        }
    ],
    "categories": [
        {
            "id": 0,
            "name": "Workers",
            "supercategory": "none"
        },
        {
            "id": 1,
            "name": "head",
            "supercategory": "Workers"
        },
        {
            "id": 2,
            "name": "helmet",
            "supercategory": "Workers"
        },
        {
            "id": 3,
            "name": "person",
            "supercategory": "Workers"
        }
    ],
    "images": [
        {
            "id": 0,
            "license": 1,
            "file_name": "0001.jpg",
            "height": 275,
            "width": 490,
            "date_captured": "2020-07-20T19:39:26+00:00"
        }
    ],
    "annotations": [
        {
            "id": 0,
            "image_id": 0,
            "category_id": 2,
            "bbox": [
                45,
                2,
                85,
                85
            ],
            "area": 7225,
            "segmentation": [],
            "iscrowd": 0
        },
        {
            "id": 1,
            "image_id": 0,
            "category_id": 2,
            "bbox": [
                324,
                29,
                72,
                81
            ],
            "area": 5832,
            "segmentation": [],
            "iscrowd": 0
        }
    ]
}
MANAGING over 100 million images for companies of all sizes

Join over 100,000 developers managing computer vision data on Roboflow.

VentureBeatTechCrunchInteresting EngineeringInternational Business TimesU.S. News & World ReportYahoo Finance