Run the tum Dataset in rgb-d example with ORB-SLAM2

Source: Internet
Author: User



Link here: https://github.com/raulmur/ORB_SLAM2



1. Download the data set as required, I downloaded the rgbd_dataset_freiburg2_pioneer_, unzip it to your favorite directory. I personally put it under the ORBSLAM2 Project catalogue.



2. Download associate.py. Placed under the/orb_slam2/examples/rgb-d/directory.



3. Open the terminal and go to the directory where associate.py is located, i.e./orb_slam2/examples/rgb-d/, then run


python associate.py PATH_TO_SEQUENCE/rgb.txt PATH_TO_SEQUENCE/depth.txt > associations.txt


A associations.txt file will be generated in this directory.



4. Refer to the 3rd step in the given link, https://github.com/raulmur/ORB_SLAM2, i.e.


./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml PATH_TO_SEQUENCE_FOLDER ASSOCIATIONS_FILE
PATH_TO_SEQUENCE_FOLDER文件夹即为数据库所在文件夹,我的是在orbslam2工程下面,
ASSOCIATIONS_FILE即为第3步中生成的associations.txt,给出他的制定目录位置


5. At this point, you can run, such as






















Run the tum Dataset in rgb-d example with ORB-SLAM2


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.