Patent ID: 8737808

Claim:
A method for previewing and retrieving a video, comprising: setting a variable-length buffer sequence; and further comprising: acquiring and processing a video file to obtain images; detecting scene shots in the obtained images and key frames of the scene shots, and storing the detected scene shots and key frames in the variable-length buffer sequence; and acquiring the scene shots and key frames from the variable-length buffer sequence, and performing video retrieval by matching and comparing the scene shots and key frames with a specified target image, wherein the performing video retrieval by matching and comparing the scene shots and key frames with the target image is: calculating degrees of match between the scene shots and the target image, and degrees of match between the key frames and the target image; determining whether the degrees of match between the scene shots and the target image reach a threshold of degree of match; when none of the degrees of match between the scene shots and the target image reaches the threshold of degree of match, determining whether the degrees of match between the key frames and the target image reach the threshold of degree of match; when none of the degrees of match between the key frames and the target image reaches the threshold of degree of match, determining that the matching fails, and ending the video retrieval; when a degree of match between a key frame and the target image reaches the threshold of degree of match, determining that the matching succeeds, ending the video retrieval, and executing a notification mechanism of successful retrieval.