Add Scenes

šŸ“˜

Click for Python SDK

Dataset.append(
    items: Union[List[LidarScene], List[VideoScene]],
    asynchronous: bool,
    update=bool
) -> Union[dict, AsyncJob]

This endpoint allows you to upload scenes to a Nucleus Dataset.

Uploading from a cloud provider

  • Keep the content-type of the request as application/json.
  • Specify the URL of the image or pointcloud location. Make sure Scale can access this URL.
  • We currently support remote URLS starting in: gs:, s3:, http:, or https:

Request Parameters (Upload from a remote URL)

To make a request, you must upload a sequence of scenes in ndjson format (delimited by \n) to a remote URL.

Path Params
string
required

The Scale-generated ID of the Dataset.

Body Params
string
required

User-specified identifier to reference the image.

frames
array of objects
required

Mapping from sensor name to DatasetItem.

frames*
boolean
Defaults to false

Whether or not to update scene-level and item-level metadata upon reference ID collision. Nucleus expects scenes to have the exact same structure and will ignore re-uploaded scenes (same reference ID) that now have a different number of frames or items per frame.

Responses

Language
Credentials
Basic
base64
:
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json