When building a map of a dynamic environment, simultaneous localization and mapping systems have problems such as poor robustness and inaccurate pose estimation. This paper proposes a new mapping method based on the ORB-SLAM2 algorithm combined with the YOLOv5 network. First, the YOLOv5 network of the tracing thread is used to detect dynamic objects of each frame, and to get keyframes with detection of dynamic information. Second, the dynamic objects of each image frame are detected using the YOLOv5 network, and the detected dynamic points are rejected. Finally, the global map is constructed using the keyframes after eliminating the highly dynamic objects. The test results using the TUM dataset show that when the map is constructed in a dynamic environment, compared with the ORB-SLAM2 algorithm, the absolute trajectory error of our algorithm is reduced by 97.8%, and the relative positional error is reduced by 59.7%. The average time consumed to track each image frame is improved by 94.7% compared to DynaSLAM. In terms of algorithmic real-time performance, this paper’s algorithm is significantly better than the comparable dynamic SLAM map-building algorithm DynaSLAM.
Simulation localization and mapping(SLAM) is a popular research problem in the field of driverless cars, but there are still some difficult problems to solve. The conventional SLAM algorithm does not take into account the dynamic objects in the environment, resulting in problems such as low bit pose estimation. In this paper, we provide a deep learning-based SLAM scheme. In order to solve the problem of inaccurate feature point extraction in a dynamic environment, this paper adopts image pyramid to distribute feature points uniformly and extracts feature points by using the adaptive thresholding method. To address the problem of incomplete dynamic object mask segmentation, an improved Mask R-CNN network is proposed to improve the integrity of the mask edges by adding an edge detection end to the Mask R-CNN network. To address the problem of incomplete dynamic feature point rejection, this paper uses a motion consistency detection algorithm to detect dynamic feature points, and uses the remaining static features for bit pose estimation. The experimental results on the TUM dataset show that the absolute trajectory error of the SLAM algorithm in this paper is reduced by 93.2% on average compared to the ORB-SLAM2 algorithm. Compared with the Dyna-SLAM algorithm, the absolute trajectory error of the algorithm in this paper is reduced by 36.6% on average.
With the rapid advancements in robotics and autonomous driving, SLAM (simultaneous localization and mapping) has become a crucial technology for real-time localization and map creation, seeing widespread application across various domains. However, SLAM’s performance in dynamic environments is often compromised due to the presence of moving objects, which can introduce errors and inconsistencies in localization and mapping. To overcome these challenges, this paper presents a visual SLAM system that employs dynamic feature point rejection. The system leverages a lightweight YOLOv7 model for detecting dynamic objects and performing semantic segmentation. Additionally, it incorporates optical flow tracking and multiview geometry techniques to identify and eliminate dynamic feature points. This approach effectively mitigates the impact of dynamic objects on the SLAM process, while maintaining the integrity of static feature points, ultimately enhancing the system’s robustness and accuracy in dynamic environments. Finally, we evaluate our method on the TUM RGB-D dataset and in real-world scenarios. The experimental results demonstrate that our approach significantly reduces both the root mean square error (RMSE) and standard deviation (Std) compared to the ORB-SLAM2 algorithm.
1 July 2025 in Journal of Intelligent & Fuzzy Systems: Applications in Engineering and Technology
Traditional vision SLAM, which assumes a static environment, is unable to handle dynamic objects in dynamic environments. The presence of dynamic feature points decreases the localization accuracy and robustness of SLAM. In light of this, we propose YER-SLAM, a dynamic SLAM system employing object detection and region-growing algorithm, which fully utilizes the semantic and geometric information contained in images to identify and eliminate dynamic features in the environment. Firstly, we use YOLOv5 object detection to classify the image into static, dynamic, and potentially dynamic regions to generate a semantic mask that incorporates a priori knowledge. Secondly, we utilize a dynamic object detection algorithm that tightly couples object detection with epipolar constraints to initially identify dynamic features in the scene. Subsequently, we propose a novel strategy for the elimination of dynamic feature points, which integrates the acquired dynamic point with a region-growing algorithm to generate a mask for the dynamic region, thereby enabling the exclusion of the region’s feature points in the tracking process. Finally, the experimental results from the TUM dataset reveal that our algorithm achieves a 94.71% reduction in the average absolute trajectory error in highly dynamic environments, compared to ORBSLAM2. YER-SLAM presented in this paper effectively improves localization accuracy in dynamic environments.