MS COCO Object Detection & Categorization
Object detection annotation following the MS COCO format (Lin et al., ECCV 2014). Select all object categories present in each image and mark object locations with bounding boxes, drawn from COCO's 80 common object categories.
Configuration Fileconfig.yaml
This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.
# MS COCO Object Detection & Categorization Configuration
# Based on Lin et al., ECCV 2014
annotation_task_name: "MS COCO Object Detection & Categorization"
task_dir: "."
data_files:
- "sample-data.json"
item_properties:
id_key: "id"
text_key: "image_url"
context_key: "context"
user_config:
allow_all_users: true
annotation_schemes:
- annotation_type: "multiselect"
name: "object_categories"
description: "Select all object categories visible in the image"
labels:
- name: "person"
tooltip: "Human figures, any age"
- name: "bicycle"
tooltip: "Bicycles, including parts"
- name: "car"
tooltip: "Cars, sedans, coupes"
- name: "motorcycle"
tooltip: "Motorcycles, scooters"
- name: "airplane"
tooltip: "Aircraft of any type"
- name: "bus"
tooltip: "Buses, shuttles"
- name: "train"
tooltip: "Trains, trams, metros"
- name: "truck"
tooltip: "Trucks, vans, pickups"
- name: "boat"
tooltip: "Boats, ships, watercraft"
- name: "dog"
tooltip: "Dogs of any breed"
- name: "cat"
tooltip: "Cats, domestic felines"
- name: "horse"
tooltip: "Horses, ponies"
- name: "chair"
tooltip: "Chairs, seats"
- name: "couch"
tooltip: "Sofas, couches"
- name: "dining_table"
tooltip: "Tables for dining"
- name: "tv"
tooltip: "Television sets, monitors"
- name: "laptop"
tooltip: "Laptop computers"
- name: "cell_phone"
tooltip: "Mobile phones"
- name: "bottle"
tooltip: "Bottles of any kind"
- name: "cup"
tooltip: "Cups, mugs, glasses"
- annotation_type: "text"
name: "bounding_boxes"
description: "Draw bounding boxes around each object (format: category,x,y,width,height per line)"
- annotation_type: "radio"
name: "image_quality"
description: "Rate the overall image quality for annotation"
labels:
- name: "excellent"
tooltip: "Clear, well-lit, easy to annotate"
- name: "good"
tooltip: "Minor issues but annotatable"
- name: "poor"
tooltip: "Difficult to annotate due to quality"
- name: "unusable"
tooltip: "Cannot be reliably annotated"
interface_config:
item_display_format: "<img src='{{text}}' style='max-width:100%; max-height:500px;'/><br/><small>{{context}}</small>"
output_annotation_format: "json"
output_annotation_dir: "annotations"
Sample Datasample-data.json
[
{
"id": "coco_001",
"image_url": "https://images.cocodataset.org/val2017/000000397133.jpg",
"context": "Street scene with various objects. Identify and mark all visible objects."
},
{
"id": "coco_002",
"image_url": "https://images.cocodataset.org/val2017/000000037777.jpg",
"context": "Indoor scene. Identify all objects and their locations."
}
]
// ... and 1 more itemsGet This Design
Clone or download from the repository
Quick start:
git clone https://github.com/davidjurgens/potato-showcase.git cd potato-showcase/image/classification/ms-coco potato start config.yaml
Dataset & paper
Lin et al., ECCV 2014
Citation (BibTeX)
@inproceedings{lin2014microsoft,
title = "{Microsoft COCO}: Common Objects in Context",
author = "Lin, Tsung-Yi and Maire, Michael and Belongie, Serge and Hays, James and Perona, Pietro and Ramanan, Deva and Doll{\'a}r, Piotr and Zitnick, C. Lawrence",
booktitle = "European Conference on Computer Vision (ECCV)",
pages = "740--755",
year = "2014",
publisher = "Springer",
url = "https://arxiv.org/abs/1405.0312"
}Details
Annotation Types
Domain
Use Cases
Tags
Found an issue or want to improve this design?
Open an IssueRelated Designs
CUB-200-2011: Fine-Grained Bird Species Dataset
CUB-200-2011 is a fine-grained bird image dataset of 11,788 photos across 200 species, each labeled with parts, attributes, and a bounding box (Wah et al., 2011). This Potato config reproduces the labeling task.
FLAIR: French Land Cover from Aerospace Imagery
Land use and land cover classification from high-resolution aerial imagery. Annotators classify the primary land use category of aerial image patches and identify any secondary land uses present. Based on the FLAIR dataset from the French National Institute of Geographic and Forest Information (IGN).
iWildCam Wildlife Detection & Classification
Camera trap image classification for wildlife monitoring (Beery et al., CVPR 2019). Classify wildlife species from camera trap images across diverse ecosystems worldwide.