+

CN102156751A - Method and device for extracting video fingerprint - Google Patents

Method and device for extracting video fingerprint Download PDF

Info

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
Application number
CN2011101051168A
Other languages
Chinese (zh)
Other versions
CN102156751B (en
Inventor
刘汉洲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Xunlei Networking Technologies Co Ltd
Original Assignee
Shenzhen Xunlei Networking Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Xunlei Networking Technologies Co Ltd filed Critical Shenzhen Xunlei Networking Technologies Co Ltd
Priority to CN201110105116.8A priority Critical patent/CN102156751B/en
Publication of CN102156751A publication Critical patent/CN102156751A/en
Application granted granted Critical
Publication of CN102156751B publication Critical patent/CN102156751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Collating Specific Patterns (AREA)

Abstract

The invention discloses a method for extracting a video fingerprint, which is used for carrying out the purpose of extracting a video fingerprint, so that the video can be identified in a relatively accurate way, the similarity comparison of videos and warehousing management and the like can be favorable to be realized by the fingerprint. The method provided by the invention comprises the following steps of: partitioning a gray level image of one frame in a video file; obtaining average gray values for the partitions of the gray level image of one frame; obtaining a fingerprint of the gray level image of the frame according to the average gray values of each partition; merging the fingerprints of gray level images of a plurality of frames; and taking the merged fingerprint as the fingerprint of the video file. The invention also discloses a device for realizing the method.

Description

一种提取视频指纹的方法及装置A method and device for extracting video fingerprints

技术领域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 device 600 in an embodiment of the present invention;

图7为本发明实施例中装置600的详细结构图;FIG. 7 is a detailed structural diagram of a device 600 in an embodiment of the present invention;

图8为本发明实施例中装置800的主要结构图;FIG. 8 is a main structural diagram of a device 800 in an embodiment of the present invention;

图9为本发明实施例中装置800的详细结构图。FIG. 9 is a detailed structural diagram of a device 800 in an embodiment of the present invention.

具体实施方式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 step 103. For example, in the first method, the average gray value of each block in a frame of gray image is sorted, and the serial number corresponding to each block is obtained, and the gray value of each block is obtained according to the number of blocks in the gray image. The order in is to combine the sequence numbers corresponding to each block in order, and use the combined string of symbols as the fingerprint of the grayscale image of the frame. As in the second method, compare the average gray value of each block in a frame of gray image, combine the comparison results represented by 0 or 1 in the order of comparison, and use the combined string of symbols as the frame Fingerprints of grayscale images. As in the third method, according to the obtained average gray value, the overall gradient direction value of each block is obtained, and the overall gradient direction value corresponding to each block is sequentially combined according to the order of the block in the gray image, and the combined The last string of symbols is used as the fingerprint of the grayscale image of the frame.

具体的,针对第一种方式,以每帧包括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 step 104, the fingerprints of the multi-frame grayscale images can be merged in a variety of ways, for example, the fingerprints of the grayscale images of all frames of the video are connected, or the grayscales of the frames of the front, middle and rear three segments of the video are taken The fingerprints of the images are concatenated and so on.

另外,每帧中不一定整个画面都是影像,通常一帧中的上下各有几行是黑边,中间的画面部分会有字幕,画面的左上角会有图标等,这些部分将影响帧内容相似性的判断,进而影响指纹的准确度和相似性比较的效果。因此,本实施例在获得指纹之前,对视频文件进行过滤。过滤操作至少包括下列操作之一:去黑边和去干扰区。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 step 402 is as follows: calculating the Manhattan (Manhattan) distance value between m-frame fingerprints of two video files. For example, the m-frame fingerprint of a video file is 3 5 6 7 8 9...11 10, and the m-frame fingerprint of another video file is 4 5 6 7 8 9...11 10, then the distance between two sets of m frames is |3-4|+|5-5|+|6-6|+|7-7|+|8-8|+|9-9|+...+|11-11|+|10- 10|. The distance value is the similarity value. The smaller the distance is, the greater the similarity is. If the distance is 0, the fingerprints of the two sets of m frames are the same, and it can be determined that the video content of the two sets of m frames is the same.

本实施例中是通过灰度值来作为视频帧的指纹,在极特殊的情况下,可能两个视频文件的某些帧内容不同但灰度相同,因此在进行相似度比较前,较佳的方式是,选取的每个视频文件中的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 apparatus 600 for extracting video fingerprints in this embodiment includes: a block module 601 , a calculation module 602 and a fingerprint module 603 .

分块模块601用于对视频文件中的一帧灰度图像进行分块。Blocking module 601 is used to block a frame of grayscale image in the video file.

计算模块602用于获得一帧灰度图像中各分块的平均灰度值。The calculation module 602 is used to obtain the average gray value of each block in a frame of gray image.

指纹模块603用于根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹,以及将多帧灰度图像的指纹合并,并将合并后的指纹作为视频文件的指纹。具体的,指纹模块603对一帧灰度图像中各分块的平均灰度值进行排序,并获得各分块对应的序号,按照分块在灰度图像中的顺序将各分块对应的序号顺序组合,将组合后的一串符号作为该帧灰度图像的指纹;或者,对一帧灰度图像中各分块的平均灰度值进行两两比较,将由0或1表示的比较结果按照比较的顺序组合,将组合后的一串符号作为该帧灰度图像的指纹;或者,根据已获得的平均灰度值,获得各分块的总体梯度方向值,按照分块在灰度图像中的顺序将各分块对应的总体梯度方向值顺序组合,将组合后的一串符号作为该帧灰度图像的指纹。The fingerprint module 603 is used to obtain the fingerprint of the frame grayscale image according to the correlation value of the average grayscale value of each block, and merge the fingerprints of multiple frames of grayscale images, and use the merged fingerprint as the fingerprint of the video file. Specifically, the fingerprint module 603 sorts the average gray value of each block in a frame of gray image, and obtains the sequence numbers corresponding to each block, and sorts the sequence numbers corresponding to each block according to the order of the blocks in the gray image. Combining in order, the combined string of symbols is used as the fingerprint of the grayscale image of the frame; or, the average grayscale value of each block in a frame of grayscale image is compared in pairs, and the comparison result represented by 0 or 1 is according to The order of comparison is combined, and the combined string of symbols is used as the fingerprint of the grayscale image of the frame; or, according to the obtained average grayscale value, the overall gradient direction value of each block is obtained, according to the block in the grayscale image Combine the overall gradient direction values corresponding to each block sequentially, and use the combined string of symbols as the fingerprint of the grayscale image of the frame.

对一帧灰度图像中各分块的平均灰度值进行两两比较时,指纹模块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 fingerprint module 602 compares gray[i] with gray[j]. 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[] represents an array, i represents the i-th block, j represents the j-th block, i=0, . . . , P, j=0, .

装置600还包括:过滤模块604,参见图7所示,过滤模块604用于对一帧灰度图像进行去黑边操作。The device 600 also includes: a filtering module 604, as shown in FIG. 7, the filtering module 604 is used to perform a black border removal operation on a frame of grayscale image.

具体的,过滤模块604确定一帧灰度图像中的黑边区域,判断一帧灰度图像中除黑边以外的区域的尺寸是否不小于预设的尺寸阈值,若是,则去除所述黑边区域。Specifically, the filter module 604 determines the black border area in a frame of grayscale image, and judges whether the size of the area other than the black border in a frame of grayscale image is not less than a preset size threshold, and if so, removes the black border area.

装置600还包括:检测模块605用于判断一帧灰度图像中除黑边以外的区域的灰度均值是否大于预设的灰度阈值。过滤模块604在一帧灰度图像中除黑边以外的区域的灰度均值大于预设的灰度阈值时,去除所述黑边区域。The device 600 further includes: a detection module 605 for judging whether the average gray value of a region other than the black border in a frame of gray image is greater than a preset gray threshold. The filtering module 604 removes the black border region when the gray average value of the region except the black border in a frame of grayscale image is greater than a preset gray threshold.

参见图8,本实施例中用于视频相似度比较的装置800包括:获取模块801、相似度计算模块802和比较模块803。Referring to FIG. 8 , an apparatus 800 for video similarity comparison in this embodiment includes: an acquisition module 801 , a similarity calculation module 802 and a comparison module 803 .

获取模块801用于分别获得两个视频文件的各m帧指纹。每帧指纹是:对一帧灰度图像进行分块;获得一帧灰度图像中各分块的平均灰度值;根据各分块的平均灰度值的相关值获得该帧灰度图像的指纹。即,获取模块801可以从装置600处获得指纹。装置600可以作为装置800中的一个模块存在。The obtaining module 801 is used to 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. That is, the acquiring module 801 can acquire the fingerprint from the device 600 . Apparatus 600 may exist as a module in apparatus 800 .

相似度计算模块802用于根据两个视频文件的m帧指纹,获得两个视频文件关于该m帧的相似度值。相似度计算模块802计算两个视频文件的m帧指纹之间的曼哈顿Manhattan距离值。The similarity calculation module 802 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. The similarity calculation module 802 calculates the Manhattan distance value between m-frame fingerprints of two video files.

比较模块803用于判断获得的相似度值是否大于预设的相似度阈值,若大于,则确定两个视频文件关于该m帧不相似,否则确定两个视频文件关于该m帧相似。The comparison module 803 is used to 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 frame, otherwise determine that the two video files are similar with respect to the m frame.

每个视频文件中的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 device 800 also includes: a filtering module 804, as shown in FIG. 9, the filtering module 804 is used to obtain the Hamming distance between every two adjacent frames in the video file; determine whether there are frames exceeding the preset ratio in the continuous multiple frames The Hamming distance between them is greater than a preset distance threshold, and if so, the continuous multi-frames are determined to be continuous multi-frames with drastic changes and removed. If device 600 is located in device 800, filter module 604 and filter module 804 may be the same module.

装置800还可以用于更新基础指纹库,则所述两个视频文件中的一个视频文件为基础指纹库中的基础视频文件,另一个视频文件为待查询视频文件。The device 800 can also be used to update the basic fingerprint database, one of the two video files is the basic video file in the basic fingerprint database, and the other video file is the video file to be queried.

比较模块803还用于将待查询视频文件的多组m帧指纹分别与基础视频文件的多组m帧指纹进行相似性比较;The comparison module 803 is also used to compare the similarities between the fingerprints of multiple groups of m frames of the video file to be queried and the fingerprints of multiple groups of m frames of the basic video file;

所述装置800还包括:关系模块805和更新模块806。The apparatus 800 further includes: a relationship module 805 and an update module 806 .

关系模块805,用于根据比较结果确定待查询视频文件与基础视频文件之间的内容包含关系。The relationship module 805 is configured to determine the content inclusion relationship between the video file to be queried and the basic video file according to the comparison result.

更新模块806,用于根据获得的内容包含关系更新基础指纹库。An update module 806, configured to update the basic fingerprint library according to the obtained content inclusion relationship.

本实施例中,待查询视频文件的多组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确定待查询视频文件与基础视频文件之间完全无重叠。Relational module 805 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, then the relational module 805 determines that the basic video file includes the video file to be queried; Multiple groups of m frame fingerprints in the video file to be queried correspond to m frame fingerprints with the same comparison result, then the relationship module 805 determines that the basic video file is included in the video file to be queried; if multiple groups of m frame fingerprints of the video file to be queried Part of the frame fingerprint comparison results are the same in the middle, then the relationship module 805 determines that there is no complete overlap between the video file to be queried and the basic video file; the same m-frame fingerprints, the relationship module 805 determines that there is no overlap between the video file to be queried and the basic video file.

内容包含关系为完全无重叠时,更新模块806在基础指纹库中增加待查询视频文件的索引,以及将待查询视频文件归入基础指纹库;When the content inclusion relationship is completely non-overlapping, the update module 806 increases the index of the video file to be queried in the basic fingerprint database, and the video file to be queried is classified into the basic fingerprint database;

内容包含关系为不完全重叠时,更新模块806在基础指纹库中增加待查询视频文件的索引,将待查询视频文件归入基础指纹库,以及在基础指纹库中记录待查询视频文件与基础视频文件之间的重叠位置;When the content inclusion relationship is incomplete overlap, the update module 806 adds the index of the video file to be queried in the basic fingerprint database, puts the video file to be queried into the basic fingerprint database, and records the video file to be queried and the basic video file in the basic fingerprint database. overlapping positions between files;

内容包含关系为基础视频文件被包含于待查询视频文件时,更新模块806在基础指纹库中用待查询视频文件的索引替换基础视频文件的索引,以及在基础指纹库中用待查询视频文件替换基础视频文件;When the content inclusion relationship is that the basic video file is included in the video file to be queried, the update module 806 replaces the index of the basic video file with the index of the video file to be queried in the basic fingerprint database, and replaces the index of the video file with the video file to be queried in the basic fingerprint database. base video file;

内容包含关系为基础视频文件包含待查询视频文件时,更新模块806在基础指纹库中增加待查询视频文件的索引。When the content inclusion relationship is that the basic video file contains the video file to be queried, the update module 806 adds an index of the video file to be queried in the basic fingerprint database.

较佳的,更新模块806需要根据多个待查询视频文件更新基础指纹库时,确定每个待查询视频文件在基础指纹库中的存储位置,根据该存储位置对待查询视频文件进行排序,按照排序后的顺序将待查询视频文件更新到基础指纹库。Preferably, when the update module 806 needs to update the basic fingerprint library according to a plurality of video files to be queried, determine the storage location of each video file to be queried in the basic fingerprint library, sort the video files to be queried according to the storage location, and sort according to In the following sequence, the video files to be queried are updated to the basic fingerprint library.

本发明实施例通过一帧图像内的灰度值获得该帧图像的指纹,实现对一帧图像内容的标识,有利于进行逐帧图像内容的比较,进而实现视频文件之间的相似度比较。本发明实施例在获得帧图像的指纹的基础上,通过该指纹实现了视频文件之间的内容相似度比较,该比较结果可用于视频检索、下载和上传,及关于视频的基础指纹库和存储视频的数据库建立和更新等。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)

1. a method of extracting video finger print is characterized in that, may further comprise the steps:
Frame gray level image in the video file is carried out piecemeal;
Obtain the average gray value of each piecemeal in the frame gray level image;
Obtain the fingerprint of this frame gray level image according to the correlation of the average gray value of each piecemeal;
The fingerprint of multiframe gray level image is merged, and the fingerprint after will merging is as the fingerprint of video file.
2. the method for claim 1 is characterized in that, the step that obtains the fingerprint of this frame gray level image according to the correlation of the gray-scale value of each piecemeal comprises:
Average gray value to each piecemeal in the frame gray level image sorts, and obtain each piecemeal corresponding sequence number, according to the order of piecemeal in gray level image with each piecemeal corresponding sequence number sequential combination, with the string symbol after the combination as the fingerprint of this frame gray level image; Perhaps
Average gray value to each piecemeal in the frame gray level image compares in twos, will be by 0 or 1 comparative result of representing according to sequential combination relatively, with the fingerprint of the string symbol after the combination as this frame gray level image; Perhaps
According to acquired average gray value, obtain the overall gradient direction value of each piecemeal, according to the overall gradient direction value sequential combination of the order of piecemeal in gray level image, with the fingerprint of the string symbol after the combination as this frame gray level image with each piecemeal correspondence.
3. method as claimed in claim 2 is characterized in that, the step that the average gray value of each piecemeal in the frame gray level image is compared in twos comprises:
If gray[i]<gray[j], then the result is 1, otherwise is 0; Perhaps, if gray[i]<gray[j], then the result is 0, otherwise is 1; Gray[] the expression array, i represents i piecemeal, j represents j piecemeal, i=0 ..., P, j=0 ..., P, P are the sum that participates in the piecemeal of synthetic fingerprint in the frame gray level image.
4. the method for claim 1 is characterized in that, a frame gray level image is carried out also comprising step before the piecemeal: a frame gray level image is gone the black surround operation.
5. method as claimed in claim 4 is characterized in that, goes the step of black surround operation to comprise to a frame gray level image:
Determine the black surround zone in the frame gray level image;
Whether the size of judging the zone except that black surround in the frame gray level image is not less than default dimension threshold, if then remove described black surround zone.
6. method as claimed in claim 5 is characterized in that, removes before the described black surround zone, also comprises step: whether the gray average of judging the zone except that black surround in the frame gray level image is greater than default gray threshold;
The step of removing described black surround zone comprises: the gray average in the zone in a frame gray level image except that black surround is removed described black surround zone during greater than default gray threshold.
7. video similarity method relatively is characterized in that, may further comprise the steps:
Obtain each m frame fingerprint of two video files respectively, every frame fingerprint is: a frame gray level image is carried out piecemeal; Obtain the average gray value of each piecemeal in the frame gray level image; Obtain the fingerprint of this frame gray level image according to the correlation of the average gray value of each piecemeal;
According to the m frame fingerprint of two video files, obtain the similarity value of two video files about this m frame;
Whether judge the similarity value that obtains greater than default similarity threshold, if greater than, then determine two video files about this m frame dissmilarity, otherwise determine that two video files are similar about this m frame.
8. method as claimed in claim 7, it is characterized in that, according to the m frame fingerprint of two video files, obtain two video files and comprise: calculate the Manhattan Manhattan distance value between the m frame fingerprint of two video files about the step of the similarity value of this m frame.
9. method as claimed in claim 7 is characterized in that, the m frame of the m frame in each video file after for the continuous multiple frames of removing acute variation.
10. method as claimed in claim 9 is characterized in that, the step of removing the continuous multiple frames of acute variation comprises:
Obtain the Hamming distance between every adjacent two frames in the video file;
Determine whether to have in the continuous multiple frames above the Hamming distance between the frame of preset ratio quantity greater than default distance threshold, if determine that then this continuous multiple frames is the continuous multiple frames of acute variation and removes.
11. method as claimed in claim 7 is characterized in that, a video file in described two video files is the basic video file in the basic fingerprint base, and another video file is a video file to be checked;
Described method also comprises step:
Many groups m frame fingerprint of video file to be checked is carried out similarity relatively with many groups m frame fingerprint of basic video file respectively;
Determine content relation of inclusion between video file to be checked and the basic video file according to comparative result;
Upgrade basic fingerprint base according to the content relation of inclusion that obtains.
12. method as claimed in claim 11, it is characterized in that, many groups m frame of video file to be checked is the part of section isometric in the video file to be checked, and should many group m frames with the length of section with the length of the shortest media fragment that is no more than that the m of group frames are constituted more in the basic video file.
13. method as claimed in claim 11 is characterized in that, the content relation of inclusion comprises: fully zero lap, not exclusively overlapping, basic video file is contained in video file to be checked and basic video file comprises video file to be checked.
14. method as claimed in claim 13 is characterized in that, determines that according to comparative result the step of the content relation of inclusion between video file to be checked and the basic video file comprises:
If the many groups m frame fingerprint in the video file to be checked all in basic video file to the identical m frame fingerprint of comparative result should be arranged, determine that then basic video file comprises video file to be checked;
If the many groups m frame fingerprint in the basic video file all in video file to be checked to the identical m frame fingerprint of comparative result should be arranged, determine that then basic video file is contained in video file to be checked;
If the partial frame fingerprint comparison results is identical in many groups m frame fingerprint of video file to be checked, then determine between video file to be checked and the basic video file not exclusively overlapping;
If the many groups m frame fingerprint in the video file to be checked all not in basic video file to the identical m frame fingerprint of comparative result should be arranged, then determine complete zero lap between video file to be checked and the basic video file.
15. method as claimed in claim 13 is characterized in that, the step of upgrading basic fingerprint base according to the content relation of inclusion that obtains comprises:
When the content relation of inclusion is complete zero lap, video file to be checked is included into basic fingerprint base;
The content relation of inclusion is incomplete when overlapping, and video file to be checked is included into basic fingerprint base;
The content relation of inclusion is a basic video file when being contained in video file to be checked, replaces basic video file with video file to be checked in basic fingerprint base.
16. method as claimed in claim 11, it is characterized in that, in the time of need upgrading basic fingerprint base according to a plurality of video files to be checked, determine each video file to be checked memory location in basic fingerprint base, according to this memory location video file to be checked is sorted, video file to be checked is updated to basic fingerprint base according to the order after the ordering.
17. a device that is used to extract video finger print is characterized in that, comprising:
The piecemeal module is used for a frame gray level image of video file is carried out piecemeal;
Computing module is used for obtaining the average gray value of each piecemeal of frame gray level image;
Fingerprint module is used for obtaining according to the correlation of the average gray value of each piecemeal the fingerprint of this frame gray level image, and the fingerprint of multiframe gray level image is merged, and the fingerprint after will merging is as the fingerprint of video file.
18. device as claimed in claim 17, it is characterized in that, fingerprint module sorts to the average gray value of each piecemeal in the frame gray level image, and obtain each piecemeal corresponding sequence number, according to the order of piecemeal in gray level image with each piecemeal corresponding sequence number sequential combination, with the string symbol after the combination as the fingerprint of this frame gray level image; Perhaps, the average gray value of each piecemeal in the frame gray level image is compared in twos, will be by the comparative result of 0 or 1 expression according to sequential combination relatively, with the fingerprint of the string symbol after the combination as this frame gray level image; Perhaps, according to acquired average gray value, obtain the overall gradient direction value of each piecemeal, according to the overall gradient direction value sequential combination of the order of piecemeal in gray level image, with the fingerprint of the string symbol after the combination as this frame gray level image with each piecemeal correspondence.
19. device as claimed in claim 18 is characterized in that fingerprint module is with gray[i] and gray[j] relatively, if gray[i]<gray[j], then the result is 1, otherwise is 0; Perhaps, if gray[i]<gray[j], then the result is 0, otherwise is 1; Gray[] the expression array, i represents i piecemeal, j represents j piecemeal, i=0 ..., P, j=0 ..., P, P are the sum that participates in the piecemeal of synthetic fingerprint in the frame gray level image.
20. device as claimed in claim 17 is characterized in that, also comprises: filtering module is used for a frame gray level image is gone the black surround operation.
21. device as claimed in claim 20, it is characterized in that filtering module is determined the black surround zone in the frame gray level image, judge whether the size in the zone except that black surround in the frame gray level image is not less than default dimension threshold, if then remove described black surround zone.
22. device as claimed in claim 21 is characterized in that, also comprises: detection module is used for judging that whether the gray average in the zone of frame gray level image except that black surround is greater than default gray threshold;
The gray average in filtering module zone except that black surround in a frame gray level image is removed described black surround zone during greater than default gray threshold.
23. one kind is used for video similarity device relatively, it is characterized in that, comprising:
Acquisition module is used for obtaining respectively each m frame fingerprints of two video files, and every frame fingerprint is: a frame gray level image is carried out piecemeal; Obtain the average gray value of each piecemeal in the frame gray level image; Obtain the fingerprint of this frame gray level image according to the correlation of the average gray value of each piecemeal;
Similarity calculation module is used for the m frame fingerprint according to two video files, obtains the similarity value of two video files about this m frame;
Whether comparison module, the similarity value that is used to judge acquisition greater than default similarity threshold, if greater than, then determine two video files about this m frame dissmilarity, otherwise determine that two video files are similar about this m frame.
24. device as claimed in claim 23 is characterized in that, the Manhattan Manhattan distance value between the m frame fingerprint of two video files of similarity calculation module calculating.
25. device as claimed in claim 23 is characterized in that, the m frame of the m frame in each video file after for the continuous multiple frames of removing acute variation.
26. device as claimed in claim 25 is characterized in that, also comprises: filtering module is used for obtaining the video file Hamming distance between adjacent two frames whenever; Determine whether to have in the continuous multiple frames above the Hamming distance between the frame of preset ratio quantity greater than default distance threshold, if determine that then this continuous multiple frames is the continuous multiple frames of acute variation and removes.
27. device as claimed in claim 23 is characterized in that, a video file in described two video files is the basic video file in the basic fingerprint base, and another video file is a video file to be checked;
Comparison module also is used for many groups m frame fingerprint of video file to be checked is carried out similarity relatively with many groups m frame fingerprint of basic video file respectively;
Described device also comprises: relationship module is used for determining content relation of inclusion between video file to be checked and the basic video file according to comparative result;
Described device also comprises: update module is used for upgrading basic fingerprint base according to the content relation of inclusion that obtains.
28. device as claimed in claim 27, it is characterized in that, many groups m frame of video file to be checked is the part of section isometric in the video file to be checked, and should many group m frames with the length of section with the length of the shortest media fragment that is no more than that the m of group frames are constituted more in the basic video file.
29. device as claimed in claim 27 is characterized in that, the content relation of inclusion comprises: fully zero lap, not exclusively overlapping, basic video file is contained in video file to be checked and basic video file comprises video file to be checked.
30. device as claimed in claim 29, it is characterized in that, relationship module if the many groups m frame fingerprint in the video file to be checked all in basic video file to the identical m frame fingerprint of comparative result should be arranged, determine that then basic video file comprises video file to be checked; If the many groups m frame fingerprint in the basic video file all in video file to be checked to the identical m frame fingerprint of comparative result should be arranged, determine that then basic video file is contained in video file to be checked; If the partial frame fingerprint comparison results is identical in many groups m frame fingerprint of video file to be checked, then determine between video file to be checked and the basic video file not exclusively overlapping; If the many groups m frame fingerprint in the video file to be checked all not in basic video file to the identical m frame fingerprint of comparative result should be arranged, then determine complete zero lap between video file to be checked and the basic video file.
31. device as claimed in claim 29 is characterized in that, when the content relation of inclusion was complete zero lap, update module was included into basic fingerprint base with video file to be checked;
The content relation of inclusion is incomplete when overlapping, and update module is included into basic fingerprint base with video file to be checked;
The content relation of inclusion is a basic video file when being contained in video file to be checked, and update module is replaced basic video file with video file to be checked in basic fingerprint base.
32. device as claimed in claim 27, it is characterized in that, when update module need be upgraded basic fingerprint base according to a plurality of video files to be checked, determine each video file to be checked memory location in basic fingerprint base, according to this memory location video file to be checked is sorted, video file to be checked is updated to basic fingerprint base according to the order after the ordering.
CN201110105116.8A 2011-04-26 2011-04-26 Method and device for extracting video fingerprint Active CN102156751B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载