Abstract:Aiming at the problem that traditional visual Simultaneous Localization and Mapping (SLAM) methods are susceptible to interference from moving objects and illumination changes in dynamic environments, leading to the degradation of positioning accuracy and system robustness, a dynamic visual SLAM method based on instance segmentation and multi-constraint optimization is proposed. An improved lightweight YOLOv11 model is adopted to achieve efficient instance segmentation, which reduces the impact of dynamic features on feature extraction and data association. In addition, local brightness normalization and illumination invariance constraints are introduced into feature matching to improve the accuracy of feature matching. Meanwhile, a keyframe selection and marginalization strategy is designed by combining information theory with covariance constraints. By quantifying the contribution of candidate keyframes to system observability and combining uncertainty measurement, keyframe optimization is realized. Experimental results on multiple dynamic datasets and real dynamic scenes show that, compared with ORB-SLAM3 in high-dynamic scenes, the proposed method reduces the root mean square error and average error of the absolute trajectory error by 96.19% and 95.23% respectively, which significantly improves the positioning accuracy and robustness in indoor dynamic environments.