ORB-SLAM2: an Open-Source SLAM System for Monocular, Stereo and RGB-D Cameras
About
We present ORB-SLAM2 a complete SLAM system for monocular, stereo and RGB-D cameras, including map reuse, loop closing and relocalization capabilities. The system works in real-time on standard CPUs in a wide variety of environments from small hand-held indoors sequences, to drones flying in industrial environments and cars driving around a city. Our back-end based on bundle adjustment with monocular and stereo observations allows for accurate trajectory estimation with metric scale. Our system includes a lightweight localization mode that leverages visual odometry tracks for unmapped regions and matches to map points that allow for zero-drift localization. The evaluation on 29 popular public sequences shows that our method achieves state-of-the-art accuracy, being in most cases the most accurate SLAM solution. We publish the source code, not only for the benefit of the SLAM community, but with the aim of being an out-of-the-box SLAM solution for researchers in other fields.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Visual Odometry | TUM-RGBD | freiburg1/xyz Error0.01 | 34 | |
| Tracking | TUM RGB-D 44 (various sequences) | Average Error30.4 | 28 | |
| Visual Odometry | KITTI | KITTI Seq 03 Error1.02 | 27 | |
| Camera Tracking | BONN dynamic sequences | Balloon Error6.5 | 25 | |
| Visual SLAM | TUM RGB-D fr2 xyz | Translation RMSE (m)0.004 | 21 | |
| Visual SLAM | TUM RGB-D fr1 desk | -- | 21 | |
| Tracking | TUM RGBD (test) | fr1/desk Error1.6 | 18 | |
| Camera Tracking | TUM dynamic scene sequences RGB-D (test) | f3/w_s ATE (cm)40.8 | 17 | |
| Visual Odometry | KITTI Odometry raw (Sequence 10) | Translation Error (%)2.66 | 16 | |
| Camera Tracking | TUM RGB-D | Tracking Error (fr1/desk)1.6 | 16 |