CN102156751A - Method and device for extracting video fingerprint - Google Patents
Method and device for extracting video fingerprint Download PDFInfo
- Publication number
- CN102156751A CN102156751A CN2011101051168A CN201110105116A CN102156751A CN 102156751 A CN102156751 A CN 102156751A CN 2011101051168 A CN2011101051168 A CN 2011101051168A CN 201110105116 A CN201110105116 A CN 201110105116A CN 102156751 A CN102156751 A CN 102156751A
- Authority
- CN
- China
- Prior art keywords
- video file
- frame
- fingerprint
- checked
- basic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 238000001914 filtration Methods 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000001514 detection method Methods 0.000 claims description 5
- 230000000052 comparative effect Effects 0.000 claims 11
- 230000001154 acute effect Effects 0.000 claims 5
- 239000012634 fragment Substances 0.000 claims 2
- 238000005192 partition Methods 0.000 abstract 2
- 230000002349 favourable effect Effects 0.000 abstract 1
- 238000000638 solvent extraction Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 13
- 238000004422 calculation algorithm Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000000694 effects Effects 0.000 description 2
- 238000000605 extraction Methods 0.000 description 2
- 241001270131 Agaricus moelleri Species 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000000903 blocking effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000003786 synthesis reaction Methods 0.000 description 1
Images
Landscapes
- Collating Specific Patterns (AREA)
Abstract
Description
技术领域technical field
本发明涉及计算机及图像领域,特别是涉及提取视频指纹的方法及装置。The invention relates to the fields of computers and images, in particular to a method and device for extracting video fingerprints.
背景技术Background technique
随着网络技术和多媒体业务的发展,视频业务已深入到人们的生活。在视频上传或视频下载过程中,对于服务商来说都离不开视频的查询和检索。然而,一个视频文件的大小通常都比较大,基本以数兆(M)或G为单位。因此,如何快速检索如此大型的文件成为业内关注的焦点。With the development of network technology and multimedia services, video services have penetrated into people's lives. In the process of video uploading or video downloading, it is inseparable for service providers to query and retrieve videos. However, the size of a video file is usually relatively large, basically in several megabytes (M) or G. Therefore, how to quickly retrieve such large files has become the focus of attention in the industry.
目前提出了内容标识(CID)码技术。CID码是能够唯一标识视频文件的由若干个字节组成的字符串。可根据设置的算法对视频文件中的视频数据进行计算后获得CID码。设置的算法可以是对不同的数据处理得到不同的处理结果的任一算法,例如哈希(hash)算法。具体的,哈希算法可以采用信息-摘要算法(Message-Digest Algorithm 5,MD5),MD4,安全散列算法(Secure Hash Algorithm,SHA)等。At present, content identification (CID) code technology is proposed. The CID code is a string composed of several bytes that can uniquely identify a video file. The CID code can be obtained after calculating the video data in the video file according to the set algorithm. The set algorithm may be any algorithm that obtains different processing results for different data processing, such as a hash (hash) algorithm. Specifically, the hash algorithm can adopt Message-Digest Algorithm 5 (MD5), MD4, Secure Hash Algorithm (Secure Hash Algorithm, SHA), etc.
由此可见,CID码是一种标识完整视频文件的技术。如果两个视频文件完全相同,则其CID码相同,也就是说可以通过CID码进行比较或检索。然而现实生活中更多视频文件之间并不完全相同。例如,一个是完整的视频文件,另一个是没有片头曲的视频文件,对于用户来说这两个视频文件的内容相同,都是搜索的目标,而通过CID码的比较结果是不同的,也不能同时搜索到这两个视频文件。因此,亟待获得一种新的指纹提取技术,以便通过该指纹来进行视频的相似度比较等。It can be seen that the CID code is a technology for identifying a complete video file. If two video files are exactly the same, their CID codes are the same, that is to say, they can be compared or retrieved through the CID codes. However in real life more video files are not exactly the same. For example, one is a complete video file, and the other is a video file without opening song. For the user, the content of these two video files is the same, and they are all the targets of search. These two video files cannot be searched at the same time. Therefore, it is urgent to obtain a new fingerprint extraction technology, so as to compare the similarity of videos through the fingerprint.
发明内容Contents of the invention
本发明实施例提供一种提取视频指纹的方法及装置,用于实现对视频指纹的提取,以较准确的标识视频,并有利于通过该指纹进行视频的相似度比较和入库管理等。Embodiments of the present invention provide a method and device for extracting video fingerprints, which are used to extract video fingerprints, identify videos more accurately, and facilitate video similarity comparison and storage management through the fingerprints.
一种提取视频指纹的方法,包括以下步骤:A method for extracting video fingerprints, comprising the following steps:
对视频文件中的一帧灰度图像进行分块;Block a frame of grayscale image in the video file;
获得一帧灰度图像中各分块的平均灰度值;Obtain the average gray value of each block in a frame of gray image;
根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹;Obtain the fingerprint of the grayscale image of the frame according to the correlation value of the average grayscale value of each block;
将多帧灰度图像的指纹合并,并将合并后的指纹作为视频文件的指纹。The fingerprints of multiple grayscale images are merged, and the merged fingerprints are used as the fingerprints of the video file.
一种视频相似度比较的方法,包括以下步骤:A method for video similarity comparison, comprising the following steps:
分别获得两个视频文件的各m帧指纹,每帧指纹是:对一帧灰度图像进行分块;获得一帧灰度图像中各分块的平均灰度值;根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹;Obtain the m-frame fingerprints of the two video files respectively, and each frame fingerprint is: divide a frame of grayscale image into blocks; obtain the average gray value of each block in a frame of grayscale image; according to the average gray value of each block Obtain the fingerprint of the grayscale image of the frame through the correlation value of the intensity value;
根据两个视频文件的m帧指纹,获得两个视频文件关于该m帧的相似度值;According to the m frame fingerprints of the two video files, obtain the similarity value of the m frames of the two video files;
判断获得的相似度值是否大于预设的相似度阈值,若大于,则确定两个视频文件关于该m帧不相似,否则确定两个视频文件关于该m帧相似。Determine whether the obtained similarity value is greater than a preset similarity threshold, if greater, then determine that the two video files are not similar with respect to the m frames, otherwise determine that the two video files are similar with respect to the m frames.
一种用于提取视频指纹的装置,包括:A device for extracting video fingerprints, comprising:
分块模块,用于对视频文件中的一帧灰度图像进行分块;The block module is used to block a frame of grayscale image in the video file;
计算模块,用于获得一帧灰度图像中各分块的平均灰度值;Calculation module, used to obtain the average gray value of each block in a frame of gray image;
指纹模块,用于根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹,以及将多帧灰度图像的指纹合并,并将合并后的指纹作为视频文件的指纹。The fingerprint module is used to obtain the fingerprint of the gray-scale image of the frame according to the correlation value of the average gray-scale value of each block, and merge the fingerprints of the gray-scale images of multiple frames, and use the merged fingerprint as the fingerprint of the video file.
一种用于视频相似度比较的装置,包括:A device for video similarity comparison, comprising:
获取模块,用于分别获得两个视频文件的各m帧指纹,每帧指纹是:对一帧灰度图像进行分块;获得一帧灰度图像中各分块的平均灰度值;根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹;The acquisition module is used to obtain the fingerprints of each m frames of two video files respectively, and each frame of fingerprints is: a frame of grayscale image is divided into blocks; the average gray value of each block in the frame of grayscale image is obtained; according to each The correlation value of the average gray value of the block obtains the fingerprint of the gray image of the frame;
相似度计算模块,用于根据两个视频文件的m帧指纹,获得两个视频文件关于该m帧的相似度值;The similarity calculation module is used to obtain the similarity value of the m frames of the two video files according to the m frame fingerprints of the two video files;
比较模块,用于判断获得的相似度值是否大于预设的相似度阈值,若大于,则确定两个视频文件关于该m帧不相似,否则确定两个视频文件关于该m帧相似。The comparison module is used to judge whether the similarity value obtained is greater than a preset similarity threshold, if greater, then determine that the two video files are not similar about the m frame, otherwise determine that the two video files are similar about the m frame.
本发明实施例通过一帧图像内的灰度值获得该帧图像的指纹,实现对一帧图像内容的标识,有利于进行逐帧图像内容的比较,进而实现视频文件之间的相似度比较。The embodiment of the present invention obtains the fingerprint of the frame image through the gray value in the frame image, realizes the identification of the image content of a frame, facilitates the comparison of image content frame by frame, and then realizes the similarity comparison between video files.
附图说明Description of drawings
图1为本发明实施例中提取视频指纹的方法流程图;Fig. 1 is the flow chart of the method for extracting video fingerprint in the embodiment of the present invention;
图2为本发明实施例中分块灰度值所对应的序号的示意图;Fig. 2 is a schematic diagram of the sequence numbers corresponding to the block gray value in the embodiment of the present invention;
图3为本发明实施例中干扰区的示意图;FIG. 3 is a schematic diagram of an interference zone in an embodiment of the present invention;
图4为本发明实施例中视频相似度比较的方法流程图;4 is a flowchart of a method for video similarity comparison in an embodiment of the present invention;
图5A为本发明实施例中更新基础指纹库的方法流程图;FIG. 5A is a flowchart of a method for updating a basic fingerprint library in an embodiment of the present invention;
图5B为本发明实施例中最短媒体片段、待查询片段及切片之间的长度关系的示意图;5B is a schematic diagram of the length relationship between the shortest media segment, the segment to be queried, and the slice in the embodiment of the present invention;
图6为本发明实施例中装置600的主要结构图;FIG. 6 is a main structural diagram of a
图7为本发明实施例中装置600的详细结构图;FIG. 7 is a detailed structural diagram of a
图8为本发明实施例中装置800的主要结构图;FIG. 8 is a main structural diagram of a
图9为本发明实施例中装置800的详细结构图。FIG. 9 is a detailed structural diagram of a
具体实施方式Detailed ways
本发明实施例通过一帧图像内的灰度值获得该帧图像的指纹,实现对一帧图像内容的标识,有利于进行逐帧图像内容的比较,进而实现视频文件之间的相似度比较。The embodiment of the present invention obtains the fingerprint of the frame image through the gray value in the frame image, realizes the identification of the image content of a frame, facilitates the comparison of image content frame by frame, and then realizes the similarity comparison between video files.
参见图1,本实施例中提取视频指纹的方法流程如下:Referring to Fig. 1, the method flow process of extracting video fingerprint in the present embodiment is as follows:
步骤101:对视频文件中的一帧灰度图像进行分块。得到的分块又称宏块,每个分块的大小可以是4×4或8×8等。Step 101: Divide a frame of grayscale image in a video file into blocks. The obtained blocks are also called macro blocks, and the size of each block may be 4×4 or 8×8.
步骤102:获得一帧灰度图像中各分块的平均灰度值。Step 102: Obtain the average gray value of each block in a frame of gray image.
步骤103:根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹。Step 103: Obtain the fingerprint of the grayscale image of the frame according to the correlation value of the average grayscale value of each block.
步骤104:将多帧灰度图像的指纹合并,并将合并后的指纹作为视频文件的指纹。Step 104: Merge the fingerprints of the multiple frames of grayscale images, and use the merged fingerprint as the fingerprint of the video file.
步骤103中有多种具体实现方式,如第一种方式,对一帧灰度图像中各分块的平均灰度值进行排序,并获得各分块对应的序号,按照分块在灰度图像中的顺序将各分块对应的序号顺序组合,将组合后的一串符号作为该帧灰度图像的指纹。如第二种方式,对一帧灰度图像中各分块的平均灰度值进行两两比较,将由0或1表示的比较结果按照比较的顺序组合,将组合后的一串符号作为该帧灰度图像的指纹。如第三种方式,根据已获得的平均灰度值,获得各分块的总体梯度方向值,按照分块在灰度图像中的顺序将各分块对应的总体梯度方向值顺序组合,将组合后的一串符号作为该帧灰度图像的指纹。There are multiple specific implementation methods in
具体的,针对第一种方式,以每帧包括12个宏块为例,各分块的平均灰度值为80,50,110,30,60,90,180,160,70,120,20,40,然后对一帧灰度图像中各分块的平均灰度值进行排序,并获得各分块对应的序号。参见图2所示的帧,其给出了每个宏块的亮度值所对应的序号,这些序号顺序地组成了帧指纹,可以以数组形式存储帧指纹,则帧指纹形如:seq[12]={7,4,9,2,5,8,12,11,6,10,1,3},例如第一个宏块的灰度值在所有宏块的灰度值排第7,则数组gray[12]中的第一元素的值为7。Specifically, for the first method, taking 12 macroblocks per frame as an example, the average gray value of each block is 80, 50, 110, 30, 60, 90, 180, 160, 70, 120, 20 , 40, and then sort the average gray value of each block in a frame of gray image, and obtain the sequence number corresponding to each block. Referring to the frame shown in Figure 2, it provides the serial numbers corresponding to the brightness values of each macroblock, these serial numbers sequentially form the frame fingerprint, and the frame fingerprint can be stored in the form of an array, then the frame fingerprint is in the form of: seq[12 ]={7, 4, 9, 2, 5, 8, 12, 11, 6, 10, 1, 3}, for example, the gray value of the first macroblock ranks 7th among all the gray values of the macroblocks, Then the value of the first element in the array gray[12] is 7.
针对第二种方式,以每帧包括12个宏块为例,对一帧灰度图像中各分块的平均灰度值进行两两比较,也可以是将平均灰度值排序后的序号进行两两比较,若gray[i]<gray[j],则结果为1,否则为0;或者,若gray[i]<gray[j],则结果为0,否则为1;gray[]表示数组,i表示第i个分块,j表示第j个分块,i=0,...,P,j=0,...,P,P为一帧灰度图像中参与合成指纹的分块的总数。数组内每个元素的值为分块的平均灰度值或排序的序号等,总之任何可以体现出灰度大小关系的值均可。For the second method, take each frame including 12 macroblocks as an example, compare the average gray value of each block in a frame of gray image, or compare the sequence numbers of the average gray value after sorting Two-by-two comparison, if gray[i]<gray[j], the result is 1, otherwise it is 0; or, if gray[i]<gray[j], the result is 0, otherwise it is 1; gray[] means Array, i represents the i-th sub-block, j represents the j-th sub-block, i=0,..., P, j=0,..., P, P is a frame of grayscale image that participates in the synthesis of fingerprints The total number of chunks. The value of each element in the array is the average gray value of the block or the serial number of the sorting, etc. In short, any value that can reflect the relationship between the gray scale is acceptable.
针对第三种方式,将每个帧量化为8个方向,还是以12个宏块为例,每个帧就有12个梯度方向值,该梯度方向值为与灰度值有关的数据,也就是说这12个梯度方向值顺序组成了该帧的帧指纹。For the third method, quantize each frame into 8 directions, or take 12 macroblocks as an example, each frame has 12 gradient direction values, and the gradient direction values are data related to the gray value, also That is to say, the sequence of these 12 gradient direction values constitutes the frame fingerprint of the frame.
步骤104中将多帧灰度图像的指纹合并,可有多种方法,例如,将视频的全部帧的灰度图像的指纹连接起来,或取视频的前中后三个片段的帧的灰度图像的指纹连接起来等。In
另外,每帧中不一定整个画面都是影像,通常一帧中的上下各有几行是黑边,中间的画面部分会有字幕,画面的左上角会有图标等,这些部分将影响帧内容相似性的判断,进而影响指纹的准确度和相似性比较的效果。因此,本实施例在获得指纹之前,对视频文件进行过滤。过滤操作至少包括下列操作之一:去黑边和去干扰区。In addition, each frame does not necessarily have the entire picture as an image. Usually, there are several lines of black borders at the top and bottom of a frame. There will be subtitles in the middle of the picture, and icons in the upper left corner of the picture. These parts will affect the frame content. The judgment of similarity will affect the accuracy of fingerprints and the effect of similarity comparison. Therefore, this embodiment filters video files before obtaining fingerprints. The filtering operation includes at least one of the following operations: removing black borders and removing interference regions.
去黑边,顾名思义,就是去除每帧中的黑边。具体的,从图像的一侧向中间位置逐行统计每行的像素均值(也可以是平均灰度值),确定第一个像素均值大于像素阈值的一行,从该行开始到所述一侧的区域为黑边,其中不包括该行。但是,有时候画面内容比较暗,容易将画面部分内容确定为黑边,因此还需要检测。具体的,确定一帧灰度图像中的黑边区域;判断一帧灰度图像中除黑边以外的区域的尺寸是否不小于预设的尺寸阈值,若是,则去除所述黑边区域,否则不对该帧去除黑边,或者依据满足判断条件的其它帧的黑边区域对该帧进行去黑边操作。检测方式有多种,本实施例只是提供一种可行的方式以供参考,其它检测方式均适用于本实施例。为了提高检测的准确度,还可以判断一帧灰度图像中除黑边以外的区域的灰度均值是否大于预设的灰度阈值;在一帧灰度图像中除黑边以外的区域的灰度均值大于预设的灰度阈值时,去除所述黑边区域,否则不对该帧去除黑边,或者依据满足判断条件的其它帧的黑边区域对该帧进行去黑边操作。To black edge, as the name suggests, is to remove the black edge in each frame. Specifically, from one side of the image to the middle position, the pixel mean value (or average gray value) of each line is counted line by line, and the first line whose pixel mean value is greater than the pixel threshold is determined, and from this line to the side The area is bordered in black, which does not include the row. However, sometimes the content of the picture is relatively dark, and it is easy to determine part of the content of the picture as black borders, so it needs to be detected. Specifically, determine the black border area in a frame of grayscale image; judge whether the size of the area other than the black border in a frame of grayscale image is not less than the preset size threshold, if so, remove the black border area, otherwise Do not remove black borders for the frame, or perform black border removal operations on the frame according to the black border areas of other frames that meet the judgment conditions. There are many detection methods, and this embodiment only provides a feasible method for reference, and other detection methods are applicable to this embodiment. In order to improve the accuracy of detection, it can also be judged whether the gray average value of the area except the black border in a frame of gray image is greater than the preset gray threshold; the gray value of the area except the black border in a frame of gray image When the average value is greater than the preset grayscale threshold, remove the black border area, otherwise, do not remove black borders for the frame, or perform black border removal operations on the frame according to the black border regions of other frames that meet the judgment conditions.
去干扰区,就是将预设的干扰区的数据删除,不需获得这部分区域的与灰度值有关的数据,也就不参与帧指纹的获得。本实施例中干扰区如图3所示的阴影区域,包括下方的两个宏块,通常为字幕区,以及包括左上角和右上角的宏块,通常为图标区,例如电视台的台标或广告等。还可以根据实际情况设置其它宏块为干扰区,干扰区的特点是不同帧的画面发生变化时干扰区的内容基本不便,尤其是干扰区的亮度基本不便。Removing the interference area is to delete the data in the preset interference area. It is not necessary to obtain the data related to the gray value of this part of the area, so it does not participate in the acquisition of the frame fingerprint. In this embodiment, the interference area is the shaded area as shown in Figure 3, including the two macroblocks below, usually the subtitle area, and the macroblocks including the upper left and upper right corners, usually the icon area, such as the station logo of a TV station or advertising etc. It is also possible to set other macroblocks as the interference area according to the actual situation. The characteristic of the interference area is that the content of the interference area is basically inconvenient when the pictures of different frames change, especially the brightness of the interference area is basically inconvenient.
获得了帧指纹后,便可以依据帧指纹对两个视频文件进行逐帧比较,以判断两个视频文件之间是否有相似(包括相同)内容的帧,进而确定两个视频文件之间的相似度。下面针对视频相似度比较过程进行介绍。After the frame fingerprint is obtained, the two video files can be compared frame by frame according to the frame fingerprint to determine whether there are frames with similar (including the same) content between the two video files, and then determine the similarity between the two video files. Spend. The following describes the video similarity comparison process.
参见图4,本实施例中视频相似度比较的方法流程如下:Referring to Fig. 4, the method flow of video similarity comparison in the present embodiment is as follows:
步骤401:分别获得两个视频文件的各m帧指纹。每帧指纹是:对一帧灰度图像进行分块;获得一帧灰度图像中各分块的平均灰度值;根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹。Step 401: Obtain m-frame fingerprints of two video files respectively. The fingerprint of each frame is: block a frame of grayscale image; obtain the average gray value of each block in a frame of gray image; obtain the gray value of the frame of gray image according to the correlation value of the average gray value of each block fingerprint.
步骤402:根据两个视频文件的m帧指纹,获得两个视频文件关于该m帧的相似度值。Step 402: According to the m-frame fingerprints of the two video files, obtain the similarity value of the m-frames of the two video files.
步骤403:判断获得的相似度值是否大于预设的相似度阈值,若大于,则继续步骤404,否则继续步骤405。Step 403: Determine whether the obtained similarity value is greater than a preset similarity threshold, if so, proceed to step 404, otherwise proceed to step 405.
步骤404:确定两个视频文件关于该m帧不相似。Step 404: Determine that the two video files are not similar with respect to the m frames.
步骤405:确定两个视频文件关于该m帧相似。Step 405: Determine that the two video files are similar with respect to the m frames.
步骤402中具体的实现方式如:计算两个视频文件的m帧指纹之间的曼哈顿(Manhattan)距离值。例如,一个视频文件的m帧指纹为3 5 6 7 8 9...11 10,另一个视频文件的m帧指纹为4 5 6 7 8 9...11 10,则两组m帧的距离为|3-4|+|5-5|+|6-6|+|7-7|+|8-8|+|9-9|+...+|11-11|+|10-10|。该距离值即为相似度值,距离越小相似度越大,距离为0,则两组m帧指纹相同,可以确定两组m帧视频内容相同。The specific implementation in
本实施例中是通过灰度值来作为视频帧的指纹,在极特殊的情况下,可能两个视频文件的某些帧内容不同但灰度相同,因此在进行相似度比较前,较佳的方式是,选取的每个视频文件中的m帧为去除剧烈变化的连续多帧后的m帧,即去除视频文件中剧烈变化的连续多帧。具体实现方式如,获得视频文件中每相邻两帧之间的汉明距离;确定连续多帧中是否有超过预设比例数量的帧之间的汉明距离大于预设的距离阈值,若是,则确定该连续多帧为剧烈变化的连续多帧并去除,否则保留。In this embodiment, grayscale values are used as fingerprints of video frames. In very special cases, some frame content of two video files may be different but grayscale is the same. Therefore, before similarity comparison, the preferred The method is that the selected m frames in each video file are the m frames after removing the consecutive multiple frames with drastic changes, that is, the consecutive multiple frames with drastic changes in the video file are removed. The specific implementation is such as obtaining the Hamming distance between every adjacent two frames in the video file; determining whether the Hamming distance between the frames exceeding the preset ratio in the continuous multiple frames is greater than the preset distance threshold, and if so, Then it is determined that the continuous multi-frame is a continuous multi-frame with drastic change and removed, otherwise it is kept.
对于剧烈变化的连续多帧,会影响识别效果,需要去除,判断是否为剧烈变化的方式有多种,本实施例通过相邻两帧的汉明距离(hamming distance)来判断。例如f(i)帧指纹为0 1 2 5 6 3 4 8 9 7 10 11,f(i+1)帧指纹为0 3 1 5 6 2 4 89 7 10 11,则该相邻帧的汉明距离为H(i+1)=|0-0|+|1-3|+|2-1|+...+|10-10|+|11-11|=4。确定连续多帧中是否有超过预设比例数量(如2/3)的帧之间的汉明距离大于预设的距离阈值(如72),若是,则确定该连续多帧为剧烈变化的连续多帧并去除。例如,一段连续多帧中超过2/3的帧与其相邻帧的汉明距离大于72,则确定该段连续多帧剧烈变化,需要去除。For continuous multiple frames with drastic changes, it will affect the recognition effect and need to be removed. There are many ways to judge whether it is a drastic change. In this embodiment, the Hamming distance (hamming distance) between two adjacent frames is used to judge. For example, the fingerprint of frame f(i) is 0 1 2 5 6 3 4 8 9 7 10 11, and the fingerprint of frame f(i+1) is 0 3 1 5 6 2 4 89 7 10 11, then the Hamming of the adjacent frame The distance is H(i+1)=|0-0|+|1-3|+|2-1|+...+|10-10|+|11-11|=4. Determine whether the Hamming distance between frames exceeding a preset ratio (such as 2/3) is greater than a preset distance threshold (such as 72) in the continuous multi-frames, and if so, determine that the continuous multi-frames are continuous with drastic changes Multiple frames and remove. For example, if the Hamming distance between more than 2/3 of a continuous multi-frame and its adjacent frame is greater than 72, it is determined that the continuous multi-frame changes drastically and needs to be removed.
比较过两个视频文件的相似度后,便可以根据比较结果更新关于视频文件的基础指纹库,具体实现过程参见下面的流程。After comparing the similarity of the two video files, the basic fingerprint library of the video files can be updated according to the comparison results. For the specific implementation process, see the following process.
所述两个视频文件中的一个视频文件为基础指纹库中的基础视频文件,另一个视频文件为待查询视频文件;One of the two video files is a basic video file in the basic fingerprint library, and the other video file is a video file to be queried;
参见图5A,本实施例中更新基础指纹库的方法流程如下:Referring to FIG. 5A, the flow of the method for updating the basic fingerprint library in this embodiment is as follows:
步骤501:将待查询视频文件的多组m帧指纹分别与基础视频文件的多组m帧指纹进行相似性比较。Step 501: Compare the fingerprints of multiple m-frames of the video file to be queried with the fingerprints of multiple m-frames of the basic video file for similarity comparison.
步骤502:根据比较结果确定待查询视频文件与基础视频文件之间的内容包含关系。Step 502: Determine the content inclusion relationship between the video file to be queried and the basic video file according to the comparison result.
步骤503:根据获得的内容包含关系更新基础指纹库。Step 503: Update the basic fingerprint library according to the obtained content inclusion relationship.
本实施例中,待查询视频文件的多组m帧为待查询视频文件中等长的切片的一部分,且该多组m帧(即待查询片段)与切片的长度和不超过基础视频文件中多组m帧所构成的最短媒体片段的长度。最短媒体片段、待查询片段及切片之间的长度关系参见图5B所示。该长度关系可以保证最短媒体片段至少在长度上包含一个完整的待查询片段,以便对片段的相似性进行比较。In this embodiment, the multiple groups of m frames of the video file to be queried are part of equal-length slices in the video file to be queried, and the length sum of the multiple groups of m frames (that is, the segment to be queried) and the slice does not exceed the length of the basic video file. The length of the shortest media segment composed of m frames. The length relationship among the shortest media segment, the segment to be queried and the slice is shown in FIG. 5B . The length relationship can ensure that the shortest media segment contains at least one complete segment to be queried in terms of length, so as to compare the similarity of the segments.
内容包含关系包括:完全无重叠、不完全重叠、基础视频文件被包含于待查询视频文件、和基础视频文件包含待查询视频文件。The content inclusion relationship includes: no overlap at all, no overlap at all, the base video file is included in the video file to be queried, and the base video file contains the video file to be queried.
若待查询视频文件中的多组m帧指纹均在基础视频文件中对应有比较结果相同的m帧指纹,则确定基础视频文件包含待查询视频文件。若基础视频文件中的多组m帧指纹均在待查询视频文件中对应有比较结果相同的m帧指纹,则确定基础视频文件被包含于待查询视频文件。若待查询视频文件的多组m帧指纹中部分帧指纹比较结果相同,则确定待查询视频文件与基础视频文件之间不完全重叠。若待查询视频文件中的多组m帧指纹均未在基础视频文件中对应有比较结果相同的m帧指纹,则确定待查询视频文件与基础视频文件之间完全无重叠。If multiple groups of m-frame fingerprints in the video file to be queried all correspond to m-frame fingerprints with the same comparison result in the basic video file, it is determined that the basic video file includes the video file to be queried. If multiple groups of m-frame fingerprints in the basic video file all correspond to m-frame fingerprints with the same comparison result in the video file to be queried, then it is determined that the basic video file is included in the video file to be queried. If the comparison results of the fingerprints of some frames in the plurality of m frame fingerprints of the video file to be queried are the same, it is determined that the video file to be queried is not completely overlapped with the basic video file. If none of the sets of m-frame fingerprints in the video file to be queried has m-frame fingerprints with the same comparison result in the basic video file, it is determined that there is no overlap between the video file to be queried and the basic video file.
内容包含关系为完全无重叠时,在基础指纹库中增加待查询视频文件的索引,以及将待查询视频文件归入基础指纹库。When the content inclusion relationship is completely non-overlapping, add the index of the video file to be queried in the basic fingerprint database, and classify the video file to be queried into the basic fingerprint database.
内容包含关系为不完全重叠时,在基础指纹库中增加待查询视频文件的索引,将待查询视频文件归入基础指纹库,以及在基础指纹库中记录待查询视频文件与基础视频文件之间的重叠位置。When the content inclusion relationship is incomplete overlap, add the index of the video file to be queried in the basic fingerprint database, classify the video file to be queried into the basic fingerprint database, and record the difference between the video file to be queried and the basic video file in the basic fingerprint database. overlapping position.
内容包含关系为基础视频文件被包含于待查询视频文件时,在基础指纹库中用待查询视频文件的索引替换基础视频文件的索引,以及在基础指纹库中用待查询视频文件替换基础视频文件。The content inclusion relationship is that when the base video file is included in the video file to be queried, the index of the video file to be queried is used to replace the index of the base video file in the base fingerprint database, and the base video file is replaced with the video file to be queried in the base fingerprint database .
内容包含关系为基础视频文件包含待查询视频文件时,在基础指纹库中增加待查询视频文件的索引。The content inclusion relationship is that when the basic video file contains the video file to be queried, the index of the video file to be queried is added to the basic fingerprint database.
对于服务商来说,基础指纹库通常是批量更新的。为了提高更新效率,需要根据多个待查询多媒体文件更新基础指纹库时,确定每个待查询视频文件在基础指纹库中的存储位置,根据该存储位置对待查询视频文件进行排序,按照排序后的顺序将待查询视频文件更新到基础指纹库。For service providers, the basic fingerprint library is usually updated in batches. In order to improve update efficiency, it is necessary to determine the storage location of each video file to be queried in the basic fingerprint database when updating the basic fingerprint library according to multiple multimedia files to be queried, and sort the video files to be queried according to the storage location, according to the sorted Sequentially update the video files to be queried to the basic fingerprint database.
当数据库中索引了大量的视频文件间的相似及相对位置关系时,就可以实现视频的快速检索。这里每个视频的唯一标识为视频文件的二进制文件的hash值。When the similarity and relative positional relationship between a large number of video files are indexed in the database, fast video retrieval can be realized. Here, the unique identifier of each video is the hash value of the binary file of the video file.
提取其客户端的相关信息,如客户端分辨率,支持的视频格式等信息,例如使用手机查询视频时,因手机硬件限制,能播放的视频格式、码率等参数较为局限,所以需要根据手机的相关信息进行查询。然后根据指定的查询信息(文件hash、分辨率、格式等)从数据库中检索与需查询视频具有相同内容的视频,且获取的待推荐视频在内容上包含该文件,并满足该手机的分辨率及格式等信息。根据选择的结果将得到的满足上述条件的视频文件的链接地址提交给客户端。客户端然后根据该链接请求与该链接具有相同二进制文件的其他链接,实现视频的快速下载及播放。Extract the relevant information of its client, such as client resolution, supported video formats, etc. Inquire about relevant information. Then according to the specified query information (file hash, resolution, format, etc.), retrieve the video with the same content as the video to be queried from the database, and the acquired video to be recommended contains the file in content and meets the resolution of the mobile phone and format information. According to the selection result, the obtained link address of the video file satisfying the above conditions is submitted to the client. The client then requests other links with the same binary file as the link according to the link, so as to realize fast download and playback of the video.
以上描述了指纹提取、相似度比较和更新基础指纹库的过程,下面对实现上述过程的装置的内部结构和功能进行介绍。The process of fingerprint extraction, similarity comparison and update of the basic fingerprint database has been described above, and the internal structure and functions of the device for realizing the above process will be introduced below.
参见图6,本实施例中用于提取视频指纹的装置600包括:分块模块601、计算模块602和指纹模块603。Referring to FIG. 6 , an
分块模块601用于对视频文件中的一帧灰度图像进行分块。
计算模块602用于获得一帧灰度图像中各分块的平均灰度值。The
指纹模块603用于根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹,以及将多帧灰度图像的指纹合并,并将合并后的指纹作为视频文件的指纹。具体的,指纹模块603对一帧灰度图像中各分块的平均灰度值进行排序,并获得各分块对应的序号,按照分块在灰度图像中的顺序将各分块对应的序号顺序组合,将组合后的一串符号作为该帧灰度图像的指纹;或者,对一帧灰度图像中各分块的平均灰度值进行两两比较,将由0或1表示的比较结果按照比较的顺序组合,将组合后的一串符号作为该帧灰度图像的指纹;或者,根据已获得的平均灰度值,获得各分块的总体梯度方向值,按照分块在灰度图像中的顺序将各分块对应的总体梯度方向值顺序组合,将组合后的一串符号作为该帧灰度图像的指纹。The
对一帧灰度图像中各分块的平均灰度值进行两两比较时,指纹模块602将gray[i]与gray[j]比较,若gray[i]<gray[j],则结果为1,否则为0;或者,若gray[i]<gray[j],则结果为0,否则为1;gray[]表示数组,i表示第i个分块,j表示第j个分块,i=0,...,P,j=0,...,P,P为一帧灰度图像中参与合成指纹的分块的总数。When comparing the average gray value of each block in a frame of gray image, the
装置600还包括:过滤模块604,参见图7所示,过滤模块604用于对一帧灰度图像进行去黑边操作。The
具体的,过滤模块604确定一帧灰度图像中的黑边区域,判断一帧灰度图像中除黑边以外的区域的尺寸是否不小于预设的尺寸阈值,若是,则去除所述黑边区域。Specifically, the
装置600还包括:检测模块605用于判断一帧灰度图像中除黑边以外的区域的灰度均值是否大于预设的灰度阈值。过滤模块604在一帧灰度图像中除黑边以外的区域的灰度均值大于预设的灰度阈值时,去除所述黑边区域。The
参见图8,本实施例中用于视频相似度比较的装置800包括:获取模块801、相似度计算模块802和比较模块803。Referring to FIG. 8 , an
获取模块801用于分别获得两个视频文件的各m帧指纹。每帧指纹是:对一帧灰度图像进行分块;获得一帧灰度图像中各分块的平均灰度值;根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹。即,获取模块801可以从装置600处获得指纹。装置600可以作为装置800中的一个模块存在。The obtaining
相似度计算模块802用于根据两个视频文件的m帧指纹,获得两个视频文件关于该m帧的相似度值。相似度计算模块802计算两个视频文件的m帧指纹之间的曼哈顿Manhattan距离值。The
比较模块803用于判断获得的相似度值是否大于预设的相似度阈值,若大于,则确定两个视频文件关于该m帧不相似,否则确定两个视频文件关于该m帧相似。The
每个视频文件中的m帧为去除剧烈变化的连续多帧后的m帧。The m frames in each video file are the m frames after removing the consecutive multiple frames with drastic changes.
装置800还包括:过滤模块804,参见图9所示,过滤模块804用于获得视频文件中每相邻两帧之间的汉明距离;确定连续多帧中是否有超过预设比例数量的帧之间的汉明距离大于预设的距离阈值,若是,则确定该连续多帧为剧烈变化的连续多帧并去除。如果装置600位于装置800中,则过滤模块604与过滤模块804可以是同一模块。The
装置800还可以用于更新基础指纹库,则所述两个视频文件中的一个视频文件为基础指纹库中的基础视频文件,另一个视频文件为待查询视频文件。The
比较模块803还用于将待查询视频文件的多组m帧指纹分别与基础视频文件的多组m帧指纹进行相似性比较;The
所述装置800还包括:关系模块805和更新模块806。The
关系模块805,用于根据比较结果确定待查询视频文件与基础视频文件之间的内容包含关系。The
更新模块806,用于根据获得的内容包含关系更新基础指纹库。An
本实施例中,待查询视频文件的多组m帧为待查询视频文件中等长的切片的一部分,且该多组m帧与切片的长度和不超过基础视频文件中多组m帧所构成的最短媒体片段的长度。In this embodiment, the multiple groups of m frames of the video file to be queried are part of equal-length slices in the video file to be queried, and the length sum of the multiple groups of m frames and the slice does not exceed the length of the multiple groups of m frames in the basic video file. The length of the shortest media segment.
内容包含关系包括:完全无重叠、不完全重叠、基础视频文件被包含于待查询视频文件、和基础视频文件包含待查询视频文件。The content inclusion relationship includes: no overlap at all, no overlap at all, the base video file is included in the video file to be queried, and the base video file contains the video file to be queried.
关系模块805若待查询视频文件中的多组m帧指纹均在基础视频文件中对应有比较结果相同的m帧指纹,则关系模块805确定基础视频文件包含待查询视频文件;若基础视频文件中的多组m帧指纹均在待查询视频文件中对应有比较结果相同的m帧指纹,则关系模块805确定基础视频文件被包含于待查询视频文件;若待查询视频文件的多组m帧指纹中部分帧指纹比较结果相同,则关系模块805确定待查询视频文件与基础视频文件之间不完全重叠;若待查询视频文件中的多组m帧指纹均未在基础视频文件中对应有比较结果相同的m帧指纹,则关系模块805确定待查询视频文件与基础视频文件之间完全无重叠。
内容包含关系为完全无重叠时,更新模块806在基础指纹库中增加待查询视频文件的索引,以及将待查询视频文件归入基础指纹库;When the content inclusion relationship is completely non-overlapping, the
内容包含关系为不完全重叠时,更新模块806在基础指纹库中增加待查询视频文件的索引,将待查询视频文件归入基础指纹库,以及在基础指纹库中记录待查询视频文件与基础视频文件之间的重叠位置;When the content inclusion relationship is incomplete overlap, the
内容包含关系为基础视频文件被包含于待查询视频文件时,更新模块806在基础指纹库中用待查询视频文件的索引替换基础视频文件的索引,以及在基础指纹库中用待查询视频文件替换基础视频文件;When the content inclusion relationship is that the basic video file is included in the video file to be queried, the
内容包含关系为基础视频文件包含待查询视频文件时,更新模块806在基础指纹库中增加待查询视频文件的索引。When the content inclusion relationship is that the basic video file contains the video file to be queried, the
较佳的,更新模块806需要根据多个待查询视频文件更新基础指纹库时,确定每个待查询视频文件在基础指纹库中的存储位置,根据该存储位置对待查询视频文件进行排序,按照排序后的顺序将待查询视频文件更新到基础指纹库。Preferably, when the
本发明实施例通过一帧图像内的灰度值获得该帧图像的指纹,实现对一帧图像内容的标识,有利于进行逐帧图像内容的比较,进而实现视频文件之间的相似度比较。本发明实施例在获得帧图像的指纹的基础上,通过该指纹实现了视频文件之间的内容相似度比较,该比较结果可用于视频检索、下载和上传,及关于视频的基础指纹库和存储视频的数据库建立和更新等。The embodiment of the present invention obtains the fingerprint of the frame image through the gray value in the frame image, realizes the identification of the image content of a frame, facilitates the comparison of image content frame by frame, and then realizes the similarity comparison between video files. In the embodiment of the present invention, on the basis of obtaining the fingerprint of the frame image, the content similarity comparison between video files is realized through the fingerprint. The comparison result can be used for video retrieval, download and upload, and the basic fingerprint library and storage of video Video database establishment and update, etc.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) having computer-usable program code embodied therein.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor, or processor of other programmable data processing equipment to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing equipment produce a An apparatus for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the instructions The device realizes the function specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device, causing a series of operational steps to be performed on the computer or other programmable device to produce a computer-implemented process, thereby The instructions provide steps for implementing the functions specified in the flow chart or blocks of the flowchart and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.
Claims (32)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110105116.8A CN102156751B (en) | 2011-04-26 | 2011-04-26 | Method and device for extracting video fingerprint |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201110105116.8A CN102156751B (en) | 2011-04-26 | 2011-04-26 | Method and device for extracting video fingerprint |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102156751A true CN102156751A (en) | 2011-08-17 |
| CN102156751B CN102156751B (en) | 2015-02-04 |
Family
ID=44438250
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201110105116.8A Active CN102156751B (en) | 2011-04-26 | 2011-04-26 | Method and device for extracting video fingerprint |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102156751B (en) |
Cited By (23)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102724387A (en) * | 2012-05-26 | 2012-10-10 | 安科智慧城市技术(中国)有限公司 | Electronic image stabilizing method and device |
| CN104063706A (en) * | 2014-06-27 | 2014-09-24 | 电子科技大学 | Video fingerprint extraction method based on SURF algorithm |
| CN104636488A (en) * | 2015-02-26 | 2015-05-20 | 北京奇艺世纪科技有限公司 | Method and device for determining duplicate video files on basis of pictures |
| CN104809248A (en) * | 2015-05-18 | 2015-07-29 | 成都索贝数码科技股份有限公司 | Video fingerprint extraction and retrieval method |
| CN104811742A (en) * | 2015-04-28 | 2015-07-29 | 无锡天脉聚源传媒科技有限公司 | Video data storage method and device |
| CN104936045A (en) * | 2015-06-03 | 2015-09-23 | 无锡天脉聚源传媒科技有限公司 | HTML5-based video file processing method and apparatus |
| CN104936044A (en) * | 2015-06-03 | 2015-09-23 | 无锡天脉聚源传媒科技有限公司 | HTML5-based video file transmitting method, client and server |
| CN104994441A (en) * | 2015-07-06 | 2015-10-21 | 无锡天脉聚源传媒科技有限公司 | Method and device for transmitting video files |
| CN105791906A (en) * | 2014-12-15 | 2016-07-20 | 深圳Tcl数字技术有限公司 | Information pushing method and system |
| CN106484837A (en) * | 2016-09-30 | 2017-03-08 | 腾讯科技(北京)有限公司 | The detection method of similar video file and device |
| CN108197265A (en) * | 2017-12-29 | 2018-06-22 | 深圳市视维科技股份有限公司 | A kind of method and system based on short video search complete video |
| CN108881953A (en) * | 2018-06-29 | 2018-11-23 | 银河威尔科技(北京)有限公司 | A kind of video encryption method and device |
| CN110019640A (en) * | 2017-07-25 | 2019-07-16 | 杭州盈高科技有限公司 | Confidential document inspection method and device |
| CN110826461A (en) * | 2019-10-31 | 2020-02-21 | 深圳市网心科技有限公司 | Video content identification method, device, electronic device and storage medium |
| CN110889011A (en) * | 2019-11-29 | 2020-03-17 | 杭州当虹科技股份有限公司 | Video fingerprint method |
| CN111491185A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Multimedia data access method and device and electronic equipment |
| CN112099725A (en) * | 2019-06-17 | 2020-12-18 | 华为技术有限公司 | A data processing method, apparatus and computer readable storage medium |
| CN113468538A (en) * | 2021-06-15 | 2021-10-01 | 江苏大学 | Vulnerability attack database construction method based on similarity measurement |
| CN113596575A (en) * | 2021-08-02 | 2021-11-02 | 北京市博汇科技股份有限公司 | Video fingerprint data generation method, comparison method and equipment |
| CN113627363A (en) * | 2021-08-13 | 2021-11-09 | 百度在线网络技术(北京)有限公司 | Video file processing method, device, equipment and storage medium |
| CN114138990A (en) * | 2021-11-26 | 2022-03-04 | 中国电信集团系统集成有限责任公司 | Video file identification method and system based on picture group similarity matching |
| CN114363672A (en) * | 2021-12-17 | 2022-04-15 | 北京快乐茄信息技术有限公司 | Similar video determination method, device, terminal and storage medium |
| CN115841731A (en) * | 2023-02-16 | 2023-03-24 | 广东汇通信息科技股份有限公司 | Infrared-monitoring park fire early warning method |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050213826A1 (en) * | 2004-03-25 | 2005-09-29 | Intel Corporation | Fingerprinting digital video for rights management in networks |
| CN101201822A (en) * | 2006-12-11 | 2008-06-18 | 南京理工大学 | Method for searching visual lens based on contents |
| CN101473657A (en) * | 2006-06-20 | 2009-07-01 | 皇家飞利浦电子股份有限公司 | Generating fingerprints of video signals |
| CN101635851A (en) * | 2009-08-24 | 2010-01-27 | 清华大学 | Method for extracting video fingerprints |
| CN101635843A (en) * | 2008-07-23 | 2010-01-27 | 北京大学 | Method and system for extracting, seeking and comparing visual patterns based on frame-to-frame variation characteristics |
-
2011
- 2011-04-26 CN CN201110105116.8A patent/CN102156751B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050213826A1 (en) * | 2004-03-25 | 2005-09-29 | Intel Corporation | Fingerprinting digital video for rights management in networks |
| CN101473657A (en) * | 2006-06-20 | 2009-07-01 | 皇家飞利浦电子股份有限公司 | Generating fingerprints of video signals |
| CN101201822A (en) * | 2006-12-11 | 2008-06-18 | 南京理工大学 | Method for searching visual lens based on contents |
| CN101635843A (en) * | 2008-07-23 | 2010-01-27 | 北京大学 | Method and system for extracting, seeking and comparing visual patterns based on frame-to-frame variation characteristics |
| CN101635851A (en) * | 2009-08-24 | 2010-01-27 | 清华大学 | Method for extracting video fingerprints |
Cited By (38)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102724387A (en) * | 2012-05-26 | 2012-10-10 | 安科智慧城市技术(中国)有限公司 | Electronic image stabilizing method and device |
| CN102724387B (en) * | 2012-05-26 | 2016-08-03 | 安科智慧城市技术(中国)有限公司 | A kind of method and device of electronic steady image |
| CN104063706A (en) * | 2014-06-27 | 2014-09-24 | 电子科技大学 | Video fingerprint extraction method based on SURF algorithm |
| CN104063706B (en) * | 2014-06-27 | 2017-02-15 | 电子科技大学 | Video fingerprint extraction method based on SURF algorithm |
| CN105791906A (en) * | 2014-12-15 | 2016-07-20 | 深圳Tcl数字技术有限公司 | Information pushing method and system |
| CN104636488A (en) * | 2015-02-26 | 2015-05-20 | 北京奇艺世纪科技有限公司 | Method and device for determining duplicate video files on basis of pictures |
| CN104636488B (en) * | 2015-02-26 | 2019-03-26 | 北京奇艺世纪科技有限公司 | A kind of repetition video file based on picture determines method and device |
| CN104811742A (en) * | 2015-04-28 | 2015-07-29 | 无锡天脉聚源传媒科技有限公司 | Video data storage method and device |
| CN104809248B (en) * | 2015-05-18 | 2018-01-23 | 成都华栖云科技有限公司 | Video finger print extracts and search method |
| CN104809248A (en) * | 2015-05-18 | 2015-07-29 | 成都索贝数码科技股份有限公司 | Video fingerprint extraction and retrieval method |
| CN104936044A (en) * | 2015-06-03 | 2015-09-23 | 无锡天脉聚源传媒科技有限公司 | HTML5-based video file transmitting method, client and server |
| CN104936045A (en) * | 2015-06-03 | 2015-09-23 | 无锡天脉聚源传媒科技有限公司 | HTML5-based video file processing method and apparatus |
| CN104936045B (en) * | 2015-06-03 | 2018-05-15 | 无锡天脉聚源传媒科技有限公司 | A kind of video file processing method and processing device based on HTML5 |
| CN104994441A (en) * | 2015-07-06 | 2015-10-21 | 无锡天脉聚源传媒科技有限公司 | Method and device for transmitting video files |
| CN104994441B (en) * | 2015-07-06 | 2018-09-25 | 无锡天脉聚源传媒科技有限公司 | A kind of method and device of transmitting video files |
| CN106484837A (en) * | 2016-09-30 | 2017-03-08 | 腾讯科技(北京)有限公司 | The detection method of similar video file and device |
| CN106484837B (en) * | 2016-09-30 | 2020-08-04 | 腾讯科技(北京)有限公司 | Method and device for detecting similar video files |
| CN110019640A (en) * | 2017-07-25 | 2019-07-16 | 杭州盈高科技有限公司 | Confidential document inspection method and device |
| CN110019640B (en) * | 2017-07-25 | 2021-02-23 | 杭州盈高科技有限公司 | Secret-related file checking method and device |
| CN108197265A (en) * | 2017-12-29 | 2018-06-22 | 深圳市视维科技股份有限公司 | A kind of method and system based on short video search complete video |
| CN108881953A (en) * | 2018-06-29 | 2018-11-23 | 银河威尔科技(北京)有限公司 | A kind of video encryption method and device |
| CN108881953B (en) * | 2018-06-29 | 2020-07-31 | 银河威尔科技(北京)有限公司 | Video encryption method and device |
| CN111491185A (en) * | 2019-01-25 | 2020-08-04 | 阿里巴巴集团控股有限公司 | Multimedia data access method and device and electronic equipment |
| CN112099725A (en) * | 2019-06-17 | 2020-12-18 | 华为技术有限公司 | A data processing method, apparatus and computer readable storage medium |
| US11797204B2 (en) | 2019-06-17 | 2023-10-24 | Huawei Technologies Co., Ltd. | Data compression processing method and apparatus, and computer-readable storage medium |
| CN110826461A (en) * | 2019-10-31 | 2020-02-21 | 深圳市网心科技有限公司 | Video content identification method, device, electronic device and storage medium |
| CN110889011A (en) * | 2019-11-29 | 2020-03-17 | 杭州当虹科技股份有限公司 | Video fingerprint method |
| CN110889011B (en) * | 2019-11-29 | 2022-07-26 | 杭州当虹科技股份有限公司 | Video fingerprint method |
| CN113468538A (en) * | 2021-06-15 | 2021-10-01 | 江苏大学 | Vulnerability attack database construction method based on similarity measurement |
| CN113468538B (en) * | 2021-06-15 | 2024-12-17 | 江苏大学 | Vulnerability attack database construction method based on similarity measurement |
| CN113596575B (en) * | 2021-08-02 | 2023-09-22 | 北京市博汇科技股份有限公司 | A method, comparison method and device for generating video fingerprint data |
| CN113596575A (en) * | 2021-08-02 | 2021-11-02 | 北京市博汇科技股份有限公司 | Video fingerprint data generation method, comparison method and equipment |
| CN113627363A (en) * | 2021-08-13 | 2021-11-09 | 百度在线网络技术(北京)有限公司 | Video file processing method, device, equipment and storage medium |
| CN113627363B (en) * | 2021-08-13 | 2023-08-15 | 百度在线网络技术(北京)有限公司 | Video file processing method, device, equipment and storage medium |
| CN114138990A (en) * | 2021-11-26 | 2022-03-04 | 中国电信集团系统集成有限责任公司 | Video file identification method and system based on picture group similarity matching |
| CN114363672A (en) * | 2021-12-17 | 2022-04-15 | 北京快乐茄信息技术有限公司 | Similar video determination method, device, terminal and storage medium |
| CN115841731B (en) * | 2023-02-16 | 2023-05-05 | 广东汇通信息科技股份有限公司 | Infrared monitoring park fire early warning method |
| CN115841731A (en) * | 2023-02-16 | 2023-03-24 | 广东汇通信息科技股份有限公司 | Infrared-monitoring park fire early warning method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102156751B (en) | 2015-02-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102156751B (en) | Method and device for extracting video fingerprint | |
| US9672217B2 (en) | System and methods for generation of a concept based database | |
| US9418297B2 (en) | Detecting video copies | |
| US6993180B2 (en) | Method and system for automated grouping of images | |
| CN110019891B (en) | Image storage method, image retrieval method and device | |
| JP2020525935A (en) | Method and apparatus for determining duplicate video | |
| US20100067867A1 (en) | System and method for searching video scenes | |
| CN106557545B (en) | Video retrieval method and device | |
| WO2006075902A1 (en) | Method and apparatus for category-based clustering using photographic region templates of digital photo | |
| CN102193995B (en) | Method and device for establishing multimedia data index and retrieval | |
| JP2014503095A (en) | Method and apparatus for comparing pictures | |
| CN111368867B (en) | File classifying method and system and computer readable storage medium | |
| CN108881947A (en) | A kind of infringement detection method and device of live stream | |
| KR101767269B1 (en) | Apparatus and method for searching image | |
| CN111382184A (en) | Method for verifying drug document and drug document verification system | |
| CN113435391A (en) | Method and device for identifying infringement video | |
| WO2014004503A2 (en) | Searching for events by attendants | |
| US20160182224A1 (en) | Method and apparatus for deriving a perceptual hash value from an image | |
| US8620971B2 (en) | Image processing apparatus, image processing method, and program | |
| CN101419717A (en) | Format file graphic-text auto-associating method and system | |
| US8891019B2 (en) | Image processing apparatus, image processing method, and program | |
| US11874869B2 (en) | Media retrieval method and apparatus | |
| EP1973046A1 (en) | Indexing presentation slides | |
| EP3113069A1 (en) | Method and apparatus for deriving a feature point based image similarity measure | |
| EP3113076A1 (en) | Method and apparatus for deriving an image similarity measure based on repetitive feature points |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| C41 | Transfer of patent application or patent right or utility model | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20170221 Address after: A District No. 9018 building 518057 Guangdong Han innovation city of Shenzhen province Nanshan District high tech park, North Central Avenue, 4 floor 401 Patentee after: Shenzhen thunder network culture Co., Ltd. Address before: 518057 Guangdong, Shenzhen, Nanshan District science and technology in the road, Shenzhen, No. 11, software park, building 7, level 8, two Patentee before: Xunlei Network Technology Co., Ltd., Shenzhen |
|
| TR01 | Transfer of patent right |
Effective date of registration: 20180201 Address after: Nanshan District Guangdong streets of science and technology of Shenzhen city in Guangdong province 518057 two Road No. 11 Shenzhen Software Park Building 7, 8 floor Patentee after: Xunlei Network Technology Co., Ltd., Shenzhen Address before: A District No. 9018 building 518057 Guangdong Han innovation city of Shenzhen province Nanshan District high tech park, North Central Avenue, 4 floor 401 Patentee before: Shenzhen thunder network culture Co., Ltd. |
|
| TR01 | Transfer of patent right |