Abstract:
To address the insufficient real-time performance and severe trajectory drift caused by dynamic object interference in visual simultaneous localization and mapping (SLAM) systems in indoor dynamic environments, this paper proposes an optimized dynamic SLAM framework named YOLOG-SLAM based on an improved YOLOv8. Built upon the ORB-SLAM2 architecture, the framework introduces three key improvements. First, a lightweight semantic perception module is designed by integrating a Slim-Neck feature compression structure and an adaptive spatial feature fusion (ASFF) mechanism to reconstruct the YOLOv8 network, which enhances multi-scale dynamic object detection: the inference speed is increased by 12.9% and the average precision for small object detection (AP@small) is improved by 5.2% compared with the original YOLOv8n. Second, a multi-threaded parallel processing architecture is constructed, in which an independently running dynamic object detection thread performs dynamic object recognition, thereby decoupling detection from tracking. Third, a dynamic feature filtering strategy combining semantic information and multi-view geometric constraints is proposed to suppress the interference of dynamic objects on pose estimation. Experimental results on the TUM RGB-D dynamic dataset show that the absolute trajectory error (ATE) of YOLOG-SLAM is reduced by 91.8% on average compared with ORB-SLAM2, and by 96.5% in high-dynamic scenarios. Compared with representative dynamic SLAM systems such as DynaSLAM, YOLOG-SLAM significantly reduces the average processing time per frame while maintaining high positioning accuracy, achieving 11.3 FPS on the Jetson Nano platform and meeting the real-time requirements of mobile robots. The proposed framework provides an effective solution for real-time high-precision visual SLAM in indoor dynamic scenarios.