Annotation
Annotation tools
The Image Editor has 8 annotation tools: Point, Polyline, Polygon, Bounding Box, Rotated Box, Ellipse, Cuboid, and Magic Box (for OCR).
- To move around an image while annotating, you can click and hold the scroll wheel and move the mouse, or you can use the
W
,A
,S
, andD
keys on the keyboard. PressW
andS
to go up and down, and pressA
andD
to go left and right.- Use the ruler in the left panel to measure the size of your objects and instances.
Point
To annotate with the Point tool:
- In the left panel, select the Point tool or press
P
on the keyboard. - Click on the object you want to annotate.
Polyline
To annotate with the Polyline tool:
- In the left panel, select the Polyline tool or press
L
on the keyboard. - Click where you want to start outlining the object. If you want to annotate an irregular shape, you need to create multiple lines that are connected to each other. In this case, you can click to start a new line that goes in a different direction.
- Finish the annotation by clicking twice where you want it to end.
Polygon
To annotate with the Polygon tool:
- In the left panel, select the Polygon tool or press
Z
on the keyboard. - Click where you want to start outlining the object.
- Outline the object using clicks.
- Finish the annotation by clicking the starting point.
Create a polygon with an existing point
You can create a polygon using a point from an existing polygon as a starting point:
- In the left panel, select the Polygon tool or press
Z
on the keyboard. - Hover over an existing polygon and click on a starting point.
- Draw the polygon.
- Finish the annotation by clicking the starting point.
Create a polygon with a common side with another polygon
To create a polygon that has a common side with an existing polygon:
- In the left panel, select the Polygon tool or press
Z
on the keyboard. - Enable Clip mode.
- Hover over an existing polygon and click the two points that make up the side you want to connect to your new polygon.
- Draw the polygon.
- Finish the annotation by clicking the starting point.
Subtract polygon
You can remove part of a Polygon.
To remove part of a Polygon:
- Right-click on an existing Polygon. We’ll call this the parent polygon.
- Click Subtract polygon or press
Shift + S
on the keyboard. - Draw a Polygon over the area you want to remove. Let’s call the removed area the child polygon. The intersection of the parent polygon and child polygon will be removed.
Magic Polygon
With the Magic Polygon, you can draw a line or scribble on an object to get a Polygon annotation. This will help you manually select the area you want to have annotated, making the process faster. Learn more.
Magic Select
Magic Select is powered by Meta's Segment Anything Model (SAM) and it will allow you to automate the annotation process and create more accurate annotations faster. Learn more.
Bounding Box
To annotate with the Bounding Box tool:
- In the left panel, select the Bounding Box tool or press
X
on the keyboard. - Click on the image and drag the cursor to draw a Bounding Box.
- Let go of the click.
Rotated Box
To annotate with the Rotated Box tool:
- In the left panel, select the Rotated Box tool or press
Ctrl + X
on the keyboard. - Draw a line (click to start the line and click to end the line).
- Move the cursor to draw a box.
- Rotate the box (optional).
Ellipse
To annotate with the Ellipse tool:
- In the left panel, select the Ellipse tool or press
E
on the keyboard. - Click on the image and drag the cursor to draw an Ellipse.
- Let go of the click.
Cuboid
To annotate with the Cuboid tool:
- In the left panel, select the Cuboid tool or press
Q
on the keyboard. - Click on the image and drag the cursor to draw a square.
- Click when you're satisfied with the size of the square.
- Drag the cursor forward, backward, or sideways to draw the cuboid.
Magic Box (OCR)
With this tool, you’ll be able to extract texts from images in the form of an OCR input. Learn more.
Point label
You can add point labels to all the instances in the Image Editor.
To do add a point label:
- Select an instance.
- Right-click on a point.
- Type a point label name.
- Click the check button.
When you add a label to a point, it turns red.
To delete a point label:
- Select an instance.
- Right-click on a point.
- Click the X button.
To add a point label on a Keypoint:
- Select the Keypoint.
- While holding the
Shift
key on the keyboard, right-click on the Keypoint.- Type a point label name.
- Click the check button.
To delete a point label on a Keypoint:
- Select the Keypoint.
- While holding the
Shift
key on the keyboard, right-click on the Keypoint.- Click the X button.
Automate tool selection
In cases where you have specific annotation tools that you are likely to use all across your project, you can automate the process of tool selection by creating a General steps. You can create one manually to best suit the needs of your project and your team. Learn more.
Using the steps
In the editor, click Start steps from the left panel, or press .
on the keyboard.
After starting the set, you will see the name of the first step above your cursor. If you had selected an attribute for the step, you will see the attribute’s name under the step name.
Begin your annotation. After each annotation is made, the set will automatically move on to the next step, and that step’s annotation tool will be selected and ready to use.
Navigating the steps
During the process, you can go back and forth between steps as many times as you like, and you can reuse steps you have already done. It won't replace the existing annotations.
To skip a step, click Next step, or press .
on the keyboard.
To go back a step, click Previous step, or press ,
on the keyboard.
If you go back to a previous step in the set, the order will continue from that step onward. For example, let’s say you have 5 steps in your set. If you have annotated steps 1, 2, and 3, but you want to go back to step 1, after annotating it again, the set will move onto step 2 instead of step 4.
Layer instances
You can layer instances in the Image Editor.
To send an instance to the top:
- Right-click on the instance.
- Select the
↑
arrow or pressShift + ]
on the keyboard.
To send an instance to the bottom:
- Right-click on the instance.
- Select the
↓
arrow or pressShift + [
on the keyboard.
Copy instance
To copy and paste an instance:
- Select the instance you want to copy.
- Press
Ctrl + C
to copy the instance once. - Press
Ctrl + V
to paste the instance (this can be done multiple times).
Group instances
In some cases, you might need to use more than one tool to annotate a single object. To indicate that several instances form one object, you need to group them.
To group instances:
Method 1:
- Right-click on the instance.
- Go to the Group tab.
- Click the + button or choose a Group ID from the drop-down list.
Method 2:
- Select the instance.
- Press
Ctrl + G
on the keyboard.
Method 3:
- Select the instance that you want to add to a new group.
- Expand it in the right panel.
- In the Group tab, click the + button.
To add an instance to an existing group:
Method 1:
- Right-click on the instance.
- Go to the Group tab.
- Select a group from the list under Group ID.
Method 2:
- Select the instance that you want to add to an existing group.
- Expand it in the right panel.
- Go to the Group tab.
- Select a group from the list under Group ID.
Ungroup instances
To ungroup instances:
Method 1:
- Select the group.
- Click Ungroup in the top panel or press
Ctrl + Shift + G
on the keyboard.
Method 2:
- Right-click on the instance.
- Go to the Group tab.
- Select the X button next to the group name.
Method 3:
- Select the instance.
- Press
Ctrl + Shift + G
on the keyboard.
Approve/Disapprove instance
To approve an instance:
- Select the instance.
- Click the corresponding thumbs up button in the right panel or press
Shift + ↑
.
To disapprove an instance:
- Select the instance.
- Click the corresponding thumbs down button in the right panel or press
Shift + ↓
.
Show/Hide multiple instances
To show and hide multiple objects at the same time:
- Select one or multiple instances on the canvas or the group’s dashed line.
- Right-click on any instance.
- Select the eye icon to show or hide the instances.
To unhide instances, select the eye icon of every instance you want to unhide in the right panel.
Delete instance
Delete one instance
There are 2 ways to delete an instance:
Method 1
- Select the instance you want to delete.
- Press the
Backspace
orDelete
keys on the keyboard.
Method 2
- Find the instance you want to delete in the right panel.
- Click the corresponding delete button.
Delete multiple instances
There are 2 ways to delete multiple instances at the same time:
Method 1
- Select an instance.
- Press and hold the
Ctrl
key on the keyboard. - While holding the
Ctrl
key, select other instances. - Press the
Backspace
or theDelete
keys on the keyboard.
Method 2
- In the left panel, select the Select button.
- Click and hold while you drag your cursor to select the instances you want.
- Press the
Backspace
or theDelete
keys on the keyboard.
Delete all the instances
To delete all the instances, click the Delete button in the right panel.
Updated 3 months ago