Polygon 2D
Last updated
Last updated
A Polygon 2D is an annotation tool used to draw a closed shape by connecting multiple points or vertices on a 2D plane, typically on an image. It allows users to outline irregular or complex objects with precision by placing a series of points around the object's boundary.
Polygon 2D tool is particularly useful in image annotation for tasks like object detection, and labeling, where objects may not have simple geometric shapes like rectangles. With a polygon 2D, annotators can create more accurate boundaries around objects such as people, vehicles, and other items in an image, improving the quality of data used for computer vision models.
Click on the '+' icon of the class from the class list.
Select polygon 2D from the tool list.
The cursor pointer turns into a red circle marker while hovering over the image.
Click multiple times around the object of interest to define its boundary. Move the mouse to the next desired location, and a line extending from the initial point will dynamically follow the cursor.
Each click adds a vertex to the polygon, allowing for a more precise shape.
Right-Click
to end and apply it.
Right-Click
will introduce another vertex.
Enter the annotation details.
The saved instance will appear on the class list with a 2D icon (car_54 #1) next to the instance name to denote it is made in the image sensor. It shares the same ID as the instance present in the point cloud of the same object (car_54)
The polygon 2D can be re-selected and modified by:
Select a vertex that needs to be edited and drag it to modify its location.
Add a vertex by hovering over the edge of the polygon and left-click when the ‘+’ symbol appears.
Delete the vertex by dragging it into its immediate adjacent one.
Polygon 2D can be copy and pasted in another omage sensor where it does not exist (Ctrl+C
/ Ctrl+V
). The annotation detail input prompts user for input on pasting annotation. By default, the pasted Polygon 2D will share the same Instance ID as the one of the copied Polygon 2D.
Copy and paste of Polygon 2D works inter-frame (across frames where the same instance ID doesn't exist).