Composite Interfaces
Use multiple UDT interfaces together with a Composite Interface.

A composite interface is an interface that contains other interfaces within in. It's very helpful if you're doing multiple operations on an image. For example, you might need to do some data entry on an image, such as doing Optical Character Recognition.

Select "Composite" from Setup > Data Type, then select Configure to create additional interfaces, and configure each one individually.

When labeling a composite interface, you'll be prompted to select any of the sub-interfaces on each sample.
Select each sub-interface when labeling to add data for that sample

When exporting a composite interface, it's best to use the JSON format. Check out the Composite Interface JSON Format Specification.
The resultant JSON for each sample looks like this:
{
/* ... same information as sample, e.g. imageUrl ... */
// Expected annotation
"annotation": {
// Each key is a fieldName, the annotation is the annotation from that interface
"some_field_name": {/*... whatever annotation goes with the interface defined for this field ...*/}
}
}
Copy link
On this page
What is a Composite Interface?
Setup the Dataset
Labeling Composite Interfaces
Exporting JSON