ON THIS PAGE

  • RGBD
  • How to place it
  • Inputs and Outputs
  • Configuration
  • Usage
  • Examples of functionality
  • Reference

RGBD

The RGBD node combines synchronized depth and color frames into a single point cloud and RGB-D data stream. It internally uses a Sync subnode to align depth (from a StereoDepth node) and color images for processing on the host.

How to place it

Python
C++

Python

Python
1import depthai as dai
2
3with dai.Pipeline() as pipeline:
4  rgbd = pipeline.create(dai.node.RGBD)
5  # Link color and depth outputs to RGBD inputs
6  color.out.link(rgbd.inColor)
7  depth.out.link(rgbd.inDepth)
8
9  # Or use autocreate
10  rgbd = pipeline.create(dai.node.RGBD).build(
11      autocreate=True,
12      presetMode=dai.StereoDepth.PresetMode.DEFAULT,
13      size=(640, 400)
14  )
15  pipeline.start()

Inputs and Outputs