CN104219582B - A kind of video player obtains the method and system of 2 D code information from video - Google Patents

A kind of video player obtains the method and system of 2 D code information from video Download PDF

Info

Publication number
CN104219582B
CN104219582B CN201410443377.4A CN201410443377A CN104219582B CN 104219582 B CN104219582 B CN 104219582B CN 201410443377 A CN201410443377 A CN 201410443377A CN 104219582 B CN104219582 B CN 104219582B
Authority
CN
China
Prior art keywords
video
identification code
frame
transferred
code
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.)
Expired - Fee Related
Application number
CN201410443377.4A
Other languages
Chinese (zh)
Other versions
CN104219582A (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.)
Beijing money to Jin Clothing Technology Co., Ltd.
Original Assignee
Beijing Money To Jin Clothing 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 Beijing Money To Jin Clothing Technology Co Ltd filed Critical Beijing Money To Jin Clothing Technology Co Ltd
Priority to CN201410443377.4A priority Critical patent/CN104219582B/en
Publication of CN104219582A publication Critical patent/CN104219582A/en
Application granted granted Critical
Publication of CN104219582B publication Critical patent/CN104219582B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method that video player obtains 2 D code information from video, comprise the following steps, by video pause when user has found Quick Response Code occur in video, triggering identification process is interacted by player, when process starts, after player receives instruction, the time point position of current time axle is recorded, according to the continuous specific frame number video image of time point position interception.The inventive method and system have the advantages and positive effects of:It is inconvenience caused by the Quick Response Code occurred in scan video uses other ancillary equipment or other complex operations present invention, avoiding user, realizes the function of directly utilizing the Quick Response Code occurred in video player scan video;The present invention is solved for obscuring picture, the problem of None- identified Quick Response Code.

Description

A kind of video player obtains the method and system of 2 D code information from video
Technical field
The invention belongs to video player picture frame identification technology field, more particularly, to a kind of video player from video The middle method and system for obtaining 2 D code information.
Background technology
Video jukebox software is included in the video jukebox software run on the platforms such as windows, Android, ios, webpage flow matchmaker Body broadcast window and with intelligent television equipment video playback interface.Video jukebox software is during video is played, video In may two-dimensional code display, when user wants to scan this Quick Response Code, it is necessary to by ancillary equipment carry out two-dimensional code scanning, it is this The mode scanned by ancillary equipment operates upper in the presence of inconvenience;In addition, some are not the pictures being apparent from for player plays When, user can not obtain Quick Response Code from a two field picture.
The content of the invention
The problem to be solved in the present invention, which is to provide, need not be scanned a kind of video of Quick Response Code by ancillary equipment and broadcast Put the method and system that device obtains 2 D code information from video.
In order to solve the above technical problems, the technical solution adopted by the present invention one is:
A kind of method that video player obtains 2 D code information from video, is comprised the following steps:
B1 video players according to user operation records current picture time point information on a timeline;
Image information and guarantor of the B2 video players according to some frames before and after time point on time point information interception time axle Deposit;
B3 carries out dissection process to truncated picture information, obtains the 2 D code information in image information;
B4 establishes 2 D code information and video pictures and the corresponding relation of reproduction time, and is in by 2 D code information It is existing.
Further, above-mentioned steps B3 is comprised the following steps:
Intercepted frame image information is carried out pattern-recognition by B31, abandons invalid frame and according to matching by of each two field picture Recorded with degree;
Effective frame image information is carried out dissection process, forming step identification code, and be transferred to step B39 one by one by B32;
Consecutive frame is grouped by B33, forming step identification code, and is transferred to step B38;
B34 is made each packet be started with a low matching degree frame, consecutive frame packet is ensured into each packet according to matching degree There are the higher matching degree two field picture in an adjacent position, forming step identification code, and be transferred to step B38;
B35 is according to matching degree, and centered on high matching degree frame, consecutive frame is grouped by conversion per framing quantity, forming step Identification code, and it is transferred to step B38;
B36 finds the best match two field picture of pattern-recognition mark, forming step identification code according to matching priority;
B37 is using best match two field picture as starting A, front and rear each consecutive frame respectively -1, -2 ... ...-n, and 1,2 ... ... n (last frame that n=front or behinds since A are captured) respectively with [A+ (- 1)], [A+ (- 1)+(- 2)] ... [A+ (- 1)+ (- 2)+... ... (- n)] and [A+1], [A+1+2] ... [A+1+2+ ... ... n] and [A+1+ (- 1)], [A+1+ (- 1)+2+ (- 2)] ... ... [A+1+ (- 1)+2+ (- 2)+... ... n+ (- n)] frame is grouped for packet mode;
B38 will do HDR algorithm process with framing and obtain HDR image information, and retain step identification code;
B39 judges whether successfully resolved, and Quick Response Code is obtained if success;Otherwise judged according to step identification code:
If step identification code mark for step B32, be transferred to step B33;
If step identification code mark for step B33, be transferred to step B34;
If step identification code mark for step B34, be transferred to step B35;
If step identification code mark for step B35, be transferred to step B36;
If step identification code mark for step B37, abandon obtaining Quick Response Code.
In order to solve the above technical problems, the technical solution adopted by the present invention two is:
A kind of audio/video player system that 2 D code information can be obtained from video, comprising:
Time shaft acquiring unit, for when user operates video player and obtains Quick Response Code function, recording current picture Time point information on a timeline;
Two field picture acquiring unit, for being believed according to the image of some frames before and after time point on time point information interception time axle Cease and preserve;
Two field picture resolution unit, for carrying out dissection process to truncated picture information, obtain the two dimension in image information Code information;
Quick Response Code display unit, for 2 D code information is presented.
The inventive method and system have the advantages and positive effects of:
It is that the Quick Response Code occurred in scan video uses other ancillary equipment or other complexity behaviour present invention, avoiding user It is inconvenient caused by work, realize the function of directly utilizing the Quick Response Code occurred in video player scan video;
The present invention is solved for obscuring picture, the problem of None- identified Quick Response Code, while uses intelligent circulation algorithm, will Greatly improve video Quick Response Code and be parsed into power;
Frame of video need not be continuously detected, when user sees video, need to enable at any time at any time, reduce cpu resource occupancy.
Brief description of the drawings
Fig. 1 is the step schematic flow sheet of the inventive method;
Fig. 2 is the step schematic flow sheet for carrying out dissection process in the inventive method to truncated picture information;
Fig. 3 is the structural representation of present system.
Embodiment
The specific embodiment of the present invention is elaborated below in conjunction with the accompanying drawings.
The method that video player of the present invention obtains 2 D code information from video, is comprised the following steps, as shown in figure 1, In video player playing process, by video pause when user has found Quick Response Code occur in video, pass through player interaction triggering Identification process, when process starts, after player receives instruction, the time point position of current time axle is recorded, according to time point position Put the continuous specific frame number video image of interception;
As shown in Fig. 2 player carries out pattern-recognition to intercepted two field picture, ignore unmatched picture frame, by each frame Matching degree is recorded;Then player takes the lead in parsing the interception frame retained frame by frame;If can not succeed, play Consecutive frame is divided into some groups by device, each group image is carried out into HDR processing, the HDR image generated after HDR is handled is solved Analysis, if can not succeed, player will be attempted successively:" according to matching degree, each packet is set to be opened with a bottom matching degree frame Begin, consecutive frame is grouped ";" according to matching degree, centered on high person, convert and be grouped consecutive frame per framing quantity ";" foundation Matching priority finds the best match two field picture of pattern-recognition mark, and using the two field picture as starting A, front and rear each consecutive frame point Wei -1, -2 ... ...-n, and 1,2 ... ... n (last frame that n=front or behinds since A are captured) respectively with [A+ (- 1)], [A+ (- 1)+(- 2)] ... [A+ (- 1)+(- 2)+... ... (- n)] and [A+1], [A+1+2] ... [A+1+2+ ... ... n] And [A+1+ (- 1)], [A+1+ (- 1)+2+ (- 2)] ... ... [A+1+ (- 1)+2+ (- 2)+... ... n+ (- n)] are packet mode Frame is grouped " and will be parsed respectively after the HDR image of formation;Generation step mark is rapid in wherein each step implementation procedure Code, identified according to every step, circulation parsing is carried out when parsing failure.
For the above method, the audio/video player system of 2 D code information, such as Fig. 3 can be obtained corresponding to the present invention from video It is shown, comprising:
Time shaft acquiring unit, for when user operates video player and obtains Quick Response Code function, recording current picture Time point information on a timeline;
Two field picture acquiring unit, for being believed according to the image of some frames before and after time point on time point information interception time axle Cease and preserve;
Two field picture resolution unit, for carrying out dissection process to truncated picture information, obtain the two dimension in image information Code information;
Quick Response Code display unit, for 2 D code information is presented.
Embodiments of the invention are described in detail above, but the content is only presently preferred embodiments of the present invention, It is not to be regarded as the practical range for limiting the present invention.Any changes and modifications in accordance with the scope of the present application, All should still it belong within the patent covering scope of the present invention.

Claims (1)

1. a kind of method that video player obtains 2 D code information from video, it is characterised in that include:
1) video player according to user operation records current picture time point information on a timeline;
2) image information and preservation of the video player according to some frames before and after time point on time point information interception time axle;
3) dissection process is carried out to truncated picture information, obtains the 2 D code information in image information;
4) 2 D code information is presented;
The step 3) comprises the following steps:
31) intercepted frame image information is subjected to pattern-recognition, abandons invalid frame and according to matching by the matching journey of each two field picture Degree is recorded;
32) effective frame image information is subjected to dissection process, forming step identification code, and be transferred to step 39) one by one;
33) consecutive frame is grouped, forming step identification code, and is transferred to step 38);
34) according to matching degree, each packet is started with a low matching degree frame, consecutive frame packet is ensured that each packet has one Higher matching degree two field picture in individual adjacent position, forming step identification code, and it is transferred to step 38);
35) according to matching degree, centered on high matching degree frame, convert and be grouped consecutive frame per framing quantity, forming step mark Code, and it is transferred to step 38);
36) the best match two field picture of pattern-recognition mark, forming step identification code are found according to matching priority;
37) using best match two field picture as starting A, front and rear each consecutive frame be respectively -1, -2 ...-n, and 1,2 ... n respectively with [A+ (- 1)], [A+ (- 1)+(- 2)] ... [A+ (- 1)+(- 2)+... (- n)] and [A+1], [A+1+2] ... [A+1+2+ ... N] and [A+1+ (- 1)], [A+1+ (- 1)+2+ (- 2)] ... [A+1+ (- 1)+2+ (- 2)+... n+ (- n)] be packet mode Frame is grouped;
38) HDR algorithm process will be done with framing and obtains HDR image information, and retain step identification code;
39) judge whether successfully resolved, Quick Response Code is obtained if success;Otherwise judged according to step identification code:
If step identification code mark for step 32), be transferred to step 33);
If step identification code mark for step 33), be transferred to step 34);
If step identification code mark for step 34), be transferred to step 35);
If step identification code mark for step 35), be transferred to step 36);
If step identification code mark for step 37), abandon obtaining Quick Response Code.
CN201410443377.4A 2014-09-02 2014-09-02 A kind of video player obtains the method and system of 2 D code information from video Expired - Fee Related CN104219582B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410443377.4A CN104219582B (en) 2014-09-02 2014-09-02 A kind of video player obtains the method and system of 2 D code information from video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410443377.4A CN104219582B (en) 2014-09-02 2014-09-02 A kind of video player obtains the method and system of 2 D code information from video

Publications (2)

Publication Number Publication Date
CN104219582A CN104219582A (en) 2014-12-17
CN104219582B true CN104219582B (en) 2017-12-19

Family

ID=52100655

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410443377.4A Expired - Fee Related CN104219582B (en) 2014-09-02 2014-09-02 A kind of video player obtains the method and system of 2 D code information from video

Country Status (1)

Country Link
CN (1) CN104219582B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104703020B (en) * 2015-03-17 2018-09-21 北京酷云互动科技有限公司 Processing method, device and the video playback apparatus of Quick Response Code
CN104768028A (en) * 2015-04-29 2015-07-08 北京奇艺世纪科技有限公司 Method and device for activating graphic identification code in video
CN104768027B (en) * 2015-04-29 2019-03-15 北京奇艺世纪科技有限公司 The method and apparatus of graphical identification code in a kind of activation video
WO2017072778A1 (en) * 2015-10-28 2017-05-04 Hewlett-Packard Development Company, L.P. Processing machine-readable link
CN109769133A (en) * 2019-02-19 2019-05-17 上海七牛信息技术有限公司 Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004228720A (en) * 2003-01-21 2004-08-12 Canon Electronics Inc Data providing method by television communication
CN101510269A (en) * 2009-02-18 2009-08-19 深圳华为通信技术有限公司 Method and device for acquiring two-dimensional code in video
KR20110105369A (en) * 2011-09-08 2011-09-26 (주)이컴앤드시스템 A 2d barcode image extracting/decoding device, and the method therefor
CN202632311U (en) * 2012-02-21 2012-12-26 华南农业大学 Two-dimension code reading device based on video stream
CN103002338A (en) * 2012-08-09 2013-03-27 杨世忠 Intelligent video play monitoring recognition system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004228720A (en) * 2003-01-21 2004-08-12 Canon Electronics Inc Data providing method by television communication
CN101510269A (en) * 2009-02-18 2009-08-19 深圳华为通信技术有限公司 Method and device for acquiring two-dimensional code in video
KR20110105369A (en) * 2011-09-08 2011-09-26 (주)이컴앤드시스템 A 2d barcode image extracting/decoding device, and the method therefor
CN202632311U (en) * 2012-02-21 2012-12-26 华南农业大学 Two-dimension code reading device based on video stream
CN103002338A (en) * 2012-08-09 2013-03-27 杨世忠 Intelligent video play monitoring recognition system

Also Published As

Publication number Publication date
CN104219582A (en) 2014-12-17

Similar Documents

Publication Publication Date Title
CN104219582B (en) A kind of video player obtains the method and system of 2 D code information from video
US9384588B2 (en) Video playing method and system based on augmented reality technology and mobile terminal
JP6448603B2 (en) Multi-image interactive gaming device
CN101273635B (en) Apparatus and method for encoding and decoding multi-view picture using camera parameter, and recording medium storing program for executing the method
TWI240562B (en) Method and apparatus for adaptive frame rate conversion
CN108010037B (en) Image processing method, device and storage medium
KR102488530B1 (en) Method and apparatus for generating video
CN105847718B (en) Live video barrage display methods based on scene Recognition and its display device
CN1893610A (en) Signal processing apparatus, signal processing method, program, and recording medium
WO2020200302A1 (en) Live broadcast method and apparatus, and computer device and storage medium
EP3890332A1 (en) Video splitting method and electronic device
JP2013093840A (en) Apparatus and method for generating stereoscopic data in portable terminal, and electronic device
CN109068052A (en) video capture method, mobile terminal and computer readable storage medium
JP2018521550A (en) Method, client and computer storage medium for playing video
WO2013149556A1 (en) Method and device for automatically playing expression on virtual image
CN110809173A (en) Virtual live broadcast method and system based on AR augmented reality of smart phone
JP2011097470A (en) Stereoscopic image reproduction apparatus, stereoscopic image reproduction method, and stereoscopic image reproduction system
CN105049914B (en) Picture frame playing method and device
CN105611220A (en) Communication system based on holographic projection technology
CN105657539B (en) Video broadcasting method and device
WO2020215454A1 (en) Screen recording method, client, and terminal device
CN103596063B (en) Terminal, television, multi-screen interaction system and method for setting screen capture parameters
US20150215643A1 (en) Method and apparatus for acquiring disparity vector predictor of prediction block
CN112258232A (en) Promotion content display method and device based on live broadcast picture
CN103731339B (en) Online multimedia resource share method in digital living network alliance system 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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20171120

Address after: 100101 Beijing city Chaoyang District Huizhong 103 Building 8 storey block C 803

Applicant after: Beijing money to Jin Clothing Technology Co., Ltd.

Address before: 300308 Tianjin City Binhai New Area Airport Economic Zone protection route No. 1 aviation industry support center 645V09 room

Applicant before: TIANJIN YUNCHEN SCIENCE & TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171219

Termination date: 20180902