Table of Contents

Bounding Box

Alex Cota Updated by Alex Cota

Bounding boxes are created by marking the two opposite corners of a box.

Configuring the Bounding Box tool

Setup steps
  1. Create a project.
  2. Select "Editor" as your label editor.
  3. Click "Add Object" and name your object.
  4. Select "Bounding Box" as your labeling tool.
  5. [OPTIONAL] Configure nested classifications.
  6. Click "Confirm".
  7. Click "Complete setup".

Nested classifications

Any existing classification tools can be nested within the tool to capture metadata about the label. The example below demonstrates how a single-choice radio question is nested within a bounding box object.

Creating instances

From the labeling interface, you can use the same class for more than one annotation. For example, if there are 2 birds in an image and you would like to assign the "Bird" class to all 5 birds, you can create multiple instances of the "Bird" class.

Follow these steps to create multiple instances of the same object:

  1. Select a class and draw the object.
  2. Select the same class again.
  3. Draw the next instance of the object.

Label format

Bounding box labels can be imported as an existing label or a model prediction. Below is a sample bounding box label export in JSON.

"Label": { 
"objects": [
{
"featureId": "ck9bmeej61emf0yf5bgjb4tjw",
"schemaId": "ck9blmq1lnlxw08895jy7zsk4",
"title": "sample-bbox",
"value": "sample-bbox",
"color": "#FF8000",
"bbox": {
"top": 186,
"left": 192,
"height": 300,
"width": 519
},
"instanceURI": "https://api.labelbox.com/masks/feature/ck9bmeej61emf0yf5bgjb4tjw..."
}
],
"classifications": []
}

Was this page helpful?

Image classification

Polygon

Contact