Skip to content

Use yolact_egde to detect dynamic obstacle, and use region grown algorithm to complete mask

Notifications You must be signed in to change notification settings

guanfang12/dyslam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

dyslam

Dyslam is written based on ORB-SLAM2, yolact_edge and Dynamic-ORB-SLAM2. All programs are deployed under the ROS system. The slam module communicates with the semantic segmentation module through the service, which means that you can modify the model used by the semantic module at will or directly discard the semantic module.

It can identify and deal with dynamic objects for monocular, stereo and RGB-D configurations. More specificly, the Yolct_ddge is applied to extract dynamic objects from input frame, and region grow algorithm will be used to complete mask. Then a mask is applied to feature extractor to remove dynamic keypoints in each level of image pyramid.

This paper proposes a real-time semantic RGB-D slam system for dynamic environments, which can detect known and unknown moving objects.

Features

1.This paper uses instance segmentation network named YOLACT_edge, uses TensorRT technology to compress, and optimize the network, and successfully realizes the processing speed of 27fps on the 1050ti computing platform.

image-20220826102438079

2.This paper proposes an effective geometric module, which divides the depth image into a few regions by using the region growth segmentation algorithm. The module can effectively improve the problem of incomplete mask coverage, eliminate the errors caused by the inconsistent sampling time of visual image and depth image in RGB-D camera, and identify the dynamic regions via their reprojection errors.

image-20220826103030581

image-20220826102502254

image-20220826102520429

3.This paper adds the semantic information and region segmentation mask into the VSLAM system to screen the dynamic features in real time, and establishes the yolact-slam. The algorithm achieves the real-time effect of 18fps on 1050Ti. In the dynamic scene sequence of the data set TUM-RGBD, the absolute trajectory errors of the system are far lower than those of the general VSLAM system (ORB-SLAM2), and the RMSE is within 3.5cm.

Screenshot from 2022-08-26 10-28-33

image-20220826103003503

Getting Started

cd src/yolact_ros/scripts/yolact/external/DCNv2-1.4
python setup.py build develop
catkin_make -DPYTHON_EXECUTABLE=/usr/bin/python3
  • Download

Running

source devel/setup.bash 
roscore
rosrun yolact_ros fast_server.py  # another terminal
roslaunch dynamic_orb_slam2 orb_slam2.launch  # another terminal

About

Use yolact_egde to detect dynamic obstacle, and use region grown algorithm to complete mask

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published