Adding Labels to Images Using Object Detection

You can use object detection to add labels to an image in Data Labeling. You add labels to annotate images.

    1. In the Dataset Details page:
      • If Data records is selected, there are two ways to get to the Add labels page:
        • click the name of the image you want to label.
        • click the action icon for the image you want to label, and click Label.
      • If Gallery view is selected, click the name of the image you want to label.
    2. In the Add Labels page, in the Tools panel, click Bounding box.
    3. Draw a bounding box over the part of the image you want to label.
    4. In the Label panel, select the correct label for the part of the image. If there is only one label in the dataset, the label is automatically selected for the image.
      Note

      You must draw a bounding box round what you want to label before you can add a label to the image.
    5. Repeat steps 3 and 4 until you have added all the labels you want to add to the image.
      There is functionality to help you pick out details in the image:
      • There are some icons you can click to Zoom in, Zoom out, and Reset zoom to adjust the image size . There are Undo and Redo icons to alter your changes when using bounding boxes. You can Move the image on the screen, too. Click the Info icon, to display the labeling instructions from the Dataset creator in a resizeable and draggable panel.
      • Click Adjust image icon. The Adjust image panel is displayed. You can alter the Brightness, Contrast, and Saturation of an image.
      • Click Shortcuts to display the Shortcuts panel. It shows the list of shortcut keystrokes to save you using the mouse to navigate this functionality and other actions on the screen.
      • Click Clear annotations to remove any labels from the image.
      • You can close, minimize, and move the panels that display all these functionalities to make it easier to label your images. The positions of these panels is cached in the browser. If you clear your browser's cache, or start using a different browser, they are displayed in the default positions. After you use a browser, the panels display in the positions you left them the last time you used it.
      Note

      Any adjustments you make as to how the record is displayed, are just for display, and are not saved.
    6. Click Save & next to save your changes and label the next image, or click Save to save your changes. If you don't want to label an item, click Skip to move to the next image. If you are at the last image, click Save & done to save your changes and return to the Dataset Details page.
    7. (Optional) Click Cancel to return to the Dataset Details page.
      If you have added a label to a record, but not saved it, you are prompted to confirm that you want to cancel.
  • Use the dataset update command and required parameters to object detection to add labels to an image:
    oci data-labeling-service-dataplane record update [OPTIONS]
    For a complete list of flags and variable options for CLI commands, see the CLI Command Reference.
  • Run the UpdateRecord operation to use object detection to add labels to an image in Data Labeling.