How to annotate the ground truth for image segmentation?

10,074

Solution 1

For semantic segmentation every pixel of an image should be labeled. There are three following ways to address the task:

  1. Vector based - polygons, polylines

  2. Pixel based - brush, eraser

  3. AI-powered tools

In Supervisely, tools to perform 1,2,3 are available.

SmartTool usage example

Below are two videos that compare polygon vs AI-powered tools: cars segmentation and food segmentation.

More details about annotation features of Supervisely can be found here.

Solution 2

One tool that pops to mind is MIT's LabelMe toolbox: this toolbox is mainly for browsing the existing labeled images of the dataset, but it has an option to annotated new images as well.

There's alos this github repository for COCO UI you might find useful.

Solution 3

Try out https://www.labelbox.io/. Here is what their image segmentation template looks like...

enter image description here

A lot of the code is open source and they have a hosted service to manage labeling end to end.

Solution 4

I created an open source tool called COCO Annotator: It provide any features where other tools fall short:

  • Directly export to COCO format
  • Segmentation of objects
  • Useful API endpoints to analyze data
  • Import datasets already annotated in COCO format
  • Annotated disconnected objects as a single instance
  • Labeling image segments with any number of labels simultaneously
  • Allow custom metadata for each instance or object
  • Magic wand/select tool
  • Generate datasets using google images
  • User authentication system

Solution 5

SageMaker Ground Truth has dataset management and UIs to enable semantic segmentation. https://aws.amazon.com/sagemaker/groundtruth/

We recently released an enhancement to the UI which speeds up annotations considerably, by automatically finding region boundaries. Read about it here: https://aws.amazon.com/blogs/machine-learning/auto-segmenting-objects-when-performing-semantic-segmentation-labeling-with-amazon-sagemaker-ground-truth/

enter image description here

Share:
10,074

Related videos on Youtube

Nestarneal
Author by

Nestarneal

Updated on September 15, 2022

Comments

  • Nestarneal
    Nestarneal over 1 year

    I'm trying to train a CNN model that perform image segmentation, but I'm confused how to create the ground truth if I have several image samples?

    Image segmentation can classify each pixel in input image to a pre-defined class, such as cars, buildings, people, or any else.

    Is there any tools or some good idea to create the ground truth for image segmentation?

    Thanks!

  • Shamane Siriwardhana
    Shamane Siriwardhana over 6 years
    How to label each pixel in to object classes ? Do we have an array after that , the class of the each pixel .
  • Shai
    Shai over 6 years
    @ShamaneSiriwardhana you usually ends up with an indexed image the same size as the original one.
  • Shamane Siriwardhana
    Shamane Siriwardhana over 6 years
    Let's say I have 3 objects in one image. So how can I annotate ? Can you please help me
  • ComputerScientist
    ComputerScientist over 2 years
    A note for those reading now, LabelMe seems quite old and the message board that hosts the FAQ/discussion is shutting down as of Dec 11, 2021. quicktopic.com/37/H/E4xRZ7fZZhh