Skip to content
advancedimage

Image Segmentation

Draw polygon masks around objects for semantic segmentation tasks.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/templates/image/image-segmentation
potato start config.yaml

Configuration File

yaml
annotation_task_name: "Image Segmentation"
task_name: "Image Segmentation"
task_description: "Draw precise polygon boundaries around objects."
task_dir: "."
port: 8000

data_files:
  - "sample-data.json"

item_properties:
  id_key: "id"
  text_key: "image_url"
  image_key: image_url

annotation_schemes:
  - annotation_type: image_annotation
    name: segments
    description: "Draw polygons around each object"
    tools:
      - polygon
    labels:
      - "Person"
      - "Vehicle"
      - "Animal"
      - "Object"

output_annotation_dir: "output/"
output_annotation_format: "json"

Sample Data

json
[
  {
    "id": "1",
    "image_url": "https://images.unsplash.com/photo-1518717758536-85ae29035b6d?w=640"
  },
  {
    "id": "2",
    "image_url": "https://images.unsplash.com/photo-1494976388531-d1058494cdd8?w=640"
  }
]

Details

Annotation Types

image_annotation

Domain

Computer Vision

Use Cases

SegmentationInstance Segmentation

Tags

segmentationpolygonmaskcomputer-vision

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)