AI Datasets
Esc

    ↑↓ move↵ open/ search from any page

    Catalog / Vision

    MS COCO (2014)

    330k everyday scenes with 1.5M labeled objects in 80 categories.

    Why it matters

    ImageNet asks "what is in this photo?"; COCO asks "where is every object?". Its cluttered, non-iconic scenes and its box AP metric became the yardstick for object detection (Faster R-CNN, YOLO, Mask R-CNN, DETR), and its captions helped start image captioning and vision-language models.

    Get the data

    # pip install -U huggingface_hub
    hf download rafaelpadilla/coco2017 --repo-type dataset \
      --revision refs/convert/parquet \
      --local-dir coco

    This copy uses a loading script, so the snippets use the Hub's Parquet conversion (train + val, ~19 GB). The original zips are on cocodataset.org.

    Year
    2014
    Creators
    Tsung-Yi Lin et al. (Microsoft and academic partners)
    Task
    Object detection, segmentation and captioning
    Size
    ~330k images, ~200k annotated
    Splits
    train2017 118,287 · val2017 5,000 · test2017 40,670
    Input
    RGB photo, typically 640 px on the long side
    Labels
    Boxes and masks for 80 object categories, 5 captions per image
    License
    Annotations CC BY 4.0; images under their Flickr licenses
    Paper
    Microsoft COCO: Common Objects in Context

    Samples

    Showing 6 of 18 sampled rows(from 5,000 in the val split)
    giraffe ×2
    keyboardlaptop
    giraffe ×3
    banana
    boat
    cell phonepersonbackpack
    What one record actually looks like (raw JSON, row 983)
    {
      "image": {
        "height": 640,
        "src": "samples/coco/983-image.jpg",
        "width": 427
      },
      "image_id": 445365,
      "objects": {
        "area": [
          33136.68009999999,
          49507.18924999999
        ],
        "bbox": [
          [
            31.25,
            247.07000732421875,
            200.0399932861328,
            392.92999267578125
          ],
          [
            186.97000122070312,
            116.48999786376953,
            240.02999877929688,
            513.4400024414062
          ]
        ],
        "id": [
          595445,
          595637
        ],
        "iscrowd": [
          false,
          false
        ],
        "label": [
          25,
          25
        ]
      }
    }

    Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.

    Sampled 2026-11-07 from rafaelpadilla/coco2017 at revision 7d5136d

    Worth knowing

    Related datasets

    Landmark papers