The invention relates to the technical field of
image processing and reproductive hospital inspection, and provides a
sperm movement tracking and quality
analysis method based on
deep learning and
optical flow fusion, which comprises the following steps of: identifying sperms through a target detection model, acquiring a detection frame, and screening to obtain detection points; predicting the predicted position of the
sperm in the current frame by using a sparse
optical flow method based on the historical trajectory, performing
data association on the predicted position and a detection point, establishing a matching relationship, updating the trajectory according to the matching relationship, establishing a new trajectory or terminating a lost trajectory, calculating
kinematics parameters and
sperm concentration based on the complete motion trajectory, and completing activity grading. According to the invention, through fusion of
deep learning detection and
optical flow prediction, high-precision identification under a complex background and stable tracking under a high-density cross scene are realized, the identity exchange rate is significantly reduced, and the shielding robustness is enhanced; and meanwhile, full-process
automation from video input to
clinical report is realized, and the accuracy,
repeatability and clinical credibility of an analysis result are improved.