Labelbox

Image Classification

A comprehensive set of image classification tools: single choice, multi-choice, nested dropdowns, and free-form text input

Overview

Watch this video tutorial to learn everything about the image classification tools in Labelbox.

Radio (Single Choice)

Use radio tool if you'd like a labeler to chose a single option among many.

Interactive Configuration

Programmatic Configuration

{
  "tools": [],
  "classifications": [
    {
      "name": "is_the_image_blurry?",
      "instructions": "Is the image blurry?",
      "type": "radio",
      "options": [
        {
          "value": "yes",
          "label": "Yes"
        },
        {
          "value": "no",
          "label": "No"
        }
      ],
      "required": false
    }
  ]
}

Export Format

"Label": {
    "is_the_image_blurry?": "yes"
  }

Checklist (Multi Choice)

Use checklist tool if you'd like a labeler to chose multiple options.

Interactive Configuration

Programmatic Configuration

{
  "tools": [],
  "classifications": [
    {
      "name": "select_the_animals_in_the_picture:",
      "instructions": "Select the animals in the picture:",
      "type": "checklist",
      "options": [
        {
          "value": "zebra",
          "label": "Zebra"
        },
        {
          "value": "giraffe",
          "label": "Giraffe"
        },
        {
          "value": "tiger",
          "label": "Tiger"
        },
        {
          "value": "lion",
          "label": "Lion"
        }
      ],
      "required": false
    }
  ]
}

Export Format

"Label": {
    "select_the_animals_in_the_picture:": ["giraffe", "zebra"]
  }

Nested Dropdowns

Labeling with complex nested taxonomy can be achieved by using the Dropdowns. In Labelbox, Dropdowns can be nested i.e. you can easily configure it to support a taxonomy such as the one shown below:

Interactive Configuration

Programmatic Configuration

{
  "tools": [],
  "classifications": [
    {
      "required": false,
      "instructions": "Chose the species",
      "name": "chose_the_species",
      "type": "dropdown",
      "options": [
        {
          "label": "Equus",
          "value": "equus",
          "options": [
            {
              "label": "Horses",
              "value": "horses"
            },
            {
              "label": "Zebras",
              "value": "zebras",
              "options": [
                {
                  "label": "E. zebra",
                  "value": "e._zebra"
                },
                {
                  "label": "E. quagga chapmani ",
                  "value": "e._quagga_chapmani_"
                },
                {
                  "label": "E. quagga quagga ",
                  "value": "e._quagga_quagga_"
                },
                {
                  "label": "E. grevyi",
                  "value": "e._grevyi"
                }
              ]
            },
            {
              "label": "Wild asses\t",
              "value": "wild_asses\t",
              "options": [
                {
                  "label": "E. kiang ",
                  "value": "e._kiang_"
                },
                {
                  "label": "E. hemionus onager ",
                  "value": "e._hemionus_onager_"
                },
                {
                  "label": "E. hemionus kulan ",
                  "value": "e._hemionus_kulan_"
                },
                {
                  "label": "Donkeys",
                  "value": "donkeys",
                  "options": [
                    {
                      "label": "E. africanus somaliensis",
                      "value": "e._africanus_somaliensis"
                    },
                    {
                      "label": "E. africanus africanus ",
                      "value": "e._africanus_africanus_"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

Export Format

"Label": {
  "chose_the_species": ["equus", "wild_assest", "donkeys", "e._africanus_somaliensis"]
}

Free Form Text Input

There are various cases where you might want to use Free Form Text input such as for OCR tasks. Often OCR tasks have a Bounding Box with a nested Free Form Text Input.

Interactive Configuration

Programmatic Configuration

{
  "tools": [],
  "classifications": [
    {
      "required": false,
      "instructions": "Transcribe the image",
      "name": "transcribe_the_image",
      "type": "text",
    }
  ]
}

Export Format

"Label": {
  "transcribe_the_image": "imagine"
}

Image Classification


A comprehensive set of image classification tools: single choice, multi-choice, nested dropdowns, and free-form text input

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.