The application discloses a binocular 3D target detection method, which comprises the following steps: left and right view features are cascaded on each disparity level to construct a disparity cost volume, and the disparity cost volume is mapped into a depth cost volume by using the inverse ratio relationship between the disparity value and the depth value; a binocular depth
estimation network with 3D foreground prior embedding is constructed by a
cost aggregation module, a 3D foreground segmentation module and a depth
estimation module, the binocular depth
estimation network is used to introduce the foreground prior knowledge contained in the 3D target detection
label into the binocular depth estimation process, and a
depth map suitable for the 3D target detection task is obtained; a 3D foreground segmentation
mask is constructed by using the 3D target detection
label, the 3D foreground segmentation
mask is used to supervise the 3D foreground segmentation result, a network optimization
loss function is constructed, a dynamic weight average strategy is adopted, the weight coefficients corresponding to different loss items are determined according to the change degree of the loss items, and the binocular 3D target detection network is trained. The application improves the prediction quality of the foreground region pseudo
point cloud and obtains accurate binocular 3D target detection results.