CN105187795B - A kind of video tab localization method and device based on view library - Google Patents

A kind of video tab localization method and device based on view library Download PDF

Info

Publication number
CN105187795B
CN105187795B CN201510582212.XA CN201510582212A CN105187795B CN 105187795 B CN105187795 B CN 105187795B CN 201510582212 A CN201510582212 A CN 201510582212A CN 105187795 B CN105187795 B CN 105187795B
Authority
CN
China
Prior art keywords
video
file
timestamp
tab
search result
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
CN201510582212.XA
Other languages
Chinese (zh)
Other versions
CN105187795A (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.)
Bokang Yunxin Science & Technology Co Ltd
Original Assignee
Bokang Yunxin Science & 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 Bokang Yunxin Science & Technology Co Ltd filed Critical Bokang Yunxin Science & Technology Co Ltd
Priority to CN201510582212.XA priority Critical patent/CN105187795B/en
Publication of CN105187795A publication Critical patent/CN105187795A/en
Application granted granted Critical
Publication of CN105187795B publication Critical patent/CN105187795B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of video tab localization method and device based on view library, which includes:Video file is labeled with label;After mark, tab indexes file is generated;Tab indexes file is searched for, shows search result;Search result items are selected, video location is carried out according to the timestamp of search result items.The positioning device includes:Label for labelling unit, for being labeled to video file with label;Tab indexes file generating unit, for generating tab indexes file;Search unit shows search result for searching for tab indexes file;And video location unit carries out video location for selecting search result items according to the timestamp of search result items.The method that the video tab localization method and device based on view library of the present invention utilizes tag location improves the speed for searching feature video.

Description

A kind of video tab localization method and device based on view library
Technical field
The present invention relates to video technique field, more particularly to a kind of video tab localization method and dress based on view library It sets.
Background technology
With the continuous quickening of Informatization Construction of Public Security process, all parts of the country are all starting " safe city ", " wisdom city A series of large-scale safety-protection system construction such as city " and " science and technology strengthening police ", the rapid growth of video monitoring data amount, video monitoring data Scale will be increased with faster index rank, and 7 × 24 hours ground recorded videos of camera allow each city to produce largely Video monitoring file.This just brings many new problems to come out, when public security department or traffic department wish the fast search time Or certain features video-frequency band when, this seems simple idea, operates but like looking for a needle in a haystack.
Video is retrieved with traditional approach, is exactly to go to see each second with the eyes of oneself with staff to regard in fact Frequency image therefrom goes to find to need information, does so in face of a large amount of video time-consuming and laborious, even once found Information, it is also comparable take to find out again.
Invention content
The present invention for the above-mentioned prior art the problem of, propose a kind of video tab positioning side based on view library Method and device improve the speed for searching feature video using the method for tag location.
In order to solve the above technical problems, the present invention is achieved through the following technical solutions:
The present invention provides a kind of video tab localization method based on view library comprising following steps:
S11:Video file is labeled with label;
S12:After mark, tab indexes file is generated;
S13:Tab indexes file is searched for, shows search result;
S14:Search result items are selected, video location is carried out according to the timestamp of described search result items.
Preferably, the step S11 is specially:By in the video in video intelligent analysis software video file Hold, video content is labeled.
Preferably, the step S11 further comprises:
S111:By video intelligent analysis software in the video content in video file people and/or vehicle and/or movement Object is detected;
S112:Video content is labeled according to the identification content and/or the detection content.
Preferably, the step S12 is specially:It is crucial for index to be located at the time point in video file with marked content Mark is saved as tab indexes file by word.
Preferably, including for tab indexes file in the step S12:Video file address, the timestamp of video frame, pass Timestamp, the label of key frame.
Preferably, the step S12 further includes:It is a mark by the tab indexes Piece file mergence of multiple video files Sign index file, the convenient tag search based on entire view library.
Preferably, the step S13 is specially:The step S13 is specially:Search for tab indexes file, search result It is shown after being ranked up according to matching degree;Further, search tab indexes file is to search for label rope according to industry word Quotation part, industry word can be the sensitive vocabulary of specific industry, by sensitive vocabulary to improve the label for including these vocabulary Weight, so that search result is more in line with requirement.
Preferably, the step S14 further comprises:
S141:Described search result items are selected, using view library player, open video file;
S142:The position for navigating to the timestamp of the key frame is decoded but does not show, to be decoded to arrive the video The position of the timestamp of frame starts to show image.
Preferably, the step S142 is further:Judge the time of the timestamp and the video frame of the key frame Whether stamp is equal, if equal, navigate to the position of the timestamp of the key frame or the timestamp of the video frame, starts to show Diagram picture;If unequal, the position of the timestamp of the key frame is first navigated to, is decoded but does not show, it is to be decoded to arrive The position of the timestamp of the video frame starts to show image.
The present invention provides a kind of video tab positioning device based on view library comprising:
Label for labelling unit, for being labeled to video file with label;
Tab indexes file generating unit, for generating tab indexes file;
Search unit shows search result for searching for tab indexes file;And
It is fixed to carry out video for selecting search result items according to the timestamp of described search result items for video location unit Position.
Preferably, the label for labelling unit includes:People's detection unit, vehicle detection unit and moving Object Detection list Member.
Compared to the prior art, the present invention has the following advantages:
(1) video tab localization method and device provided by the invention based on view library, mark video file Marked content is added the data source of search engine, corresponding video can be quickly found out by labeled label by note, and The exact position that video can be navigated to by timestamp improves the speed for searching video, and the time is searched to save;
(2) search engine is used, can quickly be searched in super amount content.
(3) the tab indexes Piece file mergence of multiple video files can be also one by the present invention, convenient to be based on entire view Library carries out tag search, enhanced convenience, quick.
Certainly, it implements any of the products of the present invention and does not necessarily require achieving all the advantages described above at the same time.
Description of the drawings
Embodiments of the present invention are described further below in conjunction with the accompanying drawings:
Fig. 1 is the operation step map of the video tab localization method based on view library of the present invention;
Fig. 2 is the flow chart of the video tab localization method based on view library of the present invention;
Fig. 3 is the structural schematic diagram of the video tab positioning device based on view library of the present invention.
Label declaration:1- label for labelling units, 2- tab indexes file generating units, 3- search units, 4- video locations Unit.
Specific implementation mode
It elaborates below to the embodiment of the present invention, the present embodiment is carried out lower based on the technical solution of the present invention Implement, gives detailed embodiment and specific operating process, but protection scope of the present invention is not limited to following implementation Example.
In conjunction with Fig. 1-2, the video tab localization method based on view library of the present invention is described in detail comprising with Lower step:
S11:Video file is labeled with label;
S12:After mark, tab indexes file is generated;
S13:Tab indexes file is searched for, shows search result;
S14:Search result items are selected, video location is carried out according to the timestamp of search result items.
Wherein, step S11 is specially:Single video is carried out automatic by video intelligent analysis software video content Mark;A large amount of video can also be applicable in HADOOP big data analysis platforms and carry out distributed analysis, and automatic marking;It can be with It is manually marked by view library video player.Mark is based on the technologies such as people, vehicle and moving Object Detection, to some Special video content can also be described in detail video content by view library special-purpose software.In preferred embodiment, Intelligent video analysis software is developed based on OPENCV, and HADOOP and OPENCV are combined, and can quickly finish automatic mark Note.The detection for mainly including clothes color, movement locus, time of occurrence etc. to the detection of people, in the label to these sides Face is described, and the detection of car plate, movement locus, time of occurrence etc. is mainly included to the detection of vehicle, in the label to this A little aspects are described.
Step S12 is specially:After the completion of mark, the timestamp of character express content and corresponding video frame will be marked, also Timestamp and the video file address for having the key frame that decoding video frame relied on, save as tab indexes file.Label text Part format can merge, and the tab indexes of multiple video files can be merged into a tab indexes, convenient based on whole The tag search in a view library.
Step S13 is specially:Search uses full-text search technology, and rope is established to the tab indexes file in entire view library Draw, search result is ranked up according to attributes such as matching degree, time, affiliated files.
Step S14 is specially:After selecting search result items, view library player will automatically turn on corresponding video file simultaneously It is positioned according to the timestamp of key frame and starts to decode, when the time of decoding video reaches the timestamp of the video frame of index entry, Player, which is opened, shows image, and starts to carry out normal speed forward according to timestamp.When positioning time stabs, video can be used The index offset amount of file is positioned, and the timestamp of preservation can also be positioned with memory analysis;If video file includes Inside index, can be used directly the index and finds the offset of specified timestamp and positioned, if video does not include inside Index, can read video file content in memory, analyze in memory after the offset of specified timestamp again into Row positioning.
It can also be that search unit adds some industry words in preferred embodiment, in step S13, improve and used comprising industry The weight of word can arrange the result of search when in the description that research tool searches certain labels including these industry words In forward position, the hit rate of search is improved, preferably scans for matching, more optimizes search result.
In preferred embodiment, step S14 is further:After selecting search result items, judges the timestamp of key frame and regard Whether the timestamp of frequency frame is equal, if equal, navigates to the timestamp of the key frame or the timestamp of the video frame Position starts to show image;If unequal, the position of the timestamp of the key frame is first navigated to, is decoded but does not show Show, the position of the timestamp to be decoded to the video frame, starts to show image, and start to carry out normal speed according to timestamp It plays.
In conjunction with Fig. 3, the video tab positioning device based on view library of the present invention is described in detail comprising: Label for labelling unit 1, for being labeled to video file with label;Tab indexes file generating unit 2, for generating label Index file;Search unit 3 shows search result for searching for tab indexes file;And video location unit 4, for selecting Search result items are selected, video location is carried out according to the timestamp of search result items.
In preferred embodiment, label for labelling unit 1 includes:People's detection unit, vehicle detection unit and moving Object Detection Unit.
In above-described embodiment, video player is to refer to connection view library, directly reads the video file in view library And include the video player of other view library application modules;Key frame is can be used for making during Video coding For the video frame of the reference of front and back video frame, its coding method is basic identical with the coding of graphics rule of a jpeg format, Only in intraframe coding, without inter frame motion estimation, do not have to reference to other frames, so having synchronous effect.
Disclosed herein is merely a preferred embodiment of the present invention, these embodiments are chosen and specifically described to this specification, is It is not limitation of the invention in order to preferably explain the principle of the present invention and practical application.Any those skilled in the art The modifications and variations done within the scope of specification should all be fallen in the range of the present invention protects.

Claims (5)

1. a kind of video tab localization method based on view library, which is characterized in that include the following steps:
S11:Video file is labeled with label, specially:
S111:By video intelligent analysis software in the video content in video file people and/or vehicle or/mobile object into Row detection;
S112:Video content is labeled according to identification content and/or detection content;
S12:After mark, tab indexes file is generated, specially:The time of character express content and corresponding video frame will be marked Stamp, the timestamp for the key frame that also decoding video frame is relied on and video file address, save as tab indexes file, And by the tab indexes Piece file mergence of multiple video files be a tab indexes file;
S13:Tab indexes file is searched for, shows search result;
S14:Search result items are selected, video location are carried out according to the timestamp of described search result items, specially:S141:Choosing Described search result items are selected, using view library player, open video file;
S142:The position for navigating to the timestamp of the key frame is decoded but does not show, to be decoded to the video frame The position of timestamp starts to show image.
2. the video tab localization method according to claim 1 based on view library, which is characterized in that the step S13 Specially:Tab indexes file is searched for, search result is shown after being ranked up according to matching degree;Further,
It is to search for tab indexes file according to industry word to search for tab indexes file.
3. the video tab localization method according to claim 1 based on view library, which is characterized in that the step S142 It is further:Judge whether the timestamp of the key frame is equal with the timestamp of the video frame, if equal, navigates to institute The position for stating the timestamp of key frame or the timestamp of the video frame starts to show image;If unequal, institute is first navigated to The position for stating the timestamp of key frame is decoded but does not show, the position of the timestamp to be decoded to the video frame, starts Show image.
4. a kind of video tab positioning device based on view library, which is characterized in that including:
Label for labelling unit, for being labeled to video file with label, specially:By video intelligent analysis software to regarding People in video content and/or vehicle or/mobile object in frequency file are detected;According to identification content and/or detection content Video content is labeled;
Tab indexes file generating unit, for generating tab indexes file, specially:It will mark character express content and correspondence Video frame timestamp, the timestamp for the key frame that also decoding video frame is relied on and video file address save as Tab indexes file, and be a tab indexes file by the tab indexes Piece file mergence of multiple video files;
Search unit shows search result for searching for tab indexes file;And
Video location unit carries out video location, tool for selecting search result items according to the timestamp of described search result items Body is:Described search result items are selected, using view library player, open video file;Navigate to the time of the key frame The position of stamp is decoded but does not show, the position of the timestamp to be decoded to the video frame, starts to show image.
5. video tab positioning device according to claim 4, which is characterized in that the label for labelling unit includes:People Detection unit, vehicle detection unit and moving Object Detection unit.
CN201510582212.XA 2015-09-14 2015-09-14 A kind of video tab localization method and device based on view library Active CN105187795B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510582212.XA CN105187795B (en) 2015-09-14 2015-09-14 A kind of video tab localization method and device based on view library

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510582212.XA CN105187795B (en) 2015-09-14 2015-09-14 A kind of video tab localization method and device based on view library

Publications (2)

Publication Number Publication Date
CN105187795A CN105187795A (en) 2015-12-23
CN105187795B true CN105187795B (en) 2018-11-09

Family

ID=54909618

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510582212.XA Active CN105187795B (en) 2015-09-14 2015-09-14 A kind of video tab localization method and device based on view library

Country Status (1)

Country Link
CN (1) CN105187795B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101769071B1 (en) * 2016-05-10 2017-08-18 네이버 주식회사 Method and system for manufacturing and using video tag
CN106454441B (en) * 2016-11-02 2019-12-20 中传数广(合肥)技术有限公司 Method, front end, terminal and system for accurate advertisement and information delivery of live television
CN107704525A (en) * 2017-09-04 2018-02-16 优酷网络技术(北京)有限公司 Video searching method and device
CN107729486B (en) * 2017-10-17 2021-02-09 北京奇艺世纪科技有限公司 Video searching method and device
CN108388583A (en) * 2018-01-26 2018-08-10 北京览科技有限公司 A kind of video searching method and video searching apparatus based on video content
CN110309353A (en) * 2018-02-06 2019-10-08 上海全土豆文化传播有限公司 Video index method and device
CN108769781B (en) * 2018-06-14 2019-02-26 视云融聚(广州)科技有限公司 A kind of video tab localization method
CN108769733A (en) * 2018-06-22 2018-11-06 三星电子(中国)研发中心 Video clipping method and video clipping device
CN109167977B (en) * 2018-10-28 2020-10-23 广州中元软件有限公司 Bionic long-term storage method for surveillance video
CN110120087B (en) * 2019-04-15 2023-06-09 深圳市思为软件技术有限公司 Label marking method and device for three-dimensional virtual sand table and terminal equipment
CN113536823A (en) * 2020-04-10 2021-10-22 天津职业技术师范大学(中国职业培训指导教师进修中心) Video scene label extraction system and method based on deep learning and application thereof
CN111654749B (en) * 2020-06-24 2022-03-01 百度在线网络技术(北京)有限公司 Video data production method and device, electronic equipment and computer readable medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924854A (en) * 2006-09-18 2007-03-07 浙江大学 Desktop searching method for intelligent mobile terminal
CN101646050A (en) * 2009-09-09 2010-02-10 中国电信股份有限公司 Text annotation method and system, playing method and system of video files
CN103593363A (en) * 2012-08-15 2014-02-19 中国科学院声学研究所 Video content indexing structure building method and video searching method and device
CN104023181A (en) * 2014-06-23 2014-09-03 联想(北京)有限公司 Information processing method and device
CN104703055A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)教育科技有限公司 Locating method and device of video playing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8705933B2 (en) * 2009-09-25 2014-04-22 Sony Corporation Video bookmarking

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1924854A (en) * 2006-09-18 2007-03-07 浙江大学 Desktop searching method for intelligent mobile terminal
CN101646050A (en) * 2009-09-09 2010-02-10 中国电信股份有限公司 Text annotation method and system, playing method and system of video files
CN103593363A (en) * 2012-08-15 2014-02-19 中国科学院声学研究所 Video content indexing structure building method and video searching method and device
CN104023181A (en) * 2014-06-23 2014-09-03 联想(北京)有限公司 Information processing method and device
CN104703055A (en) * 2015-03-13 2015-06-10 天脉聚源(北京)教育科技有限公司 Locating method and device of video playing

Also Published As

Publication number Publication date
CN105187795A (en) 2015-12-23

Similar Documents

Publication Publication Date Title
CN105187795B (en) A kind of video tab localization method and device based on view library
EP3637303B1 (en) Methods for generating a base of training images, for training a cnn and for detecting a poi change in a pair of inputted poi images using said cnn
CN106469299B (en) A kind of vehicle search method and device
US10282616B2 (en) Visual data mining
WO2019144850A1 (en) Video content-based video search method and video search apparatus
Zhou et al. Multi-granularity alignment domain adaptation for object detection
US20140161362A1 (en) Techniques for Spatial Semantic Attribute Matching for Location Identification
Maffra et al. Real-time wide-baseline place recognition using depth completion
RU2014119859A (en) AUTOMATIC TAG GENERATION BASED ON THE CONTENT OF THE IMAGE
Varini et al. Personalized egocentric video summarization of cultural tour on user preferences input
CN100589532C (en) Caption region extracting device and method
JP2013509094A5 (en)
Iwamura et al. Downtown osaka scene text dataset
KR20130105542A (en) Object identification in images or image sequences
CN110110147A (en) A kind of method and device of video frequency searching
CN104520848A (en) Searching for events by attendants
Revaud et al. Did it change? learning to detect point-of-interest changes for proactive map updates
CN107679128B (en) Information display method and device, electronic equipment and storage medium
JP2010049300A5 (en)
Hezel et al. Video search with sub-image keyword transfer using existing image archives
CN115131826A (en) Article detection and identification method, and network model training method and device
CN104636330A (en) Related video rapid searching method based on structural data
Tumrani et al. PEVR: pose estimation for vehicle re-identification
Li et al. Correlation based identity filter: An efficient framework for person search
EP2665018A1 (en) Object identification in images or image sequences

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
CP02 Change in the address of a patent holder

Address after: 518063 2709, room 9A, Shenzhen science and Technology Park, No. 8, Gaoxin ten road, Nanshan District, Shenzhen, Guangdong.

Patentee after: BOKANG YUNXIN SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: 518057, Shenzhen, Guangdong hi tech park, North District, 11 Lang Shan Road, Tsinghua Tongfang information port C, building 9, B units

Patentee before: BOKANG YUNXIN SCIENCE & TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder