Vision AI for RealSense Depth Cameras

Add AI to RealSense depth cameras like the D555 PoE and D435i. Roboflow trains a detection or segmentation model on your own images and runs it on the color stream, and RealSense depth tells you how far away each object is, so you can measure boxes, guide robots, and pick parts.

A warehouse aisle with tall shelves and boxes, featuring a single cardboard box on the floor highlighted with a purple bounding box and labeled "obstacle - 1.8 m".

RealSense Cameras AI Vision Solution

RealSense makes the depth cameras robotics teams reach for first. Depth tells a robot how far away something is; a Roboflow model tells it what that something is. Together they answer the two questions every picking, navigation, and measurement application has to answer.

For new robots and stations you might be interested in the RealSense D555 PoE (opens in a new tab), which brings Power over Ethernet to the stereo depth platform robotics developers already know. The USB D435i and D455 remain the common choice for prototypes and mobile robots.

  • Featured: D555 PoE depth camera; D435i and D455 over USB
  • Attributes: Stereo depth, mature SDK, large robotics ecosystem
  • Integration: RealSense SDK 2.0 with Python and ROS 2, results sent to robot controllers and PLCs

How to Connect a RealSense Camera to Roboflow

There are three common ways to use a RealSense camera with a Roboflow model:

  • Python with pyrealsense2: Install RealSense SDK 2.0 and the pyrealsense2 package, align the depth frame to the color frame, and pass the color frame to your Workflow with Roboflow Inference. Look up the depth at each detection to get its distance in meters.
  • NVIDIA Jetson: Run RealSense SDK 2.0 and Roboflow Inference on a Jetson mounted on the robot, so detection and depth happen on the same device.
  • No depth camera on a station? Roboflow Workflows has a Depth Estimation block that estimates depth from a single regular camera. Read how depth estimation compares with stereo depth.

Tip: use RealSense Viewer to check depth quality before you collect training images, and label on the color image only. Our guide to calculating object positions explains how box coordinates become real-world positions.

Example App: Package Dimensioning with a RealSense Camera

Here is how a shipping station can use a RealSense camera to measure boxes as they are packed:

  • Mount a D555 PoE or D435i above the packing table, looking straight down at a fixed height.
  • Capture color images of boxes in different sizes and colors, and outline each box in Roboflow.
  • Train an RF-DETR (opens in a new tab) instance segmentation model on those images in Roboflow.
  • Build a Workflow that finds each box's outline, then combine it with the depth map to get length, width, and height.
  • Run it on a Jetson or PC at the station and send the dimensions to your shipping or warehouse system.

See part and product dimensioning for the full use case and measurement and dimensioning for measuring parts against tolerance. For tighter checks in manufacturing, see dimensional inspection.

More Applications for RealSense Cameras

Run a Roboflow model on the color stream, fuse results with the depth map, and your application knows both what it sees and where it is in space.

Run vision models on Roboflow hardware

Roboflow Edge computers and the AI1 Smart Camera arrive ready to run your models. Each one ships with RoboflowOS, the operating system we build and maintain, so fixes and security patches reach your devices over the air without a site visit.

Roboflow Edge computers
  • Settings that survive a restart

    RoboflowOS rebuilds static addresses, gateway, DNS and camera-port tuning from a persistent store each time the device starts.

  • Updates over the air

    Security patches, camera driver fixes and NVIDIA platform upgrades come in from the Roboflow platform, separate from your models and Workflows.

  • Tested on the hardware you get

    We build the inference runtime too, so we test every OS image against it on the same boards we ship.

  • Locked down by default

    The OS image is read-only and ships without SSH, a desktop or a local login. Your team reads logs, checks streams and views telemetry in Deployment Manager, the Roboflow tool for managing devices remotely.

  • Five years of updates included

    Every appliance comes with five years of RoboflowOS updates from the purchase date, plus a one-year hardware warranty.

RoboflowOS on NVIDIA Jetson

  • Smart Camera

    AI1

    The AI1 puts a camera, a light and a computer in one housing. It pairs an 8 MP (3840 x 2160) camera and LED ring with an NVIDIA Jetson Orin NX 8GB. Teams use it to prove out an edge vision project on a fixed inspection view, counting parts a few inches away or spotting defects dozens of feet away.

    Memory
    8 GB
    Cameras and networking
    Integrated 8 MP camera and LED ring1 x GbE
    1 stream
  • Roboflow Edge

    RF-NX16

    The RF-NX16 handles stations with several cameras. It has six PoE ports on a shared 150 W budget, two more GbE ports and an NVIDIA Jetson Orin NX 16GB.

    Memory
    16 GB
    Cameras and networking
    6 x GbE PoE with a 150 W total budget2 x GbE
    1–4 streamsRF-NX16 Spec Sheet
  • Roboflow Edge

    RF-AGX64

    The RF-AGX64 runs higher-resolution cameras and bigger models. It has 64 GB of memory on an NVIDIA Jetson AGX Orin, four PoE ports and two 10 GbE ports.

    Memory
    64 GB
    Cameras and networking
    4 x GbE PoE2 x 10 GbE
    4+ streams, line scanRF-AGX64 Spec Sheet
  • Roboflow Edge

    RF-THOR128

    The RF-THOR128 is our most powerful appliance and runs on the NVIDIA Jetson T5000 with 128 GB of memory. It has one 5 GbE port and a 100 GbE QSFP28 port that breaks out to four 25 GbE links, and its cameras connect through a PoE switch.

    Memory
    128 GB
    Cameras and networking
    1 x 5 GbE and 1 x 100 GbE QSFP28Breaks out to 4 x 25 GbE
    8+ streams, edge VLM inferenceRF-THOR128 Spec Sheet

One GbE PoE camera port

Not sure which one fits your line?

Send us your cameras, Workflow and line rate, and we’ll create a recommendation for you.

AI for RealSense Cameras Workflows

Use RealSense cameras? Explore Workflows you can get started with to create computer vision apps in minutes. Run detection and segmentation models with Roboflow Inference on the RGB stream and fuse results with depth for robotics, picking, and measurement applications.

How to Setup RealSense Cameras with AI

RealSense cameras can be used for computer vision tasks such as object detection and image segmentation alongside their depth sensing. They integrate through the RealSense SDK and pair naturally with an NVIDIA Jetson for running computer vision models at the edge.

Talk to a Vision AI engineer about your RealSense cameras.

Bring us your RealSense cameras and your toughest robotics or measurement problem, and we'll map a working solution.

Ask us about:

  • Solution architecture that fits your RealSense cameras, robots, and stations
  • A live demo on images and depth data from your own RealSense cameras
  • Deployment options: Jetson on the robot, edge, or on-prem
  • ROI modeling against cycle time, mispicks, and manual measurement

Over 80,000 organizations build with Roboflow.

  • Rivian
  • Pella
  • Chobani
  • USG Corporation
  • BNSF Railway
  • American Woodmark
Start where you are

Additional resources