Rotated Bounding Box

Overview of the Rotated Bounding Box labeling tool in Ango Hub

The rotated bounding box labeling tool allows you to draw a box around an object or point of interest in an image, and to then rotate it.

The Rotated Bounding Box Tool in Ango Hub

How to add a Rotated Bounding Box tool to your project

From the project’s Settings tab, enter the Category Schema section.

Click on Add Category. From the list that appears, click on Rotated Bounding Box.

A new row will appear named Rotated Bounding Box. Click on it to expand it.

Give your rotated bounding box tool a title.

Required: Enable the Required toggle if you want to force labelers to create a rotated bounding box for each asset. When the toggle is disabled, labelers will be able to save and move to the next asset without creating the rotated bounding box.

Targeted OCR: By enabling this, you will be able to perform OCR and get the OCR results in the exports for the areas highlighted by the bounding boxes belonging to this class.

If you would like to ask labelers further questions, for example, if you want to show a further radio after drawing the rotated bounding box, click on Add Classification and add a further question. More on nested questions here.

How to Draw a Rotated Bounding Box

Click on the image where you'd like the top-left corner of the rotated bounding box to be. Click again where you'd like the box to end.

You can change the angle of the box by clicking and dragging on the point located just outside the box.

Perform OCR on the contents of the bounding box

Hub allows you to perform OCR on the contents of rotated bounding boxes, both single and in bulk.

To do so, when adding your rotated bounding box class to your project, enable the Targeted OCR toggle as mentioned in the previous section.

Targeted OCR will only work if the rotation handle is at the top.

On a Single Rotated Bounding Box

Once you are in the labeling editor, draw a bounding box over the text you'd like to perform OCR on. Then, right-click on the box and expand the context menu.

On Multiple Rotated Bounding Boxes

In the labeling editor, press Shift and click on the rotated bounding boxes you'd like to perform OCR on. Once you have selected all boxes, right click on any one of them and click on Run OCR.

To see the OCR results, right-click on a box and expand the context menu that appears. Alternatively, expand the rows in the Objects section in the lower-left corner of the UI.

Last updated