The invention discloses a real-time
optical flow estimation method based on a lightweight
convolutional neural network, and the method comprises the steps: giving two adjacent frames of images, and constructing a multi-scale feature
pyramid with shared parameters; on the basis of the constructed feature
pyramid, constructing a U-shaped
network structure of a first frame of image by adopting a
deconvolution operation to perform multi-scale
information fusion; initializing the lowest resolution
optical flow field to be zero, and performing deformation operation based on bilinear sampling on a second frame matching feature after the
optical flow estimated by the second
low resolution is up-sampled; carrying out local similarity calculation based on an inner product on the features of the first frame and the deformed features of the second frame, constructing a matching cost, and carrying out
cost aggregation; taking the multi-scale features, the up-sampled optical flow field and the matching cost features after
cost aggregation as the input of an optical flow regression network, and estimating the optical flow field under the resolution; and repeating until the optical flow field under the highest resolution is estimated. According to the invention,
optical flow estimation is more accurate, and the model is lightweight, efficient, real-time and rapid.