> For the complete documentation index, see [llms.txt](https://panav.gitbook.io/robotics-handbook/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://panav.gitbook.io/robotics-handbook/perception-and-computer-vision/ml-and-perception.md).

# ML and Perception

How classical computer vision and learned perception fit together in a modern robotics stack, and how to navigate this section - sensing, OpenCV, detection and tracking, vision foundation models, 3D p

Modern robot perception spans **classical computer vision** (OpenCV, feature detection, multi-view geometry), **deep learning for vision** (object detection, segmentation, tracking), **3D perception** (NeRF, Gaussian Splatting, monocular depth), and **vision foundation models** (SAM 2, Grounding DINO, Depth Anything, DINOv2). This section covers all of them.

These are not competing approaches so much as different layers of the same stack. Multi-view geometry, calibration, and epipolar constraints still underwrite anything that needs a verifiable, non-learned guarantee - camera calibration, structure-from-motion, the geometric back end of a SLAM system. Learned models take over wherever the input is too unstructured for a hand-built model to cover: detecting arbitrary objects, segmenting arbitrary scenes, estimating depth from a single image with no baseline at all.

Vision foundation models are the newest layer on top of both - promptable, zero-shot models trained on internet-scale data that generalize to objects and scenes they were never explicitly trained on. Most production perception pipelines in 2026 blend all three: a learned or foundation-model front end feeding a classical geometric back end (a Kalman filter, a bundle adjuster, an occupancy grid) that knows how to fuse noisy estimates into something a planner can actually trust.

For policy learning - behavior cloning, RL, foundation-model VLAs that turn perception into action - see the dedicated [Robot Learning](/robotics-handbook/robot-learning/robot-learning.md) section. This section stops at *perceiving* the world; that one starts at *acting* on it.

### In this section

Start with sensing hardware if the topic is new to you, then classical CV, then the learned methods roughly in order of how unstructured the problem gets - detection and tracking, foundation vision models, 3D perception, and event cameras. [Example of a Vision Pipeline](/robotics-handbook/perception-and-computer-vision/example-of-a-vision-pipeline.md) ties several of these together into one worked system.

<table data-view="cards"><thead><tr><th></th><th data-type="content-ref"></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td>Cameras, Depth Sensors and LiDAR</td><td><a href="/robotics-handbook/perception-and-computer-vision/cameras-depth-sensors-and-lidar.md">Cameras, Depth Sensors and LiDAR</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FoTfoewiHGcenCBv6wnb5%2Fgiphy-9.webp?alt=media&amp;token=26297680-1967-4b46-a135-24aff296cd8d">giphy-9.webp</a></td></tr><tr><td>Image Processing (OpenCV)</td><td><a href="/robotics-handbook/perception-and-computer-vision/image-processing-basics-opencv.md">Image Processing Basics (OpenCV)</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FTwM5Ny0yAbz1vtQEjdmo%2Fball-tracking-animated-02.gif?alt=media&amp;token=a8621238-89b8-4303-b14c-3908f88114bf">ball-tracking-animated-02.gif</a></td></tr><tr><td>Object Detection and Tracking</td><td><a href="/robotics-handbook/perception-and-computer-vision/object-detection-and-tracking.md">Object Detection and Tracking</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FJ7t2DRopawhjhrzgRtlK%2F216924389-9979e1e8-58b1-4b6c-99bf-c32d5f913c1a.gif?alt=media&amp;token=ab8c37fd-3907-4ee4-9998-41b4bb8838fc">216924389-9979e1e8-58b1-4b6c-99bf-c32d5f913c1a.gif</a></td></tr><tr><td>Foundation Vision Models (SAM, DINO, Depth Anything)</td><td><a href="/robotics-handbook/perception-and-computer-vision/foundation-vision-models.md">Foundation Vision Models (SAM, DINO, Depth Anything)</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FJ7t2DRopawhjhrzgRtlK%2F216924389-9979e1e8-58b1-4b6c-99bf-c32d5f913c1a.gif?alt=media&amp;token=ab8c37fd-3907-4ee4-9998-41b4bb8838fc">216924389-9979e1e8-58b1-4b6c-99bf-c32d5f913c1a.gif</a></td></tr><tr><td>3D Perception (NeRF, Gaussian Splatting)</td><td><a href="/robotics-handbook/perception-and-computer-vision/3d-perception.md">3D Perception (NeRF, Gaussian Splatting)</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FoTfoewiHGcenCBv6wnb5%2Fgiphy-9.webp?alt=media&amp;token=26297680-1967-4b46-a135-24aff296cd8d">giphy-9.webp</a></td></tr><tr><td>Event Cameras</td><td><a href="/robotics-handbook/perception-and-computer-vision/event-cameras.md">Event Cameras</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FYaRlMYc7VbGdID6QNFm9%2F0_MQtVJIoAqO9Txqc4.gif?alt=media&amp;token=19f8a0e4-28d7-4f87-a2f9-476f04d65eb3">0_MQtVJIoAqO9Txqc4.gif</a></td></tr><tr><td>Vision Pipeline (example)</td><td><a href="/robotics-handbook/perception-and-computer-vision/example-of-a-vision-pipeline.md">Example of a Vision Pipeline</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FVy5mGwDGXwRz9Te7K1PG%2Ftim-and-eric-mind-blown-2-1.webp?alt=media&amp;token=b117b9e3-bcb3-4dff-8c21-43c32a9a152d">tim-and-eric-mind-blown-2-1.webp</a></td></tr><tr><td>Reinforcement Learning (basics) →</td><td><a href="/robotics-handbook/perception-and-computer-vision/reinforcement-learning.md">Reinforcement Learning (classical foundations)</a></td><td><a href="https://923066007-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJR2yBCOFnSaxfostbWYx%2Fuploads%2FYaRlMYc7VbGdID6QNFm9%2F0_MQtVJIoAqO9Txqc4.gif?alt=media&amp;token=19f8a0e4-28d7-4f87-a2f9-476f04d65eb3">0_MQtVJIoAqO9Txqc4.gif</a></td></tr></tbody></table>
