Showcase/Cityscapes Instance Segmentation
advancedimage

Cityscapes Instance Segmentation

Urban scene understanding with instance-level semantic labeling (Cordts et al., CVPR 2016). Annotate street scenes with pixel-level labels for 30 classes across vehicles, humans, construction, and nature.

🖼️

image annotation

Configuration Fileconfig.yaml

# Cityscapes Instance Segmentation Configuration
# Based on Cordts et al., CVPR 2016

annotation_task_name: "Cityscapes Urban Scene Segmentation"

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: "flat_surfaces"
    description: "Select visible flat surface classes"
    labels:
      - name: "road"
        tooltip: "Drivable road surface"
      - name: "sidewalk"
        tooltip: "Pedestrian sidewalk"
      - name: "parking"
        tooltip: "Parking area"
      - name: "rail_track"
        tooltip: "Rail tracks"

  - annotation_type: "multiselect"
    name: "humans"
    description: "Select visible human classes"
    labels:
      - name: "person"
        tooltip: "Pedestrian or person"
      - name: "rider"
        tooltip: "Person on bicycle/motorcycle"

  - annotation_type: "multiselect"
    name: "vehicles"
    description: "Select visible vehicle classes"
    labels:
      - name: "car"
        tooltip: "Cars, SUVs"
      - name: "truck"
        tooltip: "Trucks"
      - name: "bus"
        tooltip: "Buses"
      - name: "train"
        tooltip: "Trains, trams"
      - name: "motorcycle"
        tooltip: "Motorcycles, mopeds"
      - name: "bicycle"
        tooltip: "Bicycles"

  - annotation_type: "multiselect"
    name: "construction"
    description: "Select visible construction elements"
    labels:
      - name: "building"
        tooltip: "Buildings"
      - name: "wall"
        tooltip: "Walls"
      - name: "fence"
        tooltip: "Fences"
      - name: "bridge"
        tooltip: "Bridges"
      - name: "tunnel"
        tooltip: "Tunnels"

  - annotation_type: "multiselect"
    name: "nature"
    description: "Select visible nature elements"
    labels:
      - name: "vegetation"
        tooltip: "Trees, bushes, plants"
      - name: "terrain"
        tooltip: "Grass, soil"
      - name: "sky"
        tooltip: "Sky"

  - annotation_type: "multiselect"
    name: "objects"
    description: "Select visible objects"
    labels:
      - name: "pole"
        tooltip: "Poles, posts"
      - name: "traffic_sign"
        tooltip: "Traffic signs"
      - name: "traffic_light"
        tooltip: "Traffic lights"

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": "city_001",
    "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/9/9e/Frankfurt_Skyline.jpg/1200px-Frankfurt_Skyline.jpg",
    "context": "Urban street scene. Label all visible objects according to Cityscapes categories: vehicles, humans, construction, nature, and objects."
  },
  {
    "id": "city_002",
    "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/5/5a/Spyker_C8_Spyder.jpg/1200px-Spyker_C8_Spyder.jpg",
    "context": "Street scene with vehicles. Annotate all semantic categories visible."
  }
]

// ... and 1 more items

Get This Design

View on GitHub

Clone or download from the repository

Quick start:

git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/cityscapes
potato start config.yaml

Details

Annotation Types

polygonmultiselect

Domain

Computer VisionAutonomous Driving

Use Cases

Semantic SegmentationInstance SegmentationUrban Scene Understanding

Tags

cityscapessegmentationautonomous-drivingurbancvpr2016

Found an issue or want to improve this design?

Open an Issue