Skip to content

Nannew/LabelTool

Repository files navigation

LabelTool

LabelTool is a simple annotation tool for creating label masks from images. The tool is written in C++ and based on Qt and reuse a few features from Qt Scribble example.

  • This tool is rather a framework and lacks other features of a labeling tool.

The tool supports the following features

  • Open, save, and print images and masks

  • Draw and label objects with line segments
  • Recognize boundary points when drawing

Left click to start. Repeat left click to mark the boundary of an object

When the cursor is within 10 pixels from the image boundary, clicking will use the closest point at the image boundary. Right click to end drawing and the tool will then fill the region

  • Reset image (Ctrl+S) and class labels (Ctrl+M)
  • Add (Ctrl+N), clear (Ctrl+C), and delete (Ctrl+D) a class label

  • Show/hide a class label with checkable items under "Class" menu

  • Change active class to edit