This application provides a method and apparatus for target motion
state recognition based on
optical flow field. The method acquires a monitoring image of a target object, inputs the monitoring image into a target
motion detection model to obtain the target object's detection information, extracts sparse feature points from the monitoring image, estimates the
optical flow information of the sparse feature points, removes the feature points corresponding to the target object from the sparse feature points to obtain background region feature points, constructs a background
optical flow field
estimation model based on the optical flow information of the background region feature points, inputs the center position coordinates of the target object into the background optical flow field
estimation model to obtain a background displacement vector, determines the target object's displacement vector based on the center position coordinates of the target object, and determines the target object's motion state in the monitoring
image based on the difference between the background displacement vector and the target object's displacement vector. This application improves the accuracy of target
object motion state recognition and meets the real-time recognition and monitoring needs of UAV inspection scenarios.