Universal Data Tool
  • Universal Data Tool Docs
  • Installation
  • Running On-Premise
  • Collaborative Labeling
  • Building and Labeling Datasets
    • Image Segmentation
    • Image Classification
    • Text Classification
    • Named Entity Recognition
    • Entity Relations / Part of Speech Tagging
    • Audio Transcription
    • Data Entry
    • Video Segmentation
    • Composite Interfaces
    • Landmark / Pose Annotation
  • Importing Data
    • Upload or Open Directories
    • Import File URLs
    • Import COCO Images
    • Import from Google Drive
    • Import from AWS S3 Bucket
    • Import from CSV or JSON
    • Import using AWS Cognito
    • Import Text Snippets
  • The Format .udt.json
    • What is the .udt.json format?
    • What is the .udt.csv format?
  • Machine Learning
    • Jupyter Notebook Integration
    • Import Datasets into Pandas
    • Fast.ai
      • Fast.ai Image Classification
      • Fast.ai Image Segmentation
  • Integrate with Any Web Page
    • Integrate with the Javascript Library
    • Getting Started with React
  • Train your Workforce
    • Getting Started with UDT Courses
  • Frequently Asked Questions
Powered by GitBook
On this page
  • What is a Composite Interface?
  • Setup the Dataset
  • Labeling Composite Interfaces
  • Exporting JSON

Was this helpful?

  1. Building and Labeling Datasets

Composite Interfaces

Use multiple UDT interfaces together with a Composite Interface.

PreviousVideo SegmentationNextLandmark / Pose Annotation

Last updated 4 years ago

Was this helpful?

What is 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.

Setup the Dataset

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

Labeling Composite Interfaces

When labeling a composite interface, you'll be prompted to select any of the sub-interfaces on each sample.

Exporting JSON

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 ...*/}
  }
}

When exporting a composite interface, it's best to use the JSON format. Check out the Specification.

Composite Interface JSON Format
Select each sub-interface when labeling to add data for that sample