Data annotation (data labeling)

Data annotation, also called data labeling, is the work of attaching machine-readable labels to raw data, such as boxes, polygons, masks, keypoints or tags on images, so that a model can learn from it. In computer vision it is usually called image annotation, and the finished labels become the ground truth a model is trained and tested on.

AnnotationAlso called data labeling, image annotation, data tagging

What gets labeled, by task

The label follows the question the model has to answer. Asking for more detail than the task needs costs time; asking for less caps what the model can learn.

  • Image classification: one or more tags per image.
  • Object detection: a bounding box and a class for every object.
  • Instance and semantic segmentation: polygons or pixel masks that follow the outline.
  • Pose estimation: a skeleton of named keypoints on each person, animal or part.
  • 3D perception: cuboids and per-point classes in LiDAR point clouds.
  • Video: the same object followed from frame to frame as one track.

From raw files to a training set

  1. Write annotation guidelines: the classes, the shape for each and the rules for hard cases.
  2. Import the data and create the classes in the project.
  3. Label, usually with a model proposing the first version of each label.
  4. Review: a second person accepts or returns the work, and disagreements are settled.
  5. Version the result and export it in the format the training code reads.

Where labeling projects go wrong

  • Classes defined by name only, so two annotators draw the boundary between "van" and "truck" in different places.
  • No review budget: errors in the validation set make every later metric less trustworthy.
  • Labeling everything at the same depth, when only a fraction of the images carry new information.
  • Exporting late and finding out that the target format cannot hold a shape that was used.

Data annotation in Supervisely

Supervisely has a labeling toolbox for each kind of data: images, videos, 3D point clouds and medical volumes. AI-assisted labeling proposes masks, boxes and tracks, and the labeling workflow splits the work into tasks and queues with review and consensus. Finished projects export to formats such as COCO and YOLO.

Frequently asked questions.

Is data annotation the same as data labeling?

Yes. Both name the work of attaching labels such as boxes, polygons, masks, keypoints or tags to raw data so that a model can learn from it; in computer vision it is also called image annotation.

Which data can I annotate in Supervisely?

There is a labeling toolbox for each kind of data: images, videos, 3D point clouds and medical volumes, and AI-assisted labeling proposes masks, boxes and tracks.