The invention discloses a
monocular depth prior-based
stereo reconstruction and obstacle detection method, which comprises the following steps of: after a binocular image is calibrated and corrected, fusing semantic features extracted by a lightweight neural network and depth
prior information extracted by a
monocular depth
estimation network; constructing a multi-scale
parallax cost body based on a deformable offset prediction module, and generating a geometric feature body and an initial
parallax map of corresponding scales through three-dimensional
convolution regularization; according to the
semantic feature and the geometric feature, fusing a disparity map and a geometric feature corresponding to the multi-scale disparity cost body to obtain an initial disparity map and a geometric feature; and inputting the initial disparity map, the fused geometric features, the
monocular depth priori and the context features into a
convolution gating cycle unit, guiding the direction and the amplitude of disparity update to obtain a high-precision disparity result, converting the high-precision disparity result into a three-dimensional
point cloud, and detecting an obstacle in real time by using Euclidean clustering and
voxel expansion. The method has high reconstruction precision and robustness, and is suitable for
stereo reconstruction and obstacle detection tasks.