UPLOAD DATA
Guides

Upload your first scene

3min

When uploading raw data to the Kognic Platform, you need to do so in the form of a scene. A scene is a collection of data from different sources, such as images, point clouds, and other sensor data.

This guide will walk you through the process of uploading your first scene, either in 2D (camera only) or 3D (camera and LiDAR/RADAR).

Prerequisites

You have successfully followed the Quickstart guide and have the kognic-io library installed. For users with access to multiple workspaces you need to specify a workspace to upload data too.

Code examples

To upload a 2D scene, you need to have the raw images available on your local machine (or create a callback for remote data). It is a two-step process:

  1. Build the scene object in Python
  2. Upload the scene object to the Kognic Platform

Below follows examples for a few different cases.

One Image
Multiple Images
Sequence
Python




To upload a 2D/3D scene, you need to have the raw images and point clouds available on your local machine (or create a callback for remote data). In addition you need to have calibration data available. It is a three-step process:

  1. Create a calibration
  2. Build the scene object in Python, referencing the calibration from the previous step
  3. Upload the scene object to the Kognic Platform

Below follows examples for a few different cases.

One Image
Multiple Images
Sequence
Python


Multiple point clouds is also supported, but not shown in the examples above since that requires a bit more data. See the Motion compensation section for more details.



We have exemplar code and a tutorial for uploading scenes using Zenseact Open Dataset (ZOD) data, including 2D, 3D, and aggregated 3D scenes. Check out the guide document and exemplar code here!

If you have the ZOD data downloaded, and have Kognic API credentials, the examples will run out of the box to create functional scenes!



Updated 19 Dec 2024
Doc contributor
Did this page help you?