Check out release 1.6 with Video Object Tracking

Quick Start


Use the Choices tag to create a group of choices, with radio buttons or checkboxes. Can be used for single or multi-class classification. Use for advanced classification tasks where annotators can choose one or multiple answers.

Choices can have dynamic value to load labels from task. This task data should contain a list of options to create underlying s. All the parameters from options will be transferred to corresponding tags.

The Choices tag can be used with any data types.


Param Type Default Description
name string Name of the group of choices
toName string Name of the data item that you want to label
[choice] single | single-radio | multiple single Single or multi-class classification
[showInline] boolean false Show choices in the same visual line
[required] boolean false Validate whether a choice has been selected
[requiredMessage] string Show a message if validation fails
[visibleWhen] region-selected | choice-selected | no-region-selected Control visibility of the choices.
[whenTagName] string Use with visibleWhen. Narrow down visibility by name of the tag. For regions, use the name of the object tag, for choices, use the name of the choices tag
[whenLabelValue] string Narrow down visibility by label value
[whenChoiceValue] string Narrow down visibility by choice value
[perRegion] boolean Use this tag to select a choice for a specific region instead of the entire task
[value] string Task data field containing a list of dynamically loaded choices (see example below)
[allowNested] boolean Allow to use children field in dynamic choices to nest them. Submitted result will contain array of arrays, every item is a list of values from topmost parent choice down to selected one.


<!--Basic text classification labeling configuration-->
  <Choices name="gender" toName="txt-1" choice="single-radio">
    <Choice alias="M" value="Male" />
    <Choice alias="F" value="Female" />
    <Choice alias="NB" value="Nonbinary" />
    <Choice alias="X" value="Other" />
  <Text name="txt-1" value="John went to see Mary" />

Example (This config with dynamic labels)

  <Audio name="audio" value="$audio" />
  <Choices name="transcription" toName="audio" value="$variants" />
<!-- {
  "data": {
    "variants": [
      { "value": "Do or doughnut. There is no try." },
      { "value": "Do or do not. There is no trial." },
      { "value": "Do or do not. There is no try." },
      { "value": "Duo do not. There is no try." }
} -->

Example (is equivalent to this config)

  <Audio name="audio" value="$audio" />
  <Choices name="transcription" toName="audio" value="$variants">
    <Choice value="Do or doughnut. There is no try." />
    <Choice value="Do or do not. There is no trial." />
    <Choice value="Do or do not. There is no try." />
    <Choice value="Duo do not. There is no try." />