CN109769133A - Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process - Google Patents
Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process Download PDFInfo
- Publication number
- CN109769133A CN109769133A CN201910124576.1A CN201910124576A CN109769133A CN 109769133 A CN109769133 A CN 109769133A CN 201910124576 A CN201910124576 A CN 201910124576A CN 109769133 A CN109769133 A CN 109769133A
- Authority
- CN
- China
- Prior art keywords
- video
- dimensional barcode
- barcode information
- dimensional
- dimensional 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.)
- Pending
Links
Abstract
It is therein the described method includes: determining that the temporal information of two dimensional code occurs in video playing interface in video display process the present invention relates to two dimensional code analytic method, device and the readable storage medium storing program for executing in a kind of video display process;The frame data that video is traversed according to the temporal information obtain the video frame for having two-dimensional barcode information from video requency frame data;The video frame with two-dimensional barcode information is identified, recognition result is obtained;Operation corresponding with the recognition result is executed according to recognition result.The invention has the benefit that realizing the two-dimensional barcode information for capturing in video display process and occurring in video playing interface, and can be carried out jumping display operation according to user's operation.
Description
Technical field
The present embodiments relate to the two dimensions in video data processing technology field more particularly to a kind of video display process
Code analytic method, device and readable storage medium storing program for executing.
Background technique
Two dimensional code is very widely used at present, will appear in the types of applications scene promoted from mobile payment to publicity
Two dimensional code, two dimensional code participate in interaction commonly used in prompt spectators or allow users to obtain some useful information.
Video be also current people often in contact with, live streaming or from the video of media record usually with two dimensional code
To facilitate user's concern, scanning, turn link etc., however, existing all identifications for two dimensional code require it is in static picture
Two-dimensional code display picture could allow user to pass through user hand in pause picture after video pictures being played on are suspended on face
Machine scanning, and the non-carrying mobile phone of user or pause picture in do not include two-dimension code image when then cause unnecessary trouble,
Therefore, how more intelligently or automatically the two-dimensional barcode information in being playing to be identified, is at present in the industry not yet
The problem solved.
Summary of the invention
In order to overcome the problems, such as present in the relevant technologies, the present invention provides the two dimensional code parsing in a kind of video display process
Method, apparatus and readable storage medium storing program for executing, to realize the two dimensional code for capturing in video display process and occurring in video playing interface
Information can be suspended two-dimensional code display information at video playing interface so that user does not need to identify by foreign object
Recognition result.
In a first aspect, the embodiment of the invention provides the two dimensional code analytic method in a kind of video display process, the side
Method includes:
In video display process, determine that the temporal information of two dimensional code occurs in video playing interface;
The frame data that video is traversed according to the temporal information obtain the view for having two-dimensional barcode information from video requency frame data
Frequency frame;
The video frame with two-dimensional barcode information is identified, recognition result is obtained;
Operation corresponding with the recognition result is executed according to recognition result.
It is described to the view with two-dimensional barcode information in another feasible embodiment of the invention in conjunction with another aspect
Frequency frame carries out strip operation, obtains independently of the two-dimensional barcode information except video frame, comprising:
Screenshot is carried out to the video frame with two-dimensional barcode information;
The picture that two-dimensional barcode information is had after screenshot is subjected to division operation, including two-dimension code area and non-two dimensional code area
Domain;
Cut out the two-dimension code area from the picture with two-dimensional barcode information, and by the two-dimension code area from
It removes, is obtained independently of the two-dimensional barcode information except video frame in the picture with two-dimensional barcode information.
It is described in video display process in another feasible embodiment of the invention in conjunction with another aspect, determine video
There is the temporal information of two dimensional code in broadcast interface, comprising:
In video display process, when the touch control operation for detecting video playing interface two dimensional code time of occurrence and region
When, determine that the temporal information of two dimensional code occurs in video playing interface at this time;
When the frame data for traversing video according to the temporal information, further includes:
When the video frame with two-dimensional barcode information is not detected in video requency frame data according to the temporal information, use
Track algorithm carries out two dimensional code tracking to the video requency frame data, until tracking the video frame comprising the two-dimensional barcode information.
In conjunction on the other hand, in another feasible embodiment of the present invention, the calling suspended window, by suspended window by institute
It states recognition result suspension and is shown in the video playing interface, comprising:
The two-dimension code image of equal proportion size is scaled according to the two-dimensional barcode information;
The two-dimensional barcode information is identified, recognition result is generated, comprising:
The two-dimension code image of the equal proportion size is added to the recognition result.
Second aspect, the present invention also provides the two dimensional code resolver in a kind of video display process, described device packets
It includes:
Determining module, for determining that the temporal information of two dimensional code occurs in video playing interface in video display process;
Module is obtained, for traversing the frame data of video according to the temporal information, obtains and has from video requency frame data
The video frame of two-dimensional barcode information;
Strip module is obtained for carrying out strip operation to the video frame with two-dimensional barcode information independently of video
Two-dimensional barcode information except frame;
Identification module generates recognition result for identifying to the two-dimensional barcode information;
Recognition result suspension is shown in the video by suspended window and broadcast by jump module for calling suspended window
Put interface.
The third aspect the present invention also provides a kind of computer equipment, including memory, processor and is stored in storage
On device and the computer program that can run on a processor, the processor realize above-mentioned side when executing the computer program
Method.
Fourth aspect, the present invention also provides a kind of computer readable storage mediums, are stored thereon with computer program, institute
State the step of above method is realized when computer program is executed by processor.
The present invention is accurately determined corresponding with two dimension by the temporal information that two dimensional code occurs in determining video playing interface
The video frame of code information, and two-dimensional barcode information is separated from the video frame, pass through the identification to the two-dimensional barcode information and basis
Recognition result progress is corresponding to be jumped, for video being played on, without being grasped to video playing using stop/pause
Make, so that playing process is more smooth;For the user watched, user, which no longer needs to dig out portable equipment, to be swept
It retouches, video clip during being playing can view the recognition result to two-dimensional barcode information, and user experience obtains
It is substantially improved.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the process of the two dimensional code analytic method in a kind of video display process shown according to an exemplary embodiment
Schematic diagram.
Schematic diagram when Fig. 2 is touch-control activation two dimensional code intelligent recognition shown according to an exemplary embodiment.
Fig. 3 is the schematic diagram of the two dimensional code display area at video playing interface shown according to an exemplary embodiment.
Fig. 4 is the signal of the two dimensional code resolver in a kind of video display process shown according to an exemplary embodiment
Property block diagram.
Fig. 5 is the schematic composition block diagram of strip module shown according to an exemplary embodiment.
Fig. 6 is the block diagram of the computer equipment of implementation method shown according to an exemplary embodiment.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.It is therein to be permitted although each step to be described as to the processing of sequence in flow chart
Multi-step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged, when its operation
The processing can be terminated when completion, it is also possible to have the other steps being not included in attached drawing.Processing can correspond to
In method, function, regulation, subroutine, subprogram etc..
The present invention relates in a kind of video display process two dimensional code analytic method, device, computer equipment and readable deposit
Storage media, mainly applies to mobile terminal or other terminals such as TV is playing in the scene of video, basic thought
It is: from specific with two-dimensional barcode information is separated in the video frame for determining temporal information, passes through the knowledge to the two-dimensional barcode information
It does not jump and according to recognition result progress is corresponding, on the one hand without being operated to video playing using stop/pause, user is being seen
See that the two dimensional code during video quickly can be identified and be jumped;On the other hand the user for watching video no longer needs to using just
It takes equipment to be scanned, the knowledge to two-dimensional barcode information can be viewed at video playing interface by continuing to watch video being played on
Not as a result, user experience is significantly enhanced.
The present embodiment is applicable in the intelligent terminal with central processing module to carry out two in video display process
In the case where tieing up code parsing, this method can be executed by central processing module, and wherein the central processing module can be by software
And/or hardware is realized, can generally be integrated in intelligent end, as shown in Figure 1, for the two dimension in video display process in the present invention
The basic procedure schematic diagram of code analytic method, the method specifically comprise the following steps:
Step 110, in video display process, determine that the temporal information of two dimensional code occurs in video playing interface;
The video playing had both included the video playing in the video playback class app of mobile terminal, was also included within intelligence
The video playing and the video playing in computer equipment terminal of TV terminal.
In a kind of implement scene of exemplary embodiment of the present, in video playing, picture monitoring module can be passed through
The temporal information for two dimensional code occur in video playing interface is recorded, which can be by being integrated in terminal
Hardware realization, can also be by writing the software realization of program.
The picture monitoring module can pre-save two dimensional code feature, supervise to the picture in video display process
Control then obtains the system time information of video playing said system at this time when occurring having the video pictures of two dimensional code feature
There is the temporal information of two dimensional code as video playing interface, the progress conduct shown in video playing progress at this time can also be obtained
There is the temporal information of two dimensional code in video playing interface.
Step 120, the frame data that video is traversed according to the temporal information obtain from video requency frame data and have two dimensional code
The video frame of information;
The temporal information may for one specific to millisecond time point, such as playback progress 00 (h): 05 (min): 06 (s):
39 (ms) playback progresss be the 5th minute the 6th second the 39th millisecond when there is two dimensional code, it is also possible to be a time range, 00 (h):
05 (min): 06 (s)~00 (h): 05 (min): occurring two dimensional code between 16 (s).
The frame data of the video of the video file played according to temporal information traversal are to search corresponding temporal information
Video frame, the video frame may be a video frame, it is also possible to be several video frames.
Step 130, the video frame with two-dimensional barcode information is identified, obtains recognition result;
Step 140, operation corresponding with the recognition result is executed according to recognition result.
Two dimensional code identification technology can be used and identify two-dimensional barcode information from the video frame after determination, such as: pass through ZXing
Two dimensional code identification technology directly carries out identification operation to the video frame with two dimensional code, in the recognition result that two dimensional code parses
The various informations such as business activity, network linking, information reading, the service propaganda popularization that may include including two dimensional code are general
It is not shown in former broadcast interface directly, but jumps to external program, such as it is to jump to Alipay or micro- when paying the bill code
Web displaying web page contents are jumped to when the receipt and payment money interface of letter or web page interlinkage.
In a kind of implement scene of exemplary embodiment of the present, the video frame to described with two-dimensional barcode information is carried out
Identification, obtains recognition result, can also be identified by way of screenshot, this process includes the following:
Strip operation is carried out to the video frame with two-dimensional barcode information, is obtained independently of the two dimensional code except video frame
Information;
Strip operation is carried out in the video frame searched according to traversing operation, so that two-dimensional barcode information is from video requency frame data
Middle removing simultaneously generates corresponding two-dimensional barcode information or two-dimension code image with independent format.
Strip operation during this can be realized by following process:
Screenshot is carried out to the video frame with two-dimensional barcode information;
It can be by carrying out screenshot to the video frame during lower displaying when screenshot, it can also be to the thumbnail of the video frame
Screenshot is carried out, screenshot picture is obtained.
The picture that two-dimensional barcode information is had after screenshot is subjected to division operation, including two-dimension code area and non-two dimensional code area
Domain;
In screenshot picture have two-dimensional barcode information, to thumbnail carry out screenshot picture can equal proportion amplify, then carry out
Division operation, two-dimension code area only include two-dimension code image, and non-two-dimension code area is the other regions for not including two dimensional code.
As shown in connection with fig. 2, the two-dimension code area forms complete screenshot picture in conjunction with non-two-dimension code area.
Cut out the two-dimension code area from the picture with two-dimensional barcode information, and by the two-dimension code area from
It removes, is obtained independently of the two-dimensional barcode information except video frame in the picture with two-dimensional barcode information.
It cuts and obtains independent two-dimensional barcode information with strip operation.
The two-dimensional barcode information is identified, recognition result is generated;
When two-dimensional barcode information recognition result is website information, jumped at this time when user clicks.
Method of the invention accurately determines corresponding band by the temporal information for determining that two dimensional code occurs in video playing interface
There is the video frame of two-dimensional barcode information, and separate two-dimensional barcode information from the video frame, passes through the identification to the two-dimensional barcode information
And according to recognition result carry out it is corresponding jump, for the user watched, user no longer need to dig out portable equipment into
Row scanning, video clip during being playing can view the recognition result to two-dimensional barcode information, and user experience obtains
To being substantially improved.
In a kind of implement scene of exemplary embodiment of the present, in video display process, video playing interface is determined
There is the temporal information of two dimensional code, be subject to time of user's touch control operation, this process may include following steps:
In video display process, when the touch control operation for detecting video playing interface two dimensional code time of occurrence and region
When, determine that the temporal information of two dimensional code occurs in video playing interface at this time;
As shown in connection with fig. 3, click to specific region the mistake of activation two-dimensional code authentication function for user in mobile terminal
Journey schematic diagram plays app by mobile terminal in user and plays video, when the intelligent recognition two dimensional code module or function not
When being activated, touch-control can be clicked by the specific region to video playing interface and activate the intelligent recognition function or module, in conjunction with
Diagram, a-quadrant is active region in settable figure, and when occurring two dimensional code in video display process, and user is intended to check the two dimension
When the information that code includes, any one position of a-quadrant can be clicked on by touch control operation, which, which detects, receives the behaviour
After work, first determine whether currently whether activated two dimensional code intelligent recognition function, it then can be according to reception when having activated the function
The time of touch control operation as there is the temporal information of two dimensional code in video playing interface at this time, when the un-activation function, then
The function can first be activated, then according to touch control operation when the temporal information that occurs as two dimensional code of click time.
Play operation region is the play operation for being directed to video being played on, such as stopping, pause, F.F., rewind
Deng operation, the sliding touch operation up and down in the play operation region likely corresponds to above-mentioned operations, two dimensional code
Time of occurrence and region are the region for not including video play operation, neither include above-mentioned play operation key in the region
(virtual), the sliding touch that will not be responded up and down operate the operations such as possible corresponding stopping, pause.
When the frame data for traversing video according to the temporal information, further includes:
When the video frame with two-dimensional barcode information is not detected in video requency frame data according to the temporal information, use
Track algorithm carries out two dimensional code tracking to the video requency frame data, until tracking the video frame comprising the two-dimensional barcode information.
Due to having delay between the time of the two dimensional code occurred in the click time of touch control operation and video display process, because
This can not accurately be detected in some implement scenes of exemplary embodiment of the present according to the click time of the touch control operation
To the video frame of two-dimensional barcode information is had, at this point, track algorithm then can be used to the view played in the time difference of " delay "
Frequency frame carries out two dimensional code tracking, until tracking the video frame comprising the two-dimensional barcode information.
The tracing algorithm can be CN (Color Name) tracker (its be joint color characteristic (Color Name) and
Gray feature describes the algorithm of target) it inconsistent to the color characteristic in video frame between two dimensional code and video pictures chases after
Track.
Method of the invention can activate at any time two dimensional code intelligent recognition function by touch control operation, and according to touch control operation
Click the time determine have two-dimensional barcode information video frame, and when that can not determine according to track algorithm to have two dimensional code
The video frame of information is tracked, so that the intelligent recognition of two dimensional code is more humanized, further promotes user experience.
Fig. 4 is the structural representation of the two dimensional code resolver in a kind of video display process provided in an embodiment of the present invention
Figure, the device can be implemented by software and/or hardware, be generally integrated in mobile terminal, can be by video display process
Two dimensional code analytic method is realized.As shown, the present embodiment can be provided a kind of video and be broadcast based on above-described embodiment
Two dimensional code resolver during putting, mainly include determining module 410, obtain module 420, identification module 430 and
Jump module 440.
Determining module 410 therein, in video display process, determine video playing interface occur two dimensional code when
Between information;
Acquisition module 420 therein, for traversing the frame data of video according to the temporal information, from video requency frame data
Obtain the video frame for having two-dimensional barcode information;
Identification module 430 obtains recognition result for identifying to the video frame with two-dimensional barcode information;
Jump module 440, for executing operation corresponding with the recognition result according to recognition result.
In a kind of embodiment of exemplary embodiment of the present, as shown in figure 5, further including strip module 450, comprising:
Screenshot submodule 451, for carrying out screenshot to the video frame with two-dimensional barcode information;
Subregion submodule 452, for the picture for having two-dimensional barcode information after screenshot to be carried out division operation, including two dimensional code
Region and non-two-dimension code area;
Submodule 453 is cut, for cutting out the two-dimension code area from the picture with two-dimensional barcode information, and
The two-dimension code area is removed from the picture with two-dimensional barcode information, is obtained independently of the two dimensional code except video frame
Information.
In a kind of embodiment of exemplary embodiment of the present, the determining module 410, comprising:
Touch control detection module, in video display process, when detecting video playing interface two dimensional code time of occurrence
When with the touch control operation of region, determine that the temporal information of two dimensional code occurs in video playing interface at this time;
The acquisition module 420 is also used to:
When the video frame with two-dimensional barcode information is not detected in video requency frame data according to the temporal information, use
Track algorithm carries out two dimensional code tracking to the video requency frame data, until tracking the video frame comprising the two-dimensional barcode information.
It is any real in the executable present invention of two dimensional code resolver in the video display process provided in above-described embodiment
The two dimensional code analytic method in video display process provided in example is applied, is had and is executed the corresponding functional module of this method and have
Beneficial effect, the technical detail not being described in detail in the above-described embodiments, reference can be made to view provided in any embodiment of that present invention
Two dimensional code analytic method in frequency playing process.
It will be appreciated that the present invention also extends to the computer program for being suitable for putting the invention into practice, especially
Computer program on carrier or in carrier.Program can be with source code, object code, code intermediate source and such as part volume
The form of the object code for the form translated, or it is suitble to the shape used in the realization of the method according to the invention with any other
Formula.Also it will be noted that, such program may have many different frame designs.For example, realizing side according to the invention
Functional program code of method or system may be subdivided into one or more subroutine.
For that will be apparent for technical personnel in the functional many different modes of these subroutine intermediate distributions.
Subroutine can be collectively stored in an executable file, to form self-contained program.Such executable file can
To include computer executable instructions, such as processor instruction and/or interpreter instruction (for example, Java interpreter instruction).It can
Alternatively, one or more or all subroutines of subroutine may be stored at least one external library file, and
And it statically or dynamically (such as at runtime between) is linked with main program.Main program contains at least one of subroutine
At least one calling.Subroutine also may include to mutual function call.It is related to the embodiment packet of computer program product
Include the computer executable instructions for corresponding at least one of illustrated method each step of the processing step of method.These refer to
Subroutine can be subdivided into and/or be stored in one or more possible static or dynamic link file by enabling.
Another embodiment for being related to computer program product includes corresponding in illustrated system and/or product at least
The computer executable instructions of each device in one device.These instructions can be subdivided into subroutine and/or be stored
In one or more possible static or dynamic link file.
The carrier of computer program can be any entity or device that can deliver program.For example, carrier can wrap
Containing storage medium, such as (ROM such as CDROM or semiconductor ROM) either magnetic recording media (such as floppy disk or hard disk).Into
One step, carrier can be the carrier that can be transmitted, such as electricity perhaps optical signalling its can via cable or optical cable, or
Person is transmitted by radio or other means.When program is embodied as such signal, carrier can be by such cable
Or device composition.Alternatively, carrier can be the integrated circuit for being wherein embedded with program, and the integrated circuit is suitable for holding
Row correlation technique, or used in execution for correlation technique.
Should be noted that embodiment mentioned above be illustrate the present invention, rather than limit the present invention, and this
The technical staff in field will design many alternate embodiments, without departing from scope of the appended claims.It is weighing
During benefit requires, the reference symbol of any placement between round parentheses is not to be read as being limitations on claims.Verb " packet
Include " and its paradigmatic depositing using the element being not excluded for other than those of recording in the claims or step
?.The article " one " before element or "one" be not excluded for the presence of a plurality of such elements.The present invention can pass through
Hardware including several visibly different components, and realized by properly programmed computer.Enumerating several devices
In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance
Benefit states that the simple fact of certain measures does not indicate that the combination of these measures cannot be used to benefit in requiring.
If desired, different function discussed herein can be executed with different order and/or be executed simultaneously with one another.
In addition, if one or more functions described above can be optional or can be combined if expectation.
If desired, each step is not limited to the sequence that executes in each embodiment, different step as discussed above
It can be executed with different order and/or be executed simultaneously with one another.In addition, in other embodiments, described above one or more
A step can be optional or can be combined.
Although various aspects of the invention provide in the independent claim, other aspects of the invention include coming from
The combination of the dependent claims of the feature of described embodiment and/or the feature with independent claims, and not only
It is the combination clearly provided in claim.
It is to be noted here that although these descriptions are not the foregoing describe example embodiment of the invention
It should be understood in a limiting sense.It is wanted on the contrary, several change and modification can be carried out without departing from such as appended right
The scope of the present invention defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general meter
Device is calculated to realize, each module can concentrate in the group of networks of single computing device or computing device composition, and the present invention is real
The method that the device in example corresponds in previous embodiment is applied, can be realized, can also be led to by executable program code
The mode of integrated circuit combination is crossed to realize, therefore the invention is not limited to specific hardware or software and its combinations.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general shifting
Dynamic terminal realizes that each module can concentrate in the device combination of single mobile terminal or mobile terminal composition, the present invention
Device in embodiment corresponds to the method in previous embodiment, can be realized by editing executable program code,
It can be realized by way of integrated circuit combination, therefore the invention is not limited to specific hardware or softwares and its knot
It closes.
The present embodiment also provides a kind of computer equipment, can such as execute the smart phone, tablet computer, notebook of program
Computer, desktop computer, rack-mount server, blade server, tower server or Cabinet-type server are (including independent
Server cluster composed by server or multiple servers) etc..The computer equipment 20 of the present embodiment includes at least but not
It is limited to: memory 21, the processor 22 of connection can be in communication with each other by system bus, as shown in Figure 6.It is pointed out that Fig. 6
The computer equipment 20 with component 21-22 is illustrated only, it should be understood that being not required for implementing all groups shown
Part, the implementation that can be substituted is more or less component.
In the present embodiment, memory 21 (i.e. readable storage medium storing program for executing) includes flash memory, hard disk, multimedia card, card-type memory
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD etc..In some embodiments, memory 21 can be the internal storage unit of computer equipment 20, such as the calculating
The hard disk or memory of machine equipment 20.In further embodiments, memory 21 is also possible to the external storage of computer equipment 20
The plug-in type hard disk being equipped in equipment, such as the computer equipment 20, intelligent memory card (Smart Media Card, SMC), peace
Digital (Secure Digital, SD) card, flash card (Flash Card) etc..Certainly, memory 21 can also both include meter
The internal storage unit for calculating machine equipment 20 also includes its External memory equipment.In the present embodiment, memory 21 is commonly used in storage
Be installed on the operating system and types of applications software of computer equipment 20, for example, embodiment one RNNs neural network program generation
Code etc..In addition, memory 21 can be also used for temporarily storing the Various types of data that has exported or will export.
Processor 22 can be in some embodiments central processing unit (Central Processing Unit, CPU),
Controller, microcontroller, microprocessor or other data processing chips.The processor 22 is commonly used in control computer equipment
20 overall operation.In the present embodiment, program code or processing data of the processor 22 for being stored in run memory 21,
Such as realize each layer structure of deep learning model, the two dimensional code parsing side in video display process to realize above-described embodiment
Method.
The present embodiment also provides a kind of computer readable storage medium, such as flash memory, hard disk, multimedia card, card-type memory
(for example, SD or DX memory etc.), random access storage device (RAM), static random-access memory (SRAM), read-only memory
(ROM), electrically erasable programmable read-only memory (EEPROM), programmable read only memory (PROM), magnetic storage, magnetic
Disk, CD, server, App are stored thereon with computer program, phase are realized when program is executed by processor using store etc.
Answer function.The computer readable storage medium of the present embodiment is realized above-mentioned for storing financial small routine when being executed by processor
Two dimensional code analytic method in the video display process of embodiment.
Another embodiment for being related to computer program product includes corresponding in illustrated system and/or product at least
The computer executable instructions of each device in one device.These instructions can be subdivided into subroutine and/or be stored
In one or more possible static or dynamic link file.
The carrier of computer program can be any entity or device that can deliver program.For example, carrier can wrap
Containing storage medium, such as (ROM such as CDROM or semiconductor ROM) either magnetic recording media (such as floppy disk or hard disk).Into
One step, carrier can be the carrier that can be transmitted, such as electricity perhaps optical signalling its can via cable or optical cable, or
Person is transmitted by radio or other means.When program is embodied as such signal, carrier can be by such cable
Or device composition.Alternatively, carrier can be the integrated circuit for being wherein embedded with program, and the integrated circuit is suitable for holding
Row correlation technique, or used in execution for correlation technique.
Should be noted that embodiment mentioned above be illustrate the present invention, rather than limit the present invention, and this
The technical staff in field will design many alternate embodiments, without departing from scope of the appended claims.It is weighing
During benefit requires, the reference symbol of any placement between round parentheses is not to be read as being limitations on claims.Verb " packet
Include " and its paradigmatic depositing using the element being not excluded for other than those of recording in the claims or step
?.The article " one " before element or "one" be not excluded for the presence of a plurality of such elements.The present invention can pass through
Hardware including several visibly different components, and realized by properly programmed computer.Enumerating several devices
In device claim, several in these devices can be embodied by the same item of hardware.In mutually different appurtenance
Benefit states that the simple fact of certain measures does not indicate that the combination of these measures cannot be used to benefit in requiring.
If desired, different function discussed herein can be executed with different order and/or be executed simultaneously with one another.
In addition, if one or more functions described above can be optional or can be combined if expectation.
If desired, each step is not limited to the sequence that executes in each embodiment, different step as discussed above
It can be executed with different order and/or be executed simultaneously with one another.In addition, in other embodiments, described above one or more
A step can be optional or can be combined.
Although various aspects of the invention provide in the independent claim, other aspects of the invention include coming from
The combination of the dependent claims of the feature of described embodiment and/or the feature with independent claims, and not only
It is the combination clearly provided in claim.
It is to be noted here that although these descriptions are not the foregoing describe example embodiment of the invention
It should be understood in a limiting sense.It is wanted on the contrary, several change and modification can be carried out without departing from such as appended right
The scope of the present invention defined in asking.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general meter
Device is calculated to realize, each module can concentrate in the group of networks of single computing device or computing device composition, and the present invention is real
The method that the device in example corresponds in previous embodiment is applied, can be realized, can also be led to by executable program code
The mode of integrated circuit combination is crossed to realize, therefore the invention is not limited to specific hardware or software and its combinations.
Will be appreciated by those skilled in the art that each module in the device of the embodiment of the present invention can use general shifting
Dynamic terminal realizes that each module can concentrate in the device combination of single mobile terminal or mobile terminal composition, the present invention
Device in embodiment corresponds to the method in previous embodiment, can be realized by editing executable program code,
It can be realized by way of integrated circuit combination, therefore the invention is not limited to specific hardware or softwares and its knot
It closes.
Note that above are only exemplary embodiment of the present invention and institute's application technology principle.Those skilled in the art can manage
Solution, the invention is not limited to the specific embodiments described herein, is able to carry out various apparent changes for a person skilled in the art
Change, readjust and substitutes without departing from protection scope of the present invention.Therefore, although by above embodiments to the present invention into
It has gone and has been described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept,
It can also include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (9)
1. the two dimensional code analytic method in a kind of video display process, which is characterized in that the described method includes:
In video display process, determine that the temporal information of two dimensional code occurs in video playing interface;
The frame data that video is traversed according to the temporal information obtain the video for having two-dimensional barcode information from video requency frame data
Frame;
The video frame with two-dimensional barcode information is identified, recognition result is obtained;
Operation corresponding with the recognition result is executed according to recognition result.
2. the method according to claim 1, wherein the method also includes:
Strip operation is carried out to the video frame with two-dimensional barcode information, is obtained independently of the two dimensional code letter except video frame
Breath, comprising:
Screenshot is carried out to the video frame with two-dimensional barcode information;
The picture that two-dimensional barcode information is had after screenshot is subjected to division operation, including two-dimension code area and non-two-dimension code area;
Cut out the two-dimension code area from the picture with two-dimensional barcode information, and by the two-dimension code area from described
It removes, is obtained independently of the two-dimensional barcode information except video frame in picture with two-dimensional barcode information.
3. determining video playing circle the method according to claim 1, wherein described in video display process
There is the temporal information of two dimensional code in face, comprising:
In video display process, when detecting the touch control operation of video playing interface two dimensional code time of occurrence and region,
Determine that the temporal information of two dimensional code occurs in video playing interface at this time;
When the frame data for traversing video according to the temporal information, further includes:
When the video frame with two-dimensional barcode information is not detected in video requency frame data according to the temporal information, tracking is used
Algorithm carries out two dimensional code tracking to the video requency frame data, until tracking the video frame comprising the two-dimensional barcode information.
4. the method according to claim 1, wherein the calling suspended window, by suspended window by the identification
As a result it suspends and is shown in the video playing interface, comprising:
The two-dimension code image of equal proportion size is scaled according to the two-dimensional barcode information;
The two-dimensional barcode information is identified, recognition result is generated, comprising:
The two-dimension code image of the equal proportion size is added to the recognition result.
5. the two dimensional code resolver in a kind of video display process, which is characterized in that described device includes:
Determining module, for determining that the temporal information of two dimensional code occurs in video playing interface in video display process;
Module is obtained, for traversing the frame data of video according to the temporal information, is obtained from video requency frame data with two dimension
The video frame of code information;
Identification module obtains recognition result for identifying to the video frame with two-dimensional barcode information;
Jump module, for executing operation corresponding with the recognition result according to recognition result.
6. device according to claim 5, which is characterized in that the strip module, comprising:
Screenshot submodule, for carrying out screenshot to the video frame with two-dimensional barcode information;
Subregion submodule, for by after screenshot have two-dimensional barcode information picture carry out division operation, including two-dimension code area with
And non-two-dimension code area;
Submodule is cut, for cutting out the two-dimension code area from the picture with two-dimensional barcode information, and will be described
Two-dimension code area is removed from the picture with two-dimensional barcode information, is obtained independently of the two-dimensional barcode information except video frame.
7. device according to claim 5, which is characterized in that the determining module, comprising:
Touch control detection module, in video display process, when detecting video playing interface two dimensional code time of occurrence and institute
In the touch control operation in region, determine that the temporal information of two dimensional code occurs in video playing interface at this time;
The acquisition module is also used to:
When the video frame with two-dimensional barcode information is not detected in video requency frame data according to the temporal information, tracking is used
Algorithm carries out two dimensional code tracking to the video requency frame data, until tracking the video frame comprising the two-dimensional barcode information.
8. a kind of computer equipment, can run on a memory and on a processor including memory, processor and storage
Computer program, which is characterized in that the processor realizes any one of Claims 1-4 institute when executing the computer program
The step of stating method.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
The step of any one of Claims 1-4 the method is realized when processor executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910124576.1A CN109769133A (en) | 2019-02-19 | 2019-02-19 | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910124576.1A CN109769133A (en) | 2019-02-19 | 2019-02-19 | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109769133A true CN109769133A (en) | 2019-05-17 |
Family
ID=66457033
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910124576.1A Pending CN109769133A (en) | 2019-02-19 | 2019-02-19 | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109769133A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A kind of barcode scanning method, apparatus, mobile terminal and storage medium |
CN110689337A (en) * | 2019-08-20 | 2020-01-14 | 哈尔滨学院 | Intelligent prompting method and system based on QR Code two-dimensional Code |
CN111698550A (en) * | 2020-05-29 | 2020-09-22 | 维沃移动通信有限公司 | Information display method and device, electronic equipment and medium |
CN111935439A (en) * | 2020-08-12 | 2020-11-13 | 维沃移动通信有限公司 | Identification method and device and electronic equipment |
CN112257478A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Code scanning method, device, terminal and storage medium |
CN112418058A (en) * | 2020-11-19 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Video processing method and device |
CN112949800A (en) * | 2021-01-27 | 2021-06-11 | 中国银联股份有限公司 | Method, device and storage medium for generating, playing and processing graphic code video |
CN113592468A (en) * | 2021-07-12 | 2021-11-02 | 见面(天津)网络科技有限公司 | Online payment method and device based on two-dimensional code |
CN114862387A (en) * | 2022-07-04 | 2022-08-05 | 成都桐领智能科技有限公司 | Payment method, system and device based on credible bar code |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510269A (en) * | 2009-02-18 | 2009-08-19 | 深圳华为通信技术有限公司 | Method and device for acquiring two-dimensional code in video |
CN102393906A (en) * | 2011-07-12 | 2012-03-28 | 四川大学 | Computer vision inspection technology-based method for rapid detection and extraction of two-dimensional code |
US20120272279A1 (en) * | 2011-04-22 | 2012-10-25 | Uniwebs Co. Ltd. | Apparatus for providing internet protocol television broadcasting contents, user terminal and method for providing internet protocol television broadcasting contents information |
CN103577421A (en) * | 2012-07-23 | 2014-02-12 | 中国移动通信集团公司 | Method, device and system applying two-dimension code |
CN104219582A (en) * | 2014-09-02 | 2014-12-17 | 天津云辰科技有限公司 | Method and system for video player to acquire two-dimensional bar code information from videos |
CN104967870A (en) * | 2015-08-07 | 2015-10-07 | 广东金狮信息科技有限公司 | Method of playing video in mobile terminal and device |
CN107451507A (en) * | 2017-08-03 | 2017-12-08 | 青岛海信电器股份有限公司 | A kind of two-dimensional code identification method being used in dynamic image and device |
CN107872730A (en) * | 2016-09-28 | 2018-04-03 | 法乐第(北京)网络科技有限公司 | The acquisition methods and device of a kind of insertion content in video |
US20180131976A1 (en) * | 2016-10-11 | 2018-05-10 | Sasha Zabelin | Serializable visually unobtrusive scannable video codes |
-
2019
- 2019-02-19 CN CN201910124576.1A patent/CN109769133A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101510269A (en) * | 2009-02-18 | 2009-08-19 | 深圳华为通信技术有限公司 | Method and device for acquiring two-dimensional code in video |
US20120272279A1 (en) * | 2011-04-22 | 2012-10-25 | Uniwebs Co. Ltd. | Apparatus for providing internet protocol television broadcasting contents, user terminal and method for providing internet protocol television broadcasting contents information |
CN102393906A (en) * | 2011-07-12 | 2012-03-28 | 四川大学 | Computer vision inspection technology-based method for rapid detection and extraction of two-dimensional code |
CN103577421A (en) * | 2012-07-23 | 2014-02-12 | 中国移动通信集团公司 | Method, device and system applying two-dimension code |
CN104219582A (en) * | 2014-09-02 | 2014-12-17 | 天津云辰科技有限公司 | Method and system for video player to acquire two-dimensional bar code information from videos |
CN104967870A (en) * | 2015-08-07 | 2015-10-07 | 广东金狮信息科技有限公司 | Method of playing video in mobile terminal and device |
CN107872730A (en) * | 2016-09-28 | 2018-04-03 | 法乐第(北京)网络科技有限公司 | The acquisition methods and device of a kind of insertion content in video |
US20180131976A1 (en) * | 2016-10-11 | 2018-05-10 | Sasha Zabelin | Serializable visually unobtrusive scannable video codes |
CN107451507A (en) * | 2017-08-03 | 2017-12-08 | 青岛海信电器股份有限公司 | A kind of two-dimensional code identification method being used in dynamic image and device |
Non-Patent Citations (1)
Title |
---|
杨鲁南: "手机应用中的图像识别技术研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110443330A (en) * | 2019-07-31 | 2019-11-12 | 维沃移动通信有限公司 | A kind of barcode scanning method, apparatus, mobile terminal and storage medium |
CN110443330B (en) * | 2019-07-31 | 2023-09-22 | 维沃移动通信有限公司 | Code scanning method and device, mobile terminal and storage medium |
CN110689337A (en) * | 2019-08-20 | 2020-01-14 | 哈尔滨学院 | Intelligent prompting method and system based on QR Code two-dimensional Code |
CN111698550B (en) * | 2020-05-29 | 2023-08-15 | 维沃移动通信有限公司 | Information display method, device, electronic equipment and medium |
CN111698550A (en) * | 2020-05-29 | 2020-09-22 | 维沃移动通信有限公司 | Information display method and device, electronic equipment and medium |
CN111935439A (en) * | 2020-08-12 | 2020-11-13 | 维沃移动通信有限公司 | Identification method and device and electronic equipment |
CN112257478A (en) * | 2020-10-20 | 2021-01-22 | 北京字节跳动网络技术有限公司 | Code scanning method, device, terminal and storage medium |
CN112418058A (en) * | 2020-11-19 | 2021-02-26 | 上海哔哩哔哩科技有限公司 | Video processing method and device |
WO2022105419A1 (en) * | 2020-11-19 | 2022-05-27 | 上海哔哩哔哩科技有限公司 | Video processing method and apparatus |
CN112949800A (en) * | 2021-01-27 | 2021-06-11 | 中国银联股份有限公司 | Method, device and storage medium for generating, playing and processing graphic code video |
CN112949800B (en) * | 2021-01-27 | 2024-02-06 | 中国银联股份有限公司 | Method, apparatus and storage medium for generating, playing and processing graphic code video |
CN113592468A (en) * | 2021-07-12 | 2021-11-02 | 见面(天津)网络科技有限公司 | Online payment method and device based on two-dimensional code |
CN114862387B (en) * | 2022-07-04 | 2022-11-04 | 成都桐领智能科技有限公司 | Payment method, system and device based on credible bar code |
CN114862387A (en) * | 2022-07-04 | 2022-08-05 | 成都桐领智能科技有限公司 | Payment method, system and device based on credible bar code |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109769133A (en) | Two dimensional code analytic method, device and readable storage medium storing program for executing in video display process | |
US10425679B2 (en) | Method and device for displaying information on video image | |
CN109819340A (en) | Network address analysis method, device and readable storage medium storing program for executing in video display process | |
CN104487964B (en) | The method and apparatus for monitoring media presentation | |
CN111882582B (en) | Image tracking correlation method, system, device and medium | |
CN108024079A (en) | Record screen method, apparatus, terminal and storage medium | |
CN111654749B (en) | Video data production method and device, electronic equipment and computer readable medium | |
CN107221346B (en) | It is a kind of for determine AR video identification picture method and apparatus | |
CN109254709A (en) | Screenshotss processing method, device, equipment and machine readable media | |
US10798425B1 (en) | Personalized key object identification in a live video stream | |
KR102505973B1 (en) | Image processing apparatus, control method thereof and computer readable medium having computer program recorded therefor | |
CN110047513A (en) | A kind of video monitoring method, device, electronic equipment and storage medium | |
CN107770046A (en) | A kind of method and apparatus for picture mosaic | |
CN115445212A (en) | Game gift bag pushing method and device, computer equipment and storage medium | |
WO2018212924A1 (en) | Enhanced component latency tracking | |
CN114640868A (en) | Video drainage method and related equipment | |
CN105760420A (en) | Method and device for achieving interaction with content of multimedia file | |
US10834466B1 (en) | Virtual interactivity for a broadcast content-delivery medium | |
CN109561339A (en) | The treating method and apparatus of video file | |
CN112818719A (en) | Method and device for identifying two-dimensional code | |
CN105279014A (en) | Event processing systems and methods | |
CN109005449A (en) | Preventing recording by theft method, apparatus, storage medium and processor | |
CN111400137B (en) | Storage method and device of monitoring event, mobile terminal and storage medium | |
CN113965665A (en) | Method and equipment for determining virtual live broadcast image | |
CN114286160A (en) | Video playing method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20190517 |