# Labelling (Your First Edge AI Project)

Note: This page is a part of the tutorial Your First Edge AI Project

# Background

In this section, we cover data labelling/annotation. Labelled data is needed to build, train and evaluate Edge AI models.

# 1. Open recording session (*.imsession)

Expand the sessions (as in the picture above) and double-click one of the .imsession-files. This will open a new .imsession-tab.

Note: Your directory structure might be different from the picture above. Open the .imsession of the first directory in the "sessions" folder.

# 2. Create a new label track

Click on the Add Track... button and select New Label Track.

Let's name our new track by inputting "label1" into the Track Name field. Click "OK".

This resulted in a new label track named "label1" underneath the video track, as seen to the right in the picture. It also resulted in a label1.label file being added to the .imsession.

# 3. Add a label to the new track

In order to add a label, first you have to find the right place for it. You can do that by right-clicking on the data and dragging it to the left or right until the red cursor line lies at the beginning of the data part you wish to label.

In this example, most of the session contains the "running" activity and should be labelled as such. So we will start by zooming out the data view so that we get an overview of the entire session.

Do this by hovering your mouse pointer over the data view (marked in red) and scroll down using your scroll-wheel.

After some scrolling, you will end up with a zoomed-out view like below.

Right-click on the empty space of the label track and select "new label".

A window will appear where you can click on the name of the label (untitled) and give it a new name, in this case, "label1". Then click "OK".

# Editing label position

To fine-tune the position of the label, first you use the "scroll" button on the mouse to enlarge the data track in order to see the exact place where you want the label to begin.

Note: The image below might not be representative of your recording session (different data/video) but the principles remain the same.

Once you have found the place in the data that you want the label to begin at, you can either

move the whole label to the wanted position by dragging it there,

or

drag the left edge of the label (the starting point) to the wanted location.

# Adjusting label length

You can adjust the length of a label by dragging the edges to extend/shrink it in any direction.

Note: The image below might not be representative of your recording session (different data/video) but the principles remain the same.

An edited label

Note: You can save your progress anywhere in Imagimob Studio with 'Ctrl + S'

Next Section (Data Management)