Nested Classifications
Overview of the Nested Classifications labeling tool in Ango Hub
Last updated
Overview of the Nested Classifications labeling tool in Ango Hub
Last updated
Ango Hub allows annotators to answer multiple, nested questions regarding individual labels or top-level classifications.
In the example above, we ask annotators to draw a polygon. Then, they answer questions related to the polygon they’ve just drawn. Each question’s answer determines which question will be asked next.
Here, if annotators select the “clothing” answer, they will be shown a question asking what type of clothing it is. If then they select “shirt” they will be asked the shirt’s gender, and so on.
You may nest classifications under existing classifications conditionally (i.e. to appear once a user selected a specific answer) or unconditionally (the nested classification appears regardless of what answer the user picks.)
From the project’s Settings tab, enter the Category Schema section.
Click on the label on which you’d like to ask nested questions. In our example, we expand a “Vehicle” bounding box.
Click on the Add Classification button towards the bottom.
If you are adding a nested classification to an "Tool" class (e.g. bounding box, polygon), you will be prompted to select the type of classification you need.
If you are adding a nested classification to another classification, you will be prompted to select the classification answer that should be selected by the user for the nested classification to trigger. (More on classification in Ango Hub.)
If you are nesting a classification under an existing classification, and if you wish for the nested classification to appear regardless of the answer picked by the user, pick the Any option from the dropdown:
If you are adding a classification to a Text-type classification tool, the nested classification will be displayed regardless of the text being input as soon as the user starts entering text.
The Add Classification button will not appear for classifications if no options have been added.
A new labeling tool will appear. Fill up its title and description as before, and add options if available.
From here, if you click on Add Classification again, you can nest a further question. For example, we can show annotators a free text tool if they answer “Other.”
As with all other label tools, enable the Required toggle if you want to force labelers to create a 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 bounding box.
In the labeling editor, right-click on the annotation where you’d like to answer the nested questions. Audio, image, PDF, and Text (NER) all support this functionality.
A contextual menu will appear. Clicking on it will expand the questions if available.
It is also possible to answer questions from the “Objects” panel in the same way.