RGB-D Projects

Upload and annotate RGB images paired with depth maps.

RGB-D projects let you upload and annotate images captured by depth cameras, such as stereo cameras, structured light or time-of-flight sensors. Each asset in an RGB-D project is an RGB image paired with its depth map, so your depth data stays attached to the image it was captured with. In the Annotator, you can view your assets in colour, in depth, or as a 3D point cloud, and use depth-aware tools to annotate them.

RGB-D projects are ideal for robotics, bin-picking, autonomous navigation and other applications where depth perception matters.

How do I create an RGB-D project?

On the Workspace Dashboard, click Create Project, then select RGB-D as the project type. See Creating a Project for the full walkthrough. To explore a ready-made example first, click Try Demo Project.

Selecting RGB-D as the project type (Click image to enlarge)

You can also create an RGB-D project with the Python SDK (version 1.13.0 and above):

from datature.nexus import Client, ProjectType

client = Client("YOUR_SECRET_KEY")
project = client.create_project("Warehouse Pallets", ProjectType.RGBD)
📘

RGB-D projects only accept RGB-D assets, and RGB-D assets can only be uploaded into RGB-D projects. You can't mix regular images and RGB-D assets in the same project.

How do I upload RGB-D data?

Each RGB-D asset is uploaded as a single ZIP file containing one RGB image and one depth map. See RGB-D Data Upload for the file requirements and upload options.

How do I view depth in the Annotator?

When you open an RGB-D asset in the Annotator, you can switch between four views using the tabs at the top left of the canvas:

ViewDescription
Hybrid (RGB & D)The depth map blended over the RGB image, so you can see colour and distance at the same time.
RGBThe RGB image on its own.
DepthThe depth map on its own, colour-mapped from near (blue) to far (red).
3DA point cloud built from the RGB image and depth map, which you can rotate and inspect in 3D.

The colour bar at the bottom left of the canvas shows the depth range of the current asset in metres, for example 0.61 m to 0.74 m. Your annotations are shown in every view, so you can check that they line up with the object's actual depth.

Hybrid (RGB & D) view of an RGB-D asset (Click image to enlarge)

How do I use the 3D view?

Select the 3D tab to view your asset as a point cloud. Use left click + drag to rotate the view and scroll to zoom. While an annotation tool is selected, hold shift and drag to rotate, or hold ctrl and drag to pan. You can also jump to a preset camera angle with the Side, Front and Top buttons at the top left of the canvas. The RGB and Depth toggle at the top right switches the point colours between the original image colours and the depth colour map.

The 3D view is useful for checking that an annotation covers the whole object and doesn't spill onto the surface behind it.

3D view of an RGB-D asset, coloured by RGB (Click image to enlarge)

Which annotation tools can I use?

RGB-D projects support the standard manual tools: Rectangle (R), Polygon (P), Brush (B) and Free Draw (F). They also come with two depth-aware tools:

ToolKey-bindDescription
3D LassoOHold the left mouse button and draw a loop to select every point inside it, through the full depth of the scene. Rotate the view and lasso again to refine the selection, press Y to switch between adding and erasing, then press space to save it as a mask.
Depth SelectUClick an object to select it. The selection grows outwards from where you clicked across points at a similar depth. Right-click to exclude a region, then press space to save it as a mask.

Depth Select options. Use the Tolerance slider (2 to 40, default 12) to control how far the selection spreads: higher values include more of the surrounding depth. Keep Stop at flat surfaces on to stop the selection at floors, walls and table tops, so the object doesn't bleed into the surface it's resting on.

Both tools work in any view, but 3D Lasso is easiest to use in the 3D view, where you can rotate around the object to trim away the background.

Intelligent tools such as IntelliBrush (T), IntelliMatch (M) and Everything (Z) work on RGB-D assets too. You can also toggle erase mode (Y) and use Set Background, just like in other segmentation projects.

Can I import existing annotations?

Yes. RGB-D projects accept the same bounding box and polygon formats as other projects, such as COCO and Pascal VOC. See Uploading Annotations. Annotations are matched to assets by file name, so use the name of the RGB-D ZIP file (for example, scene_001.zip or scene_001) as the image file name in your annotation file.

Only rectangles and polygons can be imported into RGB-D projects. Masks, such as those created with 3D Lasso or Depth Select, can't be imported.

Can I train a model on an RGB-D project?

Training for RGB-D projects is coming soon. For now, RGB-D projects are for collecting and annotating data: the Workflow, Trainings, Artifacts, Deploy and Batch Jobs pages are unavailable, and starting a training run through the API returns an error. Your annotations are kept, so you can train on them as soon as RGB-D training is released.

RGB-D project dashboard (Click image to enlarge)



Did this page help you?