The invention relates to the technical field of
image processing technology and
pattern recognition, and discloses a method for counting video playing times. The method comprises the following steps of: S1, defining a
video image sequence F={f1,f2,f3,ellipsis,fN}, and extracting the feature vectors of key frames to obtain a
feature vector set adv={V1,V2,ellipsis,VM} and a feature
database adv_db={adv1,adv2,ellipsis,advL}; and S2, detecting a certain quantity of videos, and counting the video playing times according to the feature
database. In the method, a video is presented by adopting a group of key features, and a function of automatically extracting key features from the video is realized by using a method for combining a multi-scale grid with a haar feature, so that
image content matching of real-time videos and template videos is realized; and moreover, the playing times of video advertisements are counted by using a key feature frequency
histogram accumulated integration method, and key feature vectors are short and are rapid for matching, so that the method is very suitable for searching and comparing large-scale video libraries, and is suitable for counting video playing times.