bijustin / YOLO-DynaSLAM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

YOLO Dynamic ORB_SLAM

YOLO Dynamic ORB_SLAM is a visual SLAM system that is robust in dynamic scenarios for RGB-D configuration. See our other repository for related work: https://github.com/bijustin/Fast-Dynamic-ORB-SLAM/ Our paper is located here: https://github.com/bijustin/YOLO-DynaSLAM/blob/master/dynamic-orb-slam.pdf

We provide one example to run the SLAM system in the TUM dataset as RGB-D.

Example result (left are without dynamic object detection or masks, right are with YOLOv3 and masks), run on rgbd_dataset_freiburg3_walking_xyz:

Getting Started

git clone https://github.com/bijustin/YOLO-DynaSLAM.git
cd YOLO-DynaSLAM
cd YOLO-DynaSLAM
chmod +x build.sh
./build.sh
  • Place the yolov3.weights model in the folder YOLO-DynaSLAM/src/yolo/.

RGB-D Example on TUM Dataset

These associations files are given in the folder ./Examples/RGB-D/associations/ for the TUM dynamic sequences.

  • 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_FOLDER to the uncompressed sequence folder. Change ASSOCIATIONS_FILE to the path to the corresponding associations file. YOLOis an optional parameter.

    ./Examples/RGB-D/rgbd_tum_yolo Vocabulary/ORBvoc.txt Examples/RGB-D/TUMX.yaml PATH_TO_SEQUENCE_FOLDER ASSOCIATIONS_FILE (YOLO)
    

If YOLO is not provided, only the geometrical approach is used to detect dynamic objects.

If YOLO is provided, Yolov3 is used to segment the potential dynamic content of every frame.

Acknowledgements

Our code builds on ORB-SLAM2 and DynaSLAM.

YOLO Dynamic ORB_SLAM

About

License:Other


Languages

Language:C++ 77.4%Language:Python 21.3%Language:CMake 1.0%Language:MATLAB 0.2%Language:Shell 0.1%