CN106021321B - The search method of online real-time video based on picture - Google Patents

The search method of online real-time video based on picture Download PDF

Info

Publication number
CN106021321B
CN106021321B CN201610294978.2A CN201610294978A CN106021321B CN 106021321 B CN106021321 B CN 106021321B CN 201610294978 A CN201610294978 A CN 201610294978A CN 106021321 B CN106021321 B CN 106021321B
Authority
CN
China
Prior art keywords
elements
compression
gained
binary
picture
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.)
Active
Application number
CN201610294978.2A
Other languages
Chinese (zh)
Other versions
CN106021321A (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.)
Chengdu Sobey Digital Technology Co Ltd
Original Assignee
Chengdu Sobey Digital Technology 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 Chengdu Sobey Digital Technology Co Ltd filed Critical Chengdu Sobey Digital Technology Co Ltd
Priority to CN201610294978.2A priority Critical patent/CN106021321B/en
Publication of CN106021321A publication Critical patent/CN106021321A/en
Application granted granted Critical
Publication of CN106021321B publication Critical patent/CN106021321B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/78Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/783Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
    • G06F16/7844Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content using original textual content or text extracted from visual content or transcript of audio data

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Library & Information Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Image Analysis (AREA)

Abstract

The online real-time video search method based on picture that the invention discloses a kind of, to be suitable for the retrieval of online real-time video.It the steps include: that (1) server end extracts video stream characteristics data procedures, specially server end includes multiple video flowings in real time, nearest 5~1000 seconds videos in each video flowing are taken, characteristic of the video frequency feature data of each video as corresponding video flowing is extracted;(2) circulation executes step (1) and enters step (3) after the retrieval request that received server-side to client is initiated;The client initiates retrieval request process, and specially client obtains one or more picture, extracts the characteristic of one or more picture, and the characteristic of the picture is uploaded onto the server end;(3) retrieving specially takes the characteristic of picture obtained by step (2) and the characteristic of each video flowing obtained by step (1) to match;Subsequently back into step (1).

Description

The search method of online real-time video based on picture
Technical field
The search method of the present invention relates to a kind of online real-time video based on picture.
Background technique
Nearest more than ten years, computer vision technique rapid development, as David G. Lowe 2004 in Internation " the Distinctive Image Features from delivered on al Journal of Computer Vision Scale-Invariant Keypoints. ", so that the search of image content-based becomes practical, so that being based on video The video search of content become possible.Along with last decade, the computing capability of computer hardware equipment is improved and hard The decline of part cost and the appearance of various cloud computing platforms, if the cost of the E2C of Amazon, calculating are also greatly reduced, this makes Obtain the search based on video content also becomes practical gradually.The technical solution of mainstream uses for reference the side from image retrieval mostly at present Method, and relevant standard is had already appeared, for details, reference can be made to ISO/IEC DIS 15938-13.But current mainstream scheme is equal Consideration is offline video retrieval, and such scheme is first indexed all videos in video library, this index generally comprises Two parts: video frequency feature data and index feature data are extracted.Wherein content based video retrieval system, video frequency feature data Usually not only include local description, further includes global description's made of set local description, the calculation amount of both this is all It is not small;Meanwhile the characteristic index in the scheme of mainstream generally establishes MBIT according to global description's after binarization (Multi-block Index Table) can refer to the test model Test Model 13 of ISO/IEC JTC1/SC29: Compact Descriptors for Visual Search, but the foundation indexed can devote a tremendous amount of time.For offline The search of video, delay can be tolerated, but online real-time video is retrieved, to guarantee real-time, in order to cope with Big calculation amount, it will so that the cost of hardware investment is high;However since the application of Online Video retrieval is limited, Such as traffic camera search, station synchronization interaction etc., the quantity of live video stream is not especially big in these occasions, is built Lithol, which draws, can't bring too big performance boost.Therefore, video retrieval technology general at present is not particularly suited for online real-time The retrieval of video.
Summary of the invention
The inspection of it is an object of the invention to overcome the deficiencies of the prior art and provide a kind of online real-time video based on picture Suo Fangfa, this method omit Index process, without using global description's, real-time are effectively ensured, this method calculating is simple, is easy to It realizes.
The purpose of the present invention is achieved through the following technical solutions: the retrieval side of the online real-time video based on picture Method, it includes the following steps:
S1: multiple video flowings are included in server end extraction in real time, take nearest 5~1000 seconds views in each video flowing Frequently, characteristic of the video frequency feature data of each video as corresponding video flowing is extracted;
S2: circulation executes step S1, until receiving client retrieval request;
S3: client obtains one or more picture, calculates the binary features of picture, obtains according to picture successive Sequence, which uploads onto the server the binary features of picture, holds request retrieval;
S4: the binary features of client picture are matched with the binary features data of each video flowing, With value the maximum, if more than threshold value, then corresponding to video flowing is the video flowing to be retrieved, otherwise retrieval failure;
S5: output search result.
The extraction video frequency feature data includes following sub-step:
S11: a frame or the multiframe in video are taken;
S12: extracting the SIFT characteristic point of each frame in S11, multiple in selection gained SIFT feature, selected by calculating The Even-dimensional SIFT of the SIFT feature taken describes son;
S13: all Even-dimensional SIFT obtained by S12, which are described sub- boil down to, has the binary system of 16~512 binary digits special Sign.
The binary features of the calculating picture include following sub-step:
S31: extracting SIFT feature from picture, chooses multiple in gained SIFT feature, the selected SIFT spy of calculating The SIFT of sign point describes son;
S32: the binary features that sub- boil down to there are 16~512 binary digits are described into all SIFT obtained by S31.
It carries out also wanting record matching value while binary features Data Matching in the S4.
Described describes the binary features that sub- boil down to has 16~512 binary digits for Even-dimensional SIFT, specific side Method are as follows: the SIFT of N-dimensional, which describes son, can regard N number of number as, to N number of any combination of two of number, obtain N/2 several right, this N/2 Number is to arbitrary arrangement, and every number after arrangement is to corresponding bit, and wherein N is even number, and will be obtained by compressing by one There are the binary features of N/2 binary digit, each number is to a binary features are obtained, specially by each number pair First number and second number are compared, and first number is greater than second number, then compression obtain corresponding to the two of binary digit into Feature processed is 1;Less than second number of first number, then it is 0 that compression, which obtains the binary features of corresponding binary digit,.
The beneficial effects of the present invention are: the search method of the present invention provides a kind of online real-time video based on picture, Since without Index process, also without using global description's, real-time is guaranteed.New present invention further introduces one kind The method that son carries out binaryzation compression is described to SIFT, this method calculating is simple, is easily achieved, and the binary system after compressing Feature matches the Hamming distance also used and also achieves low calculation amount bring high efficiency while guaranteeing performance.
Detailed description of the invention
Fig. 1 is online real-time video searching method flow chart of the present invention;
Fig. 2 is embodiment system schematic;
Fig. 3 is that schematic diagram is numbered in 128 elements of 128 dimension SIFT description.
Specific embodiment
Technical solution of the present invention is described in further detail with reference to the accompanying drawing, but protection scope of the present invention is not limited to It is as described below.
Fig. 1 is online real-time video searching method flow chart of the present invention, and this example implements this method, with one or more Platform computer is server end, and using smart phone as client, server end and client are using same SIFT description son pressure Contracting method.Fig. 2 is the present embodiment system schematic.
Server end includes 10 video flowings in real time, extracts the characteristic of each video flowing, can implement as follows:
To each video flowing of input, handle in accordance with the following methods:
A. 20 seconds videos for taking video flowing nearest;
B. in above-mentioned resulting 20 seconds videos, every 0.5 second one frame of pumping;
C. each frame of releasing is handled as follows:
C-1. all SIFT features that the frame is extracted from frame, are ranked up according to response intensity, and it is strong to choose response Strongest 2000 SIFT features (then all choosing less than 2000) is spent, SIFT description of their 128 dimensions is calculated.
C-2. Fig. 3 is that 128 elements of each 128 dimension SIFT description are numbered respectively, uses following rule Each 128 dimension SIFT is described into one binary features for there are 64 binary digits of sub- boil down to and preservation;It is tieed up below to 128 The reference of element, the number referring to the signal in Fig. 3 in SIFT description:
If No. 0 element is greater than No. 80 elements, otherwise it is 0 that compression the 1st binary digit of gained, which is 1,;
If No. 1 element is greater than No. 81 elements, otherwise it is 0 that compression the 2nd binary digit of gained, which is 1,;
If No. 2 elements are greater than No. 82 elements, otherwise it is 0 that compression the 3rd binary digit of gained, which is 1,;
If No. 3 elements are greater than No. 83 elements, otherwise it is 0 that compression the 4th binary digit of gained, which is 1,;
If No. 4 elements are greater than No. 84 elements, otherwise it is 0 that compression the 5th binary digit of gained, which is 1,;
If No. 5 elements are greater than No. 85 elements, otherwise it is 0 that compression the 6th binary digit of gained, which is 1,;
If No. 6 elements are greater than No. 86 elements, otherwise it is 0 that compression the 7th binary digit of gained, which is 1,;
If No. 7 elements are greater than No. 87 elements, otherwise it is 0 that compression the 8th binary digit of gained, which is 1,;
If No. 40 elements are greater than No. 120 elements, otherwise it is 0 that compression the 9th binary digit of gained, which is 1,;
If No. 41 elements are greater than No. 121 elements, otherwise it is 0 that compression the 10th binary digit of gained, which is 1,;
If No. 42 elements are greater than No. 122 elements, otherwise it is 0 that compression the 11st binary digit of gained, which is 1,;
If No. 43 elements are greater than No. 123 elements, otherwise it is 0 that compression the 12nd binary digit of gained, which is 1,;
If No. 44 elements are greater than No. 124 elements, otherwise it is 0 that compression the 13rd binary digit of gained, which is 1,;
If No. 45 elements are greater than No. 125 elements, otherwise it is 0 that compression the 14th binary digit of gained, which is 1,;
If No. 46 elements are greater than No. 126 elements, otherwise it is 0 that compression the 15th binary digit of gained, which is 1,;
If No. 47 elements are greater than No. 127 elements, otherwise it is 0 that compression the 16th binary digit of gained, which is 1,;
If No. 24 elements are greater than No. 72 elements, otherwise it is 0 that compression the 17th binary digit of gained, which is 1,;
If No. 25 elements are greater than No. 73 elements, otherwise it is 0 that compression the 18th binary digit of gained, which is 1,;
If No. 26 elements are greater than No. 74 elements, otherwise it is 0 that compression the 19th binary digit of gained, which is 1,;
If No. 27 elements are greater than No. 75 elements, otherwise it is 0 that compression the 20th binary digit of gained, which is 1,;
If No. 28 elements are greater than No. 76 elements, otherwise it is 0 that compression the 21st binary digit of gained, which is 1,;
If No. 29 elements are greater than No. 77 elements, otherwise it is 0 that compression the 22nd binary digit of gained, which is 1,;
If No. 30 elements are greater than No. 78 elements, otherwise it is 0 that compression the 23rd binary digit of gained, which is 1,;
If No. 31 elements are greater than No. 79 elements, otherwise it is 0 that compression the 24th binary digit of gained, which is 1,;
If No. 48 elements are greater than No. 96 elements, otherwise it is 0 that compression the 25th binary digit of gained, which is 1,;
If No. 49 elements are greater than No. 97 elements, otherwise it is 0 that compression the 26th binary digit of gained, which is 1,;
If No. 50 elements are greater than No. 98 elements, otherwise it is 0 that compression the 27th binary digit of gained, which is 1,;
If No. 51 elements are greater than No. 99 elements, otherwise it is 0 that compression the 28th binary digit of gained, which is 1,;
If No. 52 elements are greater than No. 100 elements, otherwise it is 0 that compression the 29th binary digit of gained, which is 1,;
If No. 53 elements are greater than No. 101 elements, otherwise it is 0 that compression the 30th binary digit of gained, which is 1,;
If No. 54 elements are greater than No. 102 elements, otherwise it is 0 that compression the 31st binary digit of gained, which is 1,;
If No. 55 elements are greater than No. 103 elements, otherwise it is 0 that compression the 32nd binary digit of gained, which is 1,;
If No. 8 elements are greater than ununbium, otherwise it is 0 that compression the 33rd binary digit of gained, which is 1,;
If No. 9 elements are greater than ununtrium, otherwise it is 0 that compression the 34th binary digit of gained, which is 1,;
If No. 10 elements are greater than ununquadium, otherwise it is 0 that compression the 35th binary digit of gained, which is 1,;
If No. 11 elements are greater than ununpentium, otherwise it is 0 that compression the 36th binary digit of gained, which is 1,;
If No. 12 elements are greater than ununhexium, otherwise it is 0 that compression the 37th binary digit of gained, which is 1,;
If No. 13 elements are greater than ununseptium, otherwise it is 0 that compression the 38th binary digit of gained, which is 1,;
If No. 14 elements are greater than ununoctium, otherwise it is 0 that compression the 39th binary digit of gained, which is 1,;
If No. 15 elements are greater than ununennium, otherwise it is 0 that compression the 40th binary digit of gained, which is 1,;
If No. 16 elements are greater than No. 104 elements, otherwise it is 0 that compression the 41st binary digit of gained, which is 1,;
If No. 17 elements are greater than No. 105 elements, otherwise it is 0 that compression the 42nd binary digit of gained, which is 1,;
If No. 18 elements are greater than No. 106 elements, otherwise it is 0 that compression the 43rd binary digit of gained, which is 1,;
If No. 19 elements are greater than No. 107 elements, otherwise it is 0 that compression the 44th binary digit of gained, which is 1,;
If No. 20 elements are greater than No. 108 elements, otherwise it is 0 that compression the 45th binary digit of gained, which is 1,;
If No. 21 elements are greater than No. 109 elements, otherwise it is 0 that compression the 46th binary digit of gained, which is 1,;
If No. 22 elements are greater than ununnilium, otherwise it is 0 that compression the 47th binary digit of gained, which is 1,;
If No. 23 elements are greater than unununium, otherwise it is 0 that compression the 48th binary digit of gained, which is 1,;
If No. 32 elements are greater than No. 88 elements, otherwise it is 0 that compression the 49th binary digit of gained, which is 1,;
If No. 33 elements are greater than No. 89 elements, otherwise it is 0 that compression the 50th binary digit of gained, which is 1,;
If No. 34 elements are greater than No. 90 elements, otherwise it is 0 that compression the 51st binary digit of gained, which is 1,;
If No. 35 elements are greater than No. 91 elements, otherwise it is 0 that compression the 52nd binary digit of gained, which is 1,;
If No. 36 elements are greater than No. 92 elements, otherwise it is 0 that compression the 53rd binary digit of gained, which is 1,;
If No. 37 elements are greater than No. 93 elements, otherwise it is 0 that compression the 54th binary digit of gained, which is 1,;
If No. 38 elements are greater than No. 94 elements, otherwise it is 0 that compression the 55th binary digit of gained, which is 1,;
If No. 39 elements are greater than No. 95 elements, otherwise it is 0 that compression the 56th binary digit of gained, which is 1,;
If No. 64 elements are greater than No. 56 elements, otherwise it is 0 that compression the 57th binary digit of gained, which is 1,;
If No. 65 elements are greater than No. 57 elements, otherwise it is 0 that compression the 58th binary digit of gained, which is 1,;
If No. 66 elements are greater than No. 58 elements, otherwise it is 0 that compression the 59th binary digit of gained, which is 1,;
If No. 67 elements are greater than No. 59 elements, otherwise it is 0 that compression the 60th binary digit of gained, which is 1,;
If No. 68 elements are greater than No. 60 elements, otherwise it is 0 that compression the 61st binary digit of gained, which is 1,;
If No. 69 elements are greater than No. 61 elements, otherwise it is 0 that compression the 62nd binary digit of gained, which is 1,;
If No. 70 elements are greater than No. 62 elements, otherwise it is 0 that compression the 63rd binary digit of gained, which is 1,;
If No. 71 elements are greater than No. 63 elements, otherwise it is 0 that compression the 64th binary digit of gained, which is 1,;
D. the continuous A, B recycled above, step C, the retrieval request sent until receiving client.Receive retrieval request Afterwards, it is retrieved using such as under type:
D-1: all binary features for taking the client received to send, two obtained respectively with each frame of each stream System feature is matched, and when matching uses Hamming distance, if Hamming distance is less than 4, then it is assumed that two binary features matchings; The points that the binary features that each frame of all binary features and each stream that statistics client is sent obtains match.
D-2: the corresponding stream of that frame for taking matching points most is most matched stream;Most its match point of frame if matching is counted Number has been greater than 20, then retrieves success, and most matched stream is the stream to be retrieved, returns to search result and the successful message of retrieval to visitor Family end;Otherwise retrieval failure returns to retrieval failure news to client.
D-3: step A. is returned to
Cell phone client can be realized as follows:
Cell phone client persistently shoots picture, and handles each picture, which will carry out always, until clothes Business device, which returns, retrieves successful message, wherein being handled each picture, detailed process is as follows:
A. all SIFT features that the picture is extracted from each picture, are ranked up according to response intensity, choosing Strongest 2000 SIFT features of response intensity (then all choosing less than 2000) is taken, their 128 dimensions are calculated SIFT description.
B. Fig. 3 is that 128 elements of each 128 dimension SIFT description are numbered respectively, will using following rule Each 128 dimension SIFT describes one binary features for having 64 binary digits of sub- boil down to and preservation;It is tieed up below to 128 The reference of element, the number referring to the signal in Fig. 3 in SIFT description:
If No. 0 element is greater than No. 80 elements, otherwise it is 0 that compression the 1st binary digit of gained, which is 1,;
If No. 1 element is greater than No. 81 elements, otherwise it is 0 that compression the 2nd binary digit of gained, which is 1,;
If No. 2 elements are greater than No. 82 elements, otherwise it is 0 that compression the 3rd binary digit of gained, which is 1,;
If No. 3 elements are greater than No. 83 elements, otherwise it is 0 that compression the 4th binary digit of gained, which is 1,;
If No. 4 elements are greater than No. 84 elements, otherwise it is 0 that compression the 5th binary digit of gained, which is 1,;
If No. 5 elements are greater than No. 85 elements, otherwise it is 0 that compression the 6th binary digit of gained, which is 1,;
If No. 6 elements are greater than No. 86 elements, otherwise it is 0 that compression the 7th binary digit of gained, which is 1,;
If No. 7 elements are greater than No. 87 elements, otherwise it is 0 that compression the 8th binary digit of gained, which is 1,;
If No. 40 elements are greater than No. 120 elements, otherwise it is 0 that compression the 9th binary digit of gained, which is 1,;
If No. 41 elements are greater than No. 121 elements, otherwise it is 0 that compression the 10th binary digit of gained, which is 1,;
If No. 42 elements are greater than No. 122 elements, otherwise it is 0 that compression the 11st binary digit of gained, which is 1,;
If No. 43 elements are greater than No. 123 elements, otherwise it is 0 that compression the 12nd binary digit of gained, which is 1,;
If No. 44 elements are greater than No. 124 elements, otherwise it is 0 that compression the 13rd binary digit of gained, which is 1,;
If No. 45 elements are greater than No. 125 elements, otherwise it is 0 that compression the 14th binary digit of gained, which is 1,;
If No. 46 elements are greater than No. 126 elements, otherwise it is 0 that compression the 15th binary digit of gained, which is 1,;
If No. 47 elements are greater than No. 127 elements, otherwise it is 0 that compression the 16th binary digit of gained, which is 1,;
If No. 24 elements are greater than No. 72 elements, otherwise it is 0 that compression the 17th binary digit of gained, which is 1,;
If No. 25 elements are greater than No. 73 elements, otherwise it is 0 that compression the 18th binary digit of gained, which is 1,;
If No. 26 elements are greater than No. 74 elements, otherwise it is 0 that compression the 19th binary digit of gained, which is 1,;
If No. 27 elements are greater than No. 75 elements, otherwise it is 0 that compression the 20th binary digit of gained, which is 1,;
If No. 28 elements are greater than No. 76 elements, otherwise it is 0 that compression the 21st binary digit of gained, which is 1,;
If No. 29 elements are greater than No. 77 elements, otherwise it is 0 that compression the 22nd binary digit of gained, which is 1,;
If No. 30 elements are greater than No. 78 elements, otherwise it is 0 that compression the 23rd binary digit of gained, which is 1,;
If No. 31 elements are greater than No. 79 elements, otherwise it is 0 that compression the 24th binary digit of gained, which is 1,;
If No. 48 elements are greater than No. 96 elements, otherwise it is 0 that compression the 25th binary digit of gained, which is 1,;
If No. 49 elements are greater than No. 97 elements, otherwise it is 0 that compression the 26th binary digit of gained, which is 1,;
If No. 50 elements are greater than No. 98 elements, otherwise it is 0 that compression the 27th binary digit of gained, which is 1,;
If No. 51 elements are greater than No. 99 elements, otherwise it is 0 that compression the 28th binary digit of gained, which is 1,;
If No. 52 elements are greater than No. 100 elements, otherwise it is 0 that compression the 29th binary digit of gained, which is 1,;
If No. 53 elements are greater than No. 101 elements, otherwise it is 0 that compression the 30th binary digit of gained, which is 1,;
If No. 54 elements are greater than No. 102 elements, otherwise it is 0 that compression the 31st binary digit of gained, which is 1,;
If No. 55 elements are greater than No. 103 elements, otherwise it is 0 that compression the 32nd binary digit of gained, which is 1,;
If No. 8 elements are greater than ununbium, otherwise it is 0 that compression the 33rd binary digit of gained, which is 1,;
If No. 9 elements are greater than ununtrium, otherwise it is 0 that compression the 34th binary digit of gained, which is 1,;
If No. 10 elements are greater than ununquadium, otherwise it is 0 that compression the 35th binary digit of gained, which is 1,;
If No. 11 elements are greater than ununpentium, otherwise it is 0 that compression the 36th binary digit of gained, which is 1,;
If No. 12 elements are greater than ununhexium, otherwise it is 0 that compression the 37th binary digit of gained, which is 1,;
If No. 13 elements are greater than ununseptium, otherwise it is 0 that compression the 38th binary digit of gained, which is 1,;
If No. 14 elements are greater than ununoctium, otherwise it is 0 that compression the 39th binary digit of gained, which is 1,;
If No. 15 elements are greater than ununennium, otherwise it is 0 that compression the 40th binary digit of gained, which is 1,;
If No. 16 elements are greater than No. 104 elements, otherwise it is 0 that compression the 41st binary digit of gained, which is 1,;
If No. 17 elements are greater than No. 105 elements, otherwise it is 0 that compression the 42nd binary digit of gained, which is 1,;
If No. 18 elements are greater than No. 106 elements, otherwise it is 0 that compression the 43rd binary digit of gained, which is 1,;
If No. 19 elements are greater than No. 107 elements, otherwise it is 0 that compression the 44th binary digit of gained, which is 1,;
If No. 20 elements are greater than No. 108 elements, otherwise it is 0 that compression the 45th binary digit of gained, which is 1,;
If No. 21 elements are greater than No. 109 elements, otherwise it is 0 that compression the 46th binary digit of gained, which is 1,;
If No. 22 elements are greater than ununnilium, otherwise it is 0 that compression the 47th binary digit of gained, which is 1,;
If No. 23 elements are greater than unununium, otherwise it is 0 that compression the 48th binary digit of gained, which is 1,;
If No. 32 elements are greater than No. 88 elements, otherwise it is 0 that compression the 49th binary digit of gained, which is 1,;
If No. 33 elements are greater than No. 89 elements, otherwise it is 0 that compression the 50th binary digit of gained, which is 1,;
If No. 34 elements are greater than No. 90 elements, otherwise it is 0 that compression the 51st binary digit of gained, which is 1,;
If No. 35 elements are greater than No. 91 elements, otherwise it is 0 that compression the 52nd binary digit of gained, which is 1,;
If No. 36 elements are greater than No. 92 elements, otherwise it is 0 that compression the 53rd binary digit of gained, which is 1,;
If No. 37 elements are greater than No. 93 elements, otherwise it is 0 that compression the 54th binary digit of gained, which is 1,;
If No. 38 elements are greater than No. 94 elements, otherwise it is 0 that compression the 55th binary digit of gained, which is 1,;
If No. 39 elements are greater than No. 95 elements, otherwise it is 0 that compression the 56th binary digit of gained, which is 1,;
If No. 64 elements are greater than No. 56 elements, otherwise it is 0 that compression the 57th binary digit of gained, which is 1,;
If No. 65 elements are greater than No. 57 elements, otherwise it is 0 that compression the 58th binary digit of gained, which is 1,;
If No. 66 elements are greater than No. 58 elements, otherwise it is 0 that compression the 59th binary digit of gained, which is 1,;
If No. 67 elements are greater than No. 59 elements, otherwise it is 0 that compression the 60th binary digit of gained, which is 1,;
If No. 68 elements are greater than No. 60 elements, otherwise it is 0 that compression the 61st binary digit of gained, which is 1,;
If No. 69 elements are greater than No. 61 elements, otherwise it is 0 that compression the 62nd binary digit of gained, which is 1,;
If No. 70 elements are greater than No. 62 elements, otherwise it is 0 that compression the 63rd binary digit of gained, which is 1,;
If No. 71 elements are greater than No. 63 elements, otherwise it is 0 that compression the 64th binary digit of gained, which is 1,;
C. server end request inquiry is sent by the binary features that compression obtains.
By the description above it is found that relative to general video retrieval method, method of the invention is examined for Online Video This kind of special video frequency searching of rope is optimized.Since without Index process, also without using global description's, real-time is obtained Guarantee is arrived.Present invention further introduces a kind of new method for describing son progress binaryzation compression to SIFT, this method is calculated Simply, it is easily achieved, and the binary features after compressing, the Hamming distance also used is matched, while guaranteeing performance, Also achieve low calculation amount bring high efficiency.

Claims (2)

1. the search method of the online real-time video based on picture, it is characterised in that: it includes the following steps:
S1: server end includes multiple video flowings in real time, extracts nearest 5~1000 seconds videos in each video flowing, mentions Take the video frequency feature data of each video as the characteristic of corresponding video flowing;
S2: circulation executes step S1, until receiving client retrieval request;
S3: client obtains one or more picture, calculates the binary features of picture, the sequencing obtained according to picture The binary features of picture are uploaded onto the server and hold request retrieval;
S4: the binary features of client picture are matched with the binary features data of each video flowing, matching value The maximum, if more than threshold value, then corresponding to video flowing is the video flowing to be retrieved, otherwise retrieval failure;
S5: output search result;
Extraction video frequency feature data described in step S1 includes following sub-step:
S11: a frame or the multiframe in video are taken;
S12: extracting the SIFT characteristic point of each frame in S11, chooses multiple in gained SIFT feature, calculates selected The Even-dimensional SIFT of SIFT feature describes son;
S13: the binary features that sub- boil down to there are 16~512 binary digits are described into all Even-dimensional SIFT obtained by S12;
It includes following sub-step that the binary features of picture are calculated described in step S3:
S31: extracting SIFT feature from picture, chooses multiple in gained SIFT feature, the selected SIFT feature of calculating SIFT describe son;
S32: the binary features that sub- boil down to there are 16~512 binary digits are described into all SIFT obtained by S31;
Described describes the binary features that sub- boil down to has 16~512 binary digits for Even-dimensional SIFT, method particularly includes: The SIFT of N-dimensional, which describes son, can regard N number of number as, to N number of any combination of two of number, obtain N/2 several right, this N/2 numbers To arbitrary arrangement, every number after arrangement is to corresponding bit, and wherein N is even number, and compression will obtain one and have N/2 The binary features of a binary digit, each number is to a binary features are obtained, specially by the first of each number pair Number and second number are compared, and first number is greater than second number, then compression obtains the binary system spy of corresponding binary digit Sign is 1;Less than second number of first number, then it is 0 that compression, which obtains the binary features of corresponding binary digit,.
2. the search method of the online real-time video according to claim 1 based on picture, it is characterised in that: the S4 Record matching value is also wanted while middle progress binary features Data Matching.
CN201610294978.2A 2016-05-06 2016-05-06 The search method of online real-time video based on picture Active CN106021321B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610294978.2A CN106021321B (en) 2016-05-06 2016-05-06 The search method of online real-time video based on picture

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610294978.2A CN106021321B (en) 2016-05-06 2016-05-06 The search method of online real-time video based on picture

Publications (2)

Publication Number Publication Date
CN106021321A CN106021321A (en) 2016-10-12
CN106021321B true CN106021321B (en) 2019-05-21

Family

ID=57082107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610294978.2A Active CN106021321B (en) 2016-05-06 2016-05-06 The search method of online real-time video based on picture

Country Status (1)

Country Link
CN (1) CN106021321B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509458B (en) * 2017-02-28 2022-12-16 阿里巴巴集团控股有限公司 Business object identification method and device
CN111506772B (en) * 2019-01-31 2023-05-09 北京小犀智能科技中心(有限合伙) Image searching method and system based on image feature extraction

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6021231A (en) * 1993-10-20 2000-02-01 Hitachi, Ltd. Video retrieval method and apparatus
WO2007073053A1 (en) * 2005-12-20 2007-06-28 Nhn Corporation Method for searching situation of moving picture and system using the same
CN101339662A (en) * 2008-08-13 2009-01-07 北京六维世纪网络技术有限公司 Method and device for creating video frequency feature data
CN101394522A (en) * 2007-09-19 2009-03-25 中国科学院计算技术研究所 Detection method and system for video copy
CN102103609A (en) * 2009-12-21 2011-06-22 北京中星微电子有限公司 Information retrieval method and system
CN102117313A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Video retrieval method and system
CN102760169A (en) * 2012-06-13 2012-10-31 天脉聚源(北京)传媒科技有限公司 Method for detecting advertising slots in television direct transmission streams
CN103136292A (en) * 2011-12-05 2013-06-05 中国移动通信集团公司 Image retrieval method and image retrieval device based on image characteristics
CN103902569A (en) * 2012-12-27 2014-07-02 重庆凯泽科技有限公司 Video matching method based on Bag of Words

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6021231A (en) * 1993-10-20 2000-02-01 Hitachi, Ltd. Video retrieval method and apparatus
WO2007073053A1 (en) * 2005-12-20 2007-06-28 Nhn Corporation Method for searching situation of moving picture and system using the same
CN101394522A (en) * 2007-09-19 2009-03-25 中国科学院计算技术研究所 Detection method and system for video copy
CN101339662A (en) * 2008-08-13 2009-01-07 北京六维世纪网络技术有限公司 Method and device for creating video frequency feature data
CN102103609A (en) * 2009-12-21 2011-06-22 北京中星微电子有限公司 Information retrieval method and system
CN102117313A (en) * 2010-12-29 2011-07-06 天脉聚源(北京)传媒科技有限公司 Video retrieval method and system
CN103136292A (en) * 2011-12-05 2013-06-05 中国移动通信集团公司 Image retrieval method and image retrieval device based on image characteristics
CN102760169A (en) * 2012-06-13 2012-10-31 天脉聚源(北京)传媒科技有限公司 Method for detecting advertising slots in television direct transmission streams
CN103902569A (en) * 2012-12-27 2014-07-02 重庆凯泽科技有限公司 Video matching method based on Bag of Words

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于HBase的海量小视频存储与检索系统的研究与实现;刘晓静;《中国优秀硕士学位论文全文数据库 信息科技辑》;20141115(第11期);全文

Also Published As

Publication number Publication date
CN106021321A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
Hu et al. Learning supervised scoring ensemble for emotion recognition in the wild
Chary et al. Feature extraction methods for color image similarity
CN100493195C (en) Time-shifted television video matching method combining program content metadata and content analysis
EP2124159A1 (en) Image learning, automatic annotation, retrieval method, and device
CN101720006B (en) Positioning method suitable for representative frame extracted by video keyframe
CN111950321A (en) Gait recognition method and device, computer equipment and storage medium
CN106021321B (en) The search method of online real-time video based on picture
CN102890700A (en) Method for retrieving similar video clips based on sports competition videos
Le et al. NII-HITACHI-UIT at TRECVID 2016.
CN103631932A (en) Method for detecting repeated video
Sony et al. Video summarization by clustering using euclidean distance
CN107527010B (en) Method for extracting video gene according to local feature and motion vector
CN112150548B (en) Positioning method and device, terminal and storage medium
CN106649629B (en) System for associating books with electronic resources
CN106021320B (en) The search method of online real-time video based on video
CN103428537A (en) Video processing method and video processing device
CN111177436A (en) Face feature retrieval method, device and equipment
Yao et al. Object based video synopsis
CN110120090B (en) Three-dimensional panoramic model construction method and device and readable storage medium
CN103744903B (en) A kind of scene image search method based on sketch
CN108764258B (en) Optimal image set selection method for group image insertion
CN113743352A (en) Method and device for comparing similarity of video contents
CN113157962A (en) Image retrieval method, electronic device, and storage medium
CN112257638A (en) Image comparison method, system, equipment and computer readable storage medium
CN109213841B (en) Live broadcast theme sample extraction method, storage medium, electronic device and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant