Skip to content
StackDecode
AI & ML Atlas
Artificial IntelligencealgorithmAnimated walkthrough

Visual SLAM

Builds a map and tracks the camera position using only camera images.

The idea

Visual SLAM detects distinctive features (corners) in each frame, matches them between frames to estimate how the camera moved, triangulates their 3-D positions to grow a map, and recognises previously seen places (loop closure) to cancel drift.

Watch it run

The pipeline lights up one step at a time. Use the controls to pause or step through it.

  1. 1Detect and describe features in each frame.
  2. 2Match them to the previous frame and estimate camera motion.
  3. 3Triangulate matched points to add them to the map.
  4. 4Optimise the map and poses together (bundle adjustment).
  5. 5Detect loop closures and correct accumulated drift.
1/5

Step by step

  1. 1Detect and describe features in each frame.
  2. 2Match them to the previous frame and estimate camera motion.
  3. 3Triangulate matched points to add them to the map.
  4. 4Optimise the map and poses together (bundle adjustment).
  5. 5Detect loop closures and correct accumulated drift.

Where it is used

AR headsets, drones, robot vacuum cleaners, self-driving research.

Watch out for

Fast motion, blank walls and moving objects break feature tracking.

Related