The present application discloses a lightweight depth
estimation method and
system, belonging to the technical field of binocular
system depth
estimation, including: obtaining a depth
estimation model, inputting a binocular depth image into the depth estimation model to obtain a depth
estimation result. When obtaining the depth estimation model, determining the binocular depth image as an input parameter, performing
feature extraction on the input parameter based on two-dimensional depthwise separable
convolution, and obtaining a cost volume based on the extracted feature parameters, performing stacked
hourglass processing on the cost volume based on three-dimensional pointwise
convolution to obtain multi-depth feature information, and determining the multi-depth feature information as the depth
estimation result, that is, the output parameter. The present application integrates lightweight
feature extraction methods such as two-dimensional depthwise separable
convolution and three-dimensional pointwise convolution, which can reduce the number of
layers of
feature extraction, reduce the number of parameters of the depth estimation model, and solve the technical problems of difficult deployment, low memory
utilization rate, and waste of hardware resources of the binocular depth estimation network in actual application scenarios.