Introduction to Labeling Tools

You are currently viewing the documentation for version 2.4.1. To access documentation for other versions, click the "Switch Version" button located in the upper-right corner of the page.

■ To use the latest version, visit the Mech-Mind Download Center to download it.

■ If you're unsure about the version of the product you are using, please contact Mech-Mind Technical Support for assistance.

Defect Labeling Tools

Defect labeling tools can label the defects in images to provide the information required by deep learning training.

You can choose among the following labeling tools built in the software according to actual needs.

Polygon Tool

The Polygon Tool can draw polygon labels with more vertices, which is suitable for regular defects.

tools introduction polygon
  1. Click tools introduction polygon icon (or press P on the keyboard).

  2. Click the first position (vertex) in the selection area, then click the second one, third one, etc., to draw the labels, and right-click to finish.

Brush Tool

Use the Brush Tool to draw labels of any shape. This tool is suitable for defects with complex shapes.

tools introduction pen
  1. Right-click tools introduction polygon icon and then click tools introduction pen icon (or press B on the keyboard).

  2. Adjust the slider to set the thickness of lines according to the size of defects.

  3. Long press the left mouse button in the selection area, move in any direction, and then release the left mouse button to finish the drawing.

Autofill Lasso Tool

Draw arbitrarily shaped labels by forming closed shapes with brush paths. This tool is used for defects with complex shapes.

tools introduction lasso
  1. Right-click tools introduction polygon icon and then click tools introduction lasso icon (or press A on the keyboard).

  2. Adjust the slider to set the thickness of lines according to the size of defects.

  3. Long press the left mouse button in the selection area and move in any direction to form closed shapes with the starting point and thus finish the drawing.

Mask Tool

If there are some irrelevant parts that may interfere with model training/inference, you can use the Mask Tool to cover such parts. The masked parts will not be involved in training/inference. For example, the object surface features that should not be judged as defects but are similar to defects, need to be masked out.

You can choose among the following three mask tools built in the software according to actual needs.

  • The Mask Type includes Mask single image and Mask globally.

    • Mask single image: the mask is only valid in the current image.

    • Mask globally: the mask is valid in all images.

  • It is recommended that the same type of masks should be filled with the same color.

Mask Polygon Tool

tools introduction mask polygon

  1. Click tools introduction mask polygon icon (or press Shift + P on the keyboard)

  2. Set Mask Type and Mask fill.

  3. Click the first position (vertex) in the selection area, then click the second one, third one, etc., to draw the labels, and right-click to finish.

Mask Brush Tool

tools introduction mask pen

  1. Right-click tools introduction mask polygon icon and then click tools introduction mask pen icon (or press Shift + B on the keyboard)

  2. Set Mask Type, Mask fill, and Brush size.

  3. Long press the left mouse button in the selection area, move in any direction, and then release the left mouse button to finish the drawing.

Mask Lasso Tool

tools introduction mask lasso

  1. Right-click tools introduction mask polygon icon and then click tools introduction mask lasso icon (or press Shift + A on the keyboard)

  2. Set Mask Type and Mask fill.

  3. Long press the left mouse button in the selection area and move in any direction to form closed shapes with the starting point.

Labeling Eraser Tool

The Labeling Eraser Tool can be used to erase the labeled region.

tools introduction eraser

  1. Click tools introduction eraser icon (or press E on the keyboard)

  2. Long press the left mouse button in the selection area and move in any direction.

    Adjust the slider to change the eraser size.

Mask Eraser Tool

The Mask Eraser Tool can be used to erase the masks.

tools introduction mask eraser

  1. Right-click tools introduction eraser icon and then click tools introduction mask eraser icon (or press Shift + E on the keyboard)

  2. Long press the left mouse button in the selection area and move in any direction.

    Adjust the slider to change the eraser size.

Grid Cutting Tool

In industrial inspection scenarios, if the size of images captured by the camera is large, smaller defects may be inconspicuous. If training under such a case is performed, defects are difficult to detect. You can use the Grid Cutting Tool to cut the large images into cell images of the same size according to the set dimension. Defect labeling should be completed for all images before the application of this tool.

  1. Click tools introduction grid cut icon (or press U on the keyboard).

  2. Set Rows and Columns and then click Apply.

    • Place the cursor in the parameter boxes and then scroll the mouse wheel.

    • Enter values in the parameter boxes.

      Note that the number of rows and columns should not be too large, or else the number of cell images after cutting is great, which slows down subsequent inference.

Grid Selection Tool

Right-click tools introduction grid cut icon and then click tools introduction grid select icon (or press I on the keyboard) to open the Grid Selection Tool. By default, the cell images with defect labels are checked, which will be added into the training/validation set. You can select cell images with and without defects on demand. Click the Preview button in the upper right corner of the selected image to preview the cell images.

  • Select defects: Select all the cell images containing defects to put into the training/validation set.

  • Select all: Select all the produced cell images into the training/validation set, and set those containing no defects to OK.

  • Clear selection: Clear the selections on cell images.

We Value Your Privacy

We use cookies to provide you with the best possible experience on our website. By continuing to use the site, you acknowledge that you agree to the use of cookies. If you decline, a single cookie will be used to ensure you're not tracked or remembered when you visit this website.