# Adding annotations in One Step AI

If your files are not annotated, or if you want to modify existing labels, you can use the annotation editing tool available in OSAI.

# Getting started

In any tab of the dataset gallery view, you can select an image to edit by clicking on it. The label editing window will then open. On the right, there is a menu with a number of options:

  • Classification category - for assigning categories
  • Detection labels - contains a list of all annotations present in the image, as well as those not present in the image
  • Image details - details of the image; its width and height in pixels and file size,
  • Keyboard and mouse shortcuts - a collection of all keyboard shortcuts that you can use in the Image Editor
  • Delete image - delete the displayed image together with all annotations

Using the top, navigational panel, we can take the following actions:

  • Return to the detailed view of the dataset,
  • Go to the previous or next image within this dataset, keeping the currently selected filter,
  • Select one of the editing modes:
    • Basic - where existing labels can be selected and edited,
    • Always create mode - where existing labels are ignored for editing and new labels are always created with the given name and can be created in place of existing labels.

The editor is fully compatible with touch devices - you can perform any operation by using gestures, just as you would with a mouse and keyboard.

The green check mark in the top right corner of the screen indicates whether the last changes have been saved correctly on the page.

Annotation view
Annotation view

# Navigation

To add a new object annotation, click and hold the left mouse button (or finger if your screen supports it) on the image and select the area containing the chosen object.

When you release the button/finger, a pop-up window will appear.

This window allows you to give the annotation a new name or select it from those already used in the dataset. You can also edit existing annotations: change their size, position and names, just like when creating a new one - just click/tap the selected annotation.

To delete a label, select the existing object on the canvas and click/tap the trash icon or press the Delete button on your keyboard.

Scroll with the mouse to zoom in and out of the image. Pressing the scroll button switches on the image panning mode, which can be useful at high zoom levels.

At any time, you can restore the scale and position of the image to its original form using the Reset View button.

To perform these actions on a touch device, use the interface in the top left corner of the view and the buttons for panning and scaling the photo.

Adding a new label
Adding a new label

Classification categories
Classification categories

# Adding categories

It is possible to add a classification category of the image during the annotation process. To do this, use the drop-down list in the left panel in the Classification category section.

# Troubleshooting

Sometimes the labels will overlap and you will not be able to select the one you are interested in. This problem can be solved in two ways:

  • By clicking on the name of an object category in the side panel, all objects in the photo belonging to that category will move to the top.
  • By right-clicking on another label, it will move it to the bottom so that the one you are interested in can be selected.