The invention relates to a dynamic environment vision SLAM (
Simultaneous Localization and Mapping) method based on double-source dynamic
mask tracking. The method comprises the following steps: inputting a
color image into a lightweight instance segmentation model for reasoning, generating a lagged semantic dynamic
mask of a prior dynamic object, and asynchronously transmitting the lagged semantic dynamic
mask to a front-end tracking thread; in a front-end thread, key points are detected based on a lagged semantic dynamic mask,
optical flow tracking is carried out to a current frame, an overlook depth
histogram is generated through the current frame, and a semantic dynamic mask of the current frame is obtained through screening and reconstruction. The geometric dynamic mask is calculated after the region is eliminated, and after the geometric dynamic mask which is not detected in the previous frame is supplemented, the geometric dynamic mask and the semantic dynamic mask are combined and collected to obtain a final dynamic mask. And filtering dynamic features by using the final dynamic mask, completing
pose estimation and back-end optimization based on static features, updating a TSDF map by only using a static part, removing a changed foreground structure during revisit, and outputting a synchronous positioning and mapping result. By adopting the method, the positioning precision and the mapping quality of the visual SLAM
system of the small unmanned platform can be improved.