This is an improved version of ORB-SLAM3 that adds an semantic mask-based object detection segmentation module implemented with YOLOv8-Seg to achieve SLAM in dynamic environments.
We have tested on:
C++14
OS = Ubuntu 20.04
OpenCV = 4.2
Eigen3 = 3.3.9
Pangolin = 0.5
You can download the compatible version of onnx-runtime from Microsoft ONNX-Runtime We tested on onnxruntime-linux-x64-gpu-1.9.0
then extract the folder using the below command to third-party folder and update
tar -xzvf onnxruntime-linux-x64-gpu-1.9.0.tgz -C PATH/YDM-SLAM/Thirdparty
cd YDM-SLAM
chmod +x build.sh
./build.sh
Only the rgbd_tum target will be build.
Download any dynamic sequence from TUM-RGBD dataset
./Examples/RGB-D/rgbd_tum Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml PATH_TO_SEQUENCE_FOLDER ASSOCIATIONS_FILE