Skip to main content

Create Sensor Fusion Tasks

[Recommended] We recommend using this SDK documentation to create Sensor Fusion tasks.
This endpoint creates a sensorfusion task. In this task, annotators load the sensor fusion scene and apply various annotations to mark objects or segment the point cloud. Sensor fusion scenes may contain 3D point clouds (from LiDARs, radars, and/or point sensors) and 2D images/videos (from camera sensors). Supported annotations include 3D cuboids, point cloud segmentation, 3D keypoints, and top-down polygons. This endpoint uses the same sensor types described in the Sensor Fusion Reference: PosePath, CameraSensor, and LidarSensor.
object
array of strings
required
List of URLs to the scene files you’d like to be labeled. With scene_format: "sensor_fusion", provide exactly one URL. With scene_format: "mp4", you can provide multiple MP4 files for one task.
string
required
The format of the scene provided. Supports sensor_fusion and mp4. See Create Sensor Fusion tasks from MP4 files.
string
required
The name of the project to associate this task with.
string
required
A markdown-enabled string or embedded Google Doc (iframe) explaining how to do the task. You can use markdown to show example images, give structure to your instructions, and more.
array of objects
List of annotation definitions to use for labeling. Only required if your project doesn’t have a configured taxonomy; if both are present, these definitions are merged on top of the project’s taxonomy.
string
required
The full url (including the scheme http:// or https://) of the callback when the task is completed.
object
An arbitrary ID that you can assign to a task and then query for later. This ID must be unique across all projects under your account, otherwise the task submission will be rejected. See Avoiding Duplicate Tasks for more details.
boolean
If set to true, when a task errors out after being submitted, the unique id on the task will be unset. This param allows workflows where you can re-submit the same unique id to recover from errors automatically.
boolean
Whether to label as a frameless task.
array of strings
Arbitrary labels that you can assign to a task. At most 5 tags are allowed per task. You can query tasks with specific tags through the task retrieval API.
object
Prelabels (model predictions) to initialize the task with, so annotators refine your predictions instead of labeling from scratch. Must contain an annotations object with a url pointing to an annotations-only SFS file, for example {"annotations": {"url": "https://.../annotations.sfs"}}. Labels and attributes must match the project taxonomy exactly, and the file’s time_offset must match the scene’s. See Prelabels for cuboid and text prelabel formats.

Create Sensor Fusion tasks from MP4 files

If you only need annotations on 2D recordings (for example driving events, external robotics cameras, or data for Vision Language Models), you can upload MP4 files directly instead of converting them to a Sensor Fusion Scene (SFS) first.

How it works

1

Submit MP4 files

Create a task with a payload of MP4 files and set "scene_format": "mp4". The files must be stored in a Scale-accessible bucket on AWS, Azure, or GCP.
2

Scale copies the data

Scale clones the files from your bucket to Scale storage, just like any other task.
3

Scale converts the MP4

Scale converts each MP4 into a Sensor Fusion Scene with the required scene metadata and video recording.
4

Task is ready

The task is ready for annotation.

Supported codecs

h264, hevc, vp8, vp9, and av1.

Example

The following example creates one Sensor Fusion task per MP4 file stored in a Scale-accessible AWS bucket. Multiple MP4 files can be combined in a single task by adding file locations within the same array.