The invention discloses a behavior analysis video
key frame extraction method and device, a medium and
computer equipment, and the method comprises the steps: reading a behavior analysis video picture frame by frame, and generating a full-white
reference frame with the same size as a first frame; for a non-first frame, the difference between the non-first frame and the
reference frame is quantized by using
structural similarity indexes (from brightness, contrast and structural three-dimensional measurement), and a bucket index is determined; and judging whether a bucket corresponding to the bucket index has a
candidate key frame, if not, storing a non-first-frame picture, and if yes, discarding the non-first-frame picture. And finally, sorting the
candidate key frames in all buckets in an ascending order according to bucket indexes of the buckets to obtain a final
key frame sequence, distinguishing'different pictures' by simulating human eyes, automatically skipping similar frames from continuous video frames, and screening out frames capable of representing picture core changes to compress data volume and retain key information.
Key frame extraction can be carried out by considering behavior
semantics and
time sequence dynamic characteristics, so that the performance of a behavior analysis task is improved.