编程语言
首页 > 编程语言> > 使用TUM数据集跑orbslam2单目程序mono

使用TUM数据集跑orbslam2单目程序mono

作者:互联网

使用TUM数据集跑orbslam2单目程序mono

http://vision.in.tum.de/data/datasets/rgbd-dataset/download

这里下载的是rgbd_dataset_freiburg1_xyz 。解压至自己喜欢的目录。
2、参数设置
根据作者说明:

TUM Dataset

  1. Download a sequence from http://vision.in.tum.de/data/datasets/rgbd-dataset/download and uncompress it.

  2. Execute the following command. Change TUMX.yaml to TUM1.yaml,TUM2.yaml or TUM3.yaml for freiburg1, freiburg2 and freiburg3 sequences respectively. Change PATH_TO_SEQUENCE_FOLDERto the uncompressed sequence folder.

./Examples/Monocular/mono_tum Vocabulary/ORBvoc.txt Examples/Monocular/TUMX.yaml PATH_TO_SEQUENCE_FOLDER

运行单目在终端输入:

./mono_tum /home/whp/whp_ws/orbslam2/src/ORB_SLAM2-master/Vocabulary/ORBvoc.txt /home/whp/whp_ws/orbslam2/src/ORB_SLAM2-master/Examples/Monocular/TUM1.yaml /home/whp/whp_ws/slamdata/TUM/rgbd_dataset_freiburg1_xyz

在这里插入图片描述
3、执行结果
在这里插入图片描述ORB_SLAM2-master/Examples/Monocular目录下生成KeyFrameTrajectory.txt文件。

标签:集跑,rgbd,orbslam2,Monocular,dataset,yaml,单目,whp,TUM
来源: https://blog.csdn.net/qq_41854650/article/details/100986027