Rectangle
Last updated
Last updated
A Rectangle or 2D Bounding Box (BBox) is a rectangular annotation tool used to enclose and label objects within a 2D image. It is defined by the top-left and bottom-right corners, creating a box that contains the object of interest.
The rectangle tool is commonly used in image annotation for computer vision tasks like object detection, tracking, and classification. By drawing bounding boxes around objects in an image, annotators provide key data that helps train models to identify and locate objects within images, such as vehicles, pedestrians, or animals. It's a simple yet powerful tool for marking the presence and position of objects in 2D space.
Click on the '+' icon of the class from the class list.
Select Rectangle from the drawing tool list.
The cursor pointer shows a red circle marker while hovering over the image.
Make the first two clicks to define one side of the rectangle. Users will be able to see the red box on moving the mouse. Click with the mouse at the appropriate place and confirm the annotation.
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 rectangle can be re-selected and modified
Select a vertex to modify two edges together and drag.
Select an edge to modify one edge and drag.
Learn rectangle dimension modification and moving shortcuts.
The drawable rectangle supports a keypoint within the drawable. The subject matter expert will create a rectangle and automatically the keypoint will be available in the centre (provided it was setup during recipe creation - Learn how to enable Key Point With Vertical Line). The SME can then update the keypoint position to the desired location within the rectangle.
2D Polygons can be copy and pasted in another image 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 rectangle will share the same instance ID as the one of the copied rectangle.
Copy/ Pasting of Rectangle works inter-frame (across frames where the same instance ID doesn't exist.