Research Careers Contact

GlossaryDepth camera

Depth camera

A depth camera is a camera that measures the distance to each point in its view, producing a depth image alongside or instead of a normal color image. Robots use depth cameras for obstacle avoidance, mapping, grasping and measuring objects at short to medium range.

How it works

Three main methods are in use. Stereo cameras use two image sensors a known distance apart and compute depth from the shift of matching features between the two images, the same principle as human vision. Active stereo adds an infrared pattern projector, so textureless surfaces such as white walls still have features to match. Structured light projects a known pattern and computes depth from how the pattern deforms on the scene. Time-of-flight cameras emit modulated infrared light and measure, at each pixel, how long the light takes to return, often through the phase shift of the modulation.

Each pixel of the output holds a distance value. With the camera's intrinsic calibration, the depth image converts into a point cloud in 3D space. Most units also provide an RGB image registered to the depth image.

Depth camera vs lidar

A lidar scans laser beams and measures time of flight, giving accurate range over long distances and in bright sunlight, usually with sparser points. A depth camera produces a dense image at once, at lower cost and in a smaller package, but its range is shorter and its accuracy falls with distance. Stereo depth error grows roughly with the square of distance, and sunlight can wash out active infrared methods outdoors.

Why it matters

Depth cameras give robots a dense 3D view of nearby space at modest cost and power, which is what manipulation and indoor navigation need. Their failure cases, such as reflective, transparent and dark surfaces, multipath on time-of-flight and direct sunlight, have to be planned around in the system design.

How to get it right

  • Pick the method for the setting: active stereo or time of flight indoors, passive stereo or lidar for bright outdoor scenes.
  • Match the minimum and maximum range to the task, since close objects can fall inside the blind zone.
  • Calibrate intrinsics and the transform to the robot's frame, and check it after any mechanical change.
  • Synchronize depth with other sensors through hardware triggers or timestamps.
  • Plan for interference when several active depth cameras face the same scene.
  • Budget processor and bus bandwidth for the depth stream.

Depth cameras in robotics and drone hardware

Mobile robots use depth cameras for obstacle detection close to the base, where lidar often has gaps. Robot arms use them on the wrist or mounted overhead to locate parts for grasping. Drones carry them for indoor flight and collision avoidance. Integration covers USB or MIPI CSI links, mounting rigid enough to hold calibration, and thermal design for the projector and processor.

Learn more