CN104735518A - Information display method and device - Google Patents

Information display method and device Download PDF

Info

Publication number
CN104735518A
CN104735518A CN201510150458.XA CN201510150458A CN104735518A CN 104735518 A CN104735518 A CN 104735518A CN 201510150458 A CN201510150458 A CN 201510150458A CN 104735518 A CN104735518 A CN 104735518A
Authority
CN
China
Prior art keywords
target information
information
region
foreground object
motion
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510150458.XA
Other languages
Chinese (zh)
Other versions
CN104735518B (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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN201510150458.XA priority Critical patent/CN104735518B/en
Publication of CN104735518A publication Critical patent/CN104735518A/en
Application granted granted Critical
Publication of CN104735518B publication Critical patent/CN104735518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information display method and device, and relates to the technical field of information processing. The method comprises the steps that the position information PTF of target information when the target information is displayed on a previous frame FF of a current video frame FC is obtained; the position information PTC of the target information when the target information is displayed on the FC is predicted according to the PTF and the preset target information movement rule; the position information PFC of a foreground object in the FC is obtained; whether an overlap area exists between the PTC and the PFC or not is judged; if yes, the display mode of the target information is determined according to the PTC and the PFC to avoid or reduce the shielding of the target information on the foreground object when the target information is displayed on the FC; the target information is displayed on the FC according to the determined display mode. By means of the scheme provided by the embodiment to display the information, on the premise that the effect on a user to normally watch a video is reduced, the information can be displayed on video frames of the video watched by the user.

Description

A kind of information displaying method and device
Technical field
The present invention relates to technical field of information processing, particularly a kind of information displaying method and device.
Background technology
Along with the fast development of network technology, hardware technology etc., increasing user watches video frequency program by network, and Internet video becomes a part very important in people's life gradually.
Each operator is in order to farthest attract user, attempting providing diversified visual experience to user always, wish while showing colourful video frequency program to user, just on the current video frame of displaying video, the information such as word, figure relevant to the content of current video frame can shown to user.Think that user provides a kind of brand-new visual effect.
In prior art, just in each frame of video of displaying video to user's exhibition information time, generally, each bar information that show moves on video playback interface according to the sports rule preset, and is formed and is usually referred to as the visual effect of " barrage ".But, when application aforesaid way carries out information display, do not consider the content object in each frame of video, the content object that user will watch may be blocked when each bar information of showing moves on broadcast interface, affect user and normally watch video, when the information that will show is many, this situation is even more serious.
Summary of the invention
The embodiment of the invention discloses a kind of information displaying method and device, to reduce under the prerequisite of user normally being watched to video impact, user watch video each frame of video on to user's exhibition information.
For achieving the above object, the embodiment of the invention discloses a kind of information displaying method, described method comprises:
Obtain at current video frame F cformer frame F fthe positional information P of described target information during upper displaying target information tF;
According to described P tFwith the target information sports rule preset, predict at described F cthe positional information P of described target information during upper displaying described target information tC;
Obtain described F cthe positional information P of middle foreground object fC;
Judge described P tCwith described P fCbetween whether there is overlapping region;
If exist, according to described P tCwith described P fCdetermine the display mode of described target information, to avoid or to reduce at described F cduring the described target information of upper displaying, described target information is to described F cblocking of middle foreground object;
According to determined display mode at described F cthe described target information of upper displaying.
In a kind of specific implementation of the present invention, the described F of described acquisition cthe positional information P of middle foreground object fC, comprising:
Determine apart from described F cnearest key frame F k;
Obtain described F kthe positional information P of middle foreground object fK;
According to described P fK, described F cwith described F kbetween difference, determine described F cthe positional information P of middle foreground object fC.
In a kind of specific implementation of the present invention, described default target information sports rule comprises: the direction of motion of described target information;
Described according to described P tCwith described P fCdetermine the display mode of described target information, comprising:
Determine described P tCwith described P fCbetween overlapping region A cwith non-coincidence region A d;
Along the direction of motion of described target information, or be the direction of predetermined angle along the direction of motion angle with described target information, at described F cin the non-foreground object region adjacent with foreground object region determine described A ccorresponding region A' c;
At described F cin correspond to described A' cwith described A dregion on show described target information.
In a kind of specific implementation of the present invention, when described predetermined angle is greater than 90 degree,
Described at described F cin correspond to described A' cwith described A dregion on show described target information, comprising:
At described F cin correspond to A' cregion on, the oppositely described A' of display ccontent in corresponding described target information, the direction of motion upgrading the described target information that described default target information sports rule comprises is be the direction of motion of predetermined angle with the direction of motion angle of current goal information;
At described F cin correspond to A dregion on, forward shows described A dcontent in corresponding described target information.
In a kind of specific implementation of the present invention, described according to described P tCwith described P fCdetermine the display mode of described target information, comprising:
Determine described P tCwith described P fCbetween overlapping region and non-coincidence region;
With the first transparency preset, at described F cin position corresponding to above-mentioned overlapping region is shown content in the described target information that above-mentioned overlapping region is corresponding;
With the second transparency preset, at described F cin position corresponding to above-mentioned non-coincidence region is shown content in the described target information that above-mentioned non-coincidence region is corresponding.
For achieving the above object, the embodiment of the invention discloses a kind of device for displaying information, described device comprises:
Primary importance information acquisition module, for obtaining at current video frame F cformer frame F fthe positional information P of described target information during upper displaying target information tF;
Positional information prediction module, for according to described P tFwith the target information sports rule preset, predict at described F cthe positional information P of described target information during upper displaying described target information tC;
Second place information acquisition module, for obtaining described F cthe positional information P of middle foreground object fC;
Overlapping region judge module, for judging described P tCwith described P fCbetween whether there is overlapping region;
Display mode determination module, for when the judged result of described overlapping region judge module is for being, according to described P tCwith described P fCdetermine the display mode of described target information, to avoid or to reduce at described F cduring the described target information of upper displaying, described target information is to described F cblocking of middle foreground object;
Information display module, for according to determined display mode at described F cthe described target information of upper displaying.
In a kind of specific implementation of the present invention, described second place information acquisition module, comprising:
Key frame determination submodule, for determining apart from described F cnearest key frame F k;
Positional information obtains submodule, for obtaining described F kthe positional information P of middle foreground object fK;
Positional information determination submodule, for according to described P fK, described F cwith described F kbetween difference, determine described F cthe positional information P of middle foreground object fC.
In a kind of specific implementation of the present invention, described default target information sports rule comprises: the direction of motion of described target information;
Described display mode determination module, comprising:
Submodule is determined in first area, for determining described P tCwith described P fCbetween overlapping region A cwith non-coincidence region A d;
Second area determination submodule for the direction of motion along described target information, or is the direction of predetermined angle along the direction of motion angle with described target information, at described F cin the non-foreground object region adjacent with foreground object region determine described A ccorresponding region A' c;
The first information shows submodule, at described F cin correspond to described A' cwith described A dregion on show described target information.
In a kind of specific implementation of the present invention, the described first information shows submodule, comprising:
First information display unit, for when described predetermined angle is greater than 90 degree, at described F cin correspond to A' cregion on, the oppositely described A' of display ccontent in corresponding described target information, the direction of motion upgrading the described target information that described default target information sports rule comprises is be the direction of motion of predetermined angle with the direction of motion angle of current goal information;
Second information display unit, at described A' cfor determine along the direction contrary with the direction of motion of described target information region when, at described F cin correspond to A dregion on, forward shows described A dcontent in corresponding described target information.
In a kind of specific implementation of the present invention, described display mode determination module, comprising:
Submodule is determined in 3rd region, for determining described P tCwith described P fCbetween overlapping region and non-coincidence region;
Second information display submodule, for the first transparency preset, at described F cin position corresponding to above-mentioned overlapping region is shown content in the described target information that above-mentioned overlapping region is corresponding;
3rd information display submodule, for the second transparency preset, at described F cin position corresponding to above-mentioned non-coincidence region is shown content in the described target information that above-mentioned non-coincidence region is corresponding.
As seen from the above, in the scheme that the embodiment of the present invention provides, according to the positional information of target information when showing target information in the former frame of current video frame and the target information sports rule preset, after predicting the positional information of target information when showing target information on current video frame, in conjunction with the positional information of foreground object in current video frame, determine the display mode of target information, and on current video frame, show target information with determined display mode.Due to when determining the display mode of target information, consider that prediction obtains on current video frame, show target information time the positional information of target information and current video frame in the positional information of foreground object, so, target information blocking foreground object in current video frame when determined information display methods can be avoided or reduce showing target information on current video frame, in addition, again due to user watch video time, higher to the attention rate of foreground object in frame of video, so, more than comprehensive, the scheme that theres is provided of the application embodiment of the present invention is in frame of video during exhibition information, impact user normally being watched to video can be reduced.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of exemplary plot applying information displaying method in prior art;
The schematic flow sheet of a kind of information displaying method that Fig. 2 provides for the embodiment of the present invention;
The exemplary plot of the information displaying method that Fig. 3 provides for the first application embodiment of the present invention;
The exemplary plot of the information displaying method that Fig. 4 provides for the second application embodiment of the present invention;
The exemplary plot of the information displaying method that Fig. 5 provides for the third application embodiment of the present invention;
The structural representation of a kind of device for displaying information that Fig. 6 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Fig. 1 is a kind of exemplary plot applying information displaying method in prior art, as can be seen from the figure, apply information displaying method of the prior art and can show many information in frame of video, but when institute's exhibition information is arranged on figure human face region, user clearly cannot see the expression etc. of personage, and then affects user and normally watch video.Based on this, the present invention proposes a kind of information displaying method and device.
The schematic flow sheet of a kind of information displaying method that Fig. 2 provides for the embodiment of the present invention, the method comprises:
S201: obtain at current video frame F cformer frame F fthe positional information P of target information during upper displaying target information tF.
S202: according to P tFwith the target information sports rule preset, predict at F cthe positional information P of target information during upper displaying target information tC.
Wherein, the target information sports rule preset can be the sports rule for rectilinear motion, also can be the sports rule for curvilinear motion.Can comprise in this target information sports rule preset: the direction of motion of target information, movement velocity of target information etc. information, certainly, the application does not limit the information comprised in above-mentioned sports rule.
In a kind of optional implementation, predict at F cthe positional information P of target information during upper displaying target information tCtime, can directly according to above-mentioned P tF, the direction of motion of combining target information and the movement velocity of target information calculate.
S203: obtain F cthe positional information P of middle foreground object fC.
Under normal circumstances, the content object in frame of video can be divided into foreground object and background object two kinds.User is generally higher to the attention rate of foreground object, and lower to the attention rate of background object.
In a kind of specific implementation, operation and maintenance personnel can pass through foreground object recognizer, identify the foreground object in each frame of video of whole video in advance, and will identify that the positional information of the foreground object obtained is stored in the file preset, when needs obtain F cthe positional information P of middle foreground object fCtime, directly read from the above-mentioned file preset.
In another kind of specific implementation, also can not obtain the positional information of the foreground object in each frame of video of whole video in advance when computational resource allows, but at broadcasting F cin time, directly identifies according to foreground object recognizer, obtains F cthe positional information P of middle foreground object fC, because the computation complexity of foreground object recognizer is under normal circumstances higher, the requirement of this implementation to hardware resource is higher.
Above-mentioned foreground object recognizer can comprise: face recognition algorithms, Boundary extracting algorithm etc., and these algorithms belong to the technology of comparative maturity in prior art, no longer describe in detail here.
In addition, because video data in practical application exists with the form of encoding code stream, and when video information being encoded according to encryption algorithm under normal circumstances, at regular intervals key frame can be set in code stream, to ensure that decoder is when decoding exists the code stream of the problems such as loss of data, can return to normal decoder state from abnormal decoded state fast.In addition, again due to the frame of video negligible amounts between each key frame and next key frame, so, there is stronger correlation between a key frame and each frame of video between itself and next key frame, therefore, at acquisition F cthe positional information P of middle foreground object fCtime, first can determine distance F cnearest key frame F k, obtain F kthe positional information P of middle foreground object fK, then according to P fK, F cwith F kbetween difference, determine F cthe positional information P of middle foreground object fC.
Wherein, F is obtained kthe positional information P of middle foreground object fKtime, can to read from the file preset and to obtain, can also be at displaying F kin time, obtains according to the identification of foreground object recognizer, and the application does not limit this.
It should be noted that, according to according to P fK, F cwith F kbetween difference, determine F cthe positional information P of middle foreground object fCwhen, can the positional information of foreground object in each key frame of a recording of video in the file preset.
F is obtained with according to the identification of foreground object recognizer cthe mode of the positional information of middle foreground object is compared, and utilizes distance F cnearest key frame F kinformation, obtain F cthe positional information of middle foreground object, can save amount of calculation greatly, improves computational speed.
F cwith F kbetween difference can pass through F cwith F kbetween the difference of pixel value of corresponding pixel points represent, can also be obtained etc. by the motion vector that each encoding block in encoding code stream is corresponding.
S204: judge P tCand P fCbetween whether there is overlapping region, if exist, perform S205, if do not exist, perform S207.
S205: according to P tCand P fCdetermine the display mode of target information.
When determining the display mode of target information, consider P tCand P fC, can avoid or reduce at F like this cduring upper displaying target information, target information is to F cblocking of middle foreground object.
When determining the display mode of target information, can from the viewpoint of show target information position, show target information time information transparency etc., to reduce displaying the blocking foreground object in frame of video of target information.
When the above-mentioned target information sports rule preset comprises the direction of motion of target information, in a kind of specific implementation, according to P tCand P fCwhen determining the display mode of target information, first can determine P tCand P fCbetween overlapping region A cwith non-coincidence region A d, then along the direction of motion of target information, or be the direction of predetermined angle along the direction of motion angle with target information, at F cin the non-foreground object region adjacent with foreground object region determine A ccorresponding region A' c, and at F cin correspond to A' cand A dregion on show target information.
Wherein, predetermined angle can for being greater than the arbitrary value of zero degree, such as, 90 degree, 45 degree, 125 degree, 180 degree etc., wherein, 180 degree, namely contrary with the direction of motion of target information direction.
It should be noted that, A' cwith A dcan not overlap.
The A' obtained is determined through aforesaid way cand A dall and P fCbetween there is not overlapping region, so at F cin correspond to A' cand A dregion on can not block foreground object in this frame of video when showing target information, again because user compares the foreground object paid close attention in frame of video, usually so user normally can watch video in this case.
Wherein, when predetermined angle is greater than 90 degree, at F cin correspond to A' cand A dregion on show that target information can comprise:
At F cin correspond to A' cregion on, oppositely show A' ccontent in corresponding target information, the direction of motion upgrading the target information that the target information sports rule preset comprises is be the direction of predetermined angle with the direction of motion angle of current goal information;
At F cin correspond to A dregion on, forward display A dcontent in corresponding target information.
See Fig. 3, provide the exemplary plot of the information displaying method that the first application embodiment of the present invention provides, A' in this figure cfor what determine along the direction of motion of target information, target information is moved from left to right along horizontal direction, and wherein, foreground object is the personage in figure, as the A judging above-mentioned cwhen being positioned at the left belly of foreground object, the direction of motion along target information determines A' in the background area, right side of foreground object c, and carry out information display, define the effect of similar " transmission gate ".
See Fig. 4, provide the exemplary plot of the information displaying method that the second application embodiment of the present invention provides, A' in this figure cfor what determine along the direction contrary with the direction of motion of target information, target information is moved from left to right along horizontal direction, and wherein, foreground object is the personage in figure, as the A judging above-mentioned cwhen being positioned at the left belly of foreground object, in the left dorsal scene area of foreground object, determine A' along the direction contrary with the direction of motion of target information c, A' cnot with A doverlap, and carry out information display, define the effect of similar " bounce-back ".
Predict the region of the displaying target information obtained with foreground area when the left side of this foreground area overlaps,
In another kind of implementation, according to P tCand P fCwhen determining the display mode of target information, determining P tCwith P fCbetween overlapping region and non-coincidence region after, with preset the first transparency, at F cin position corresponding to above-mentioned overlapping region is shown content in the target information that above-mentioned overlapping region is corresponding, with the second transparency preset, at F cin position corresponding to above-mentioned non-coincidence region is shown content in the target information that above-mentioned non-coincidence region is corresponding.
Above-mentioned the first transparency preset can be equal with the second transparency preset, also can be unequal.Suppose, represent completely opaque in practical application with 0,1 represents completely transparent, then preferably, the first transparency preset can be 1, now, at F cin F is only shown in position corresponding to above-mentioned overlapping region cthe information of self, and do not show the content in corresponding target information, in this case, only at F cin position corresponding to above-mentioned non-coincidence region is shown content in the target information that above-mentioned non-coincidence region is corresponding, in this case, the target information of showing also can not block the foreground object in frame of video, and user can just produce viewing video.
See Fig. 5, provide the exemplary plot of the information displaying method that the third application embodiment of the present invention provides, wherein, foreground object is the personage in figure, at A' ccontent in the translucent display-object information in region, at A dcontent in the normal display-object information in region.
S206: according to determined display mode at F cupper displaying target information.
S207: process ends.
As seen from the above, in the scheme that the present embodiment provides, according to the positional information of target information when showing target information in the former frame of current video frame and the target information sports rule preset, after predicting the positional information of target information when showing target information on current video frame, in conjunction with the positional information of foreground object in current video frame, determine the display mode of target information, and on current video frame, show target information with determined display mode.Due to when determining the display mode of target information, consider that prediction obtains on current video frame, show target information time the positional information of target information and current video frame in the positional information of foreground object, so, target information blocking foreground object in current video frame when determined information display methods can be avoided or reduce showing target information on current video frame, in addition, again due to user watch video time, higher to the attention rate of foreground object in frame of video, so, more than comprehensive, the scheme that theres is provided of application the present embodiment is in frame of video during exhibition information, impact user normally being watched to video can be reduced.
The structural representation of a kind of device for displaying information that Fig. 6 provides for the embodiment of the present invention, this device comprises: primary importance information acquisition module 601, positional information prediction module 602, second place information acquisition module 603, overlapping region judge module 604, display mode determination module 605 and information display module 606.
Wherein, primary importance information acquisition module 601, for obtaining at current video frame F cformer frame F fthe positional information P of described target information during upper displaying target information tF;
Positional information prediction module 602, for according to described P tFwith the target information sports rule preset, predict at described F cthe positional information P of described target information during upper displaying described target information tC;
Second place information acquisition module 603, for obtaining described F cthe positional information P of middle foreground object fC;
Overlapping region judge module 604, for judging described P tCwith described P fCbetween whether there is overlapping region;
Display mode determination module 605, for when the judged result of described overlapping region judge module is for being, according to described P tCwith described P fCdetermine the display mode of described target information, to avoid or to reduce at described F cduring the described target information of upper displaying, described target information is to described F cblocking of middle foreground object;
Information display module 606, for according to determined display mode at described F cthe described target information of upper displaying.
Concrete, described second place information acquisition module 603 can comprise: key frame determination submodule, positional information obtain submodule and positional information determination submodule (not shown).
Wherein, key frame determination submodule, for determining apart from described F cnearest key frame F k;
Positional information obtains submodule, for obtaining described F kthe positional information P of middle foreground object fK;
Positional information determination submodule, for according to described P fK, described F cwith described F kbetween difference, determine described F cthe positional information P of middle foreground object fC.
Concrete, described default target information sports rule comprises: the direction of motion of described target information;
Described display mode determination module 605 can comprise: first area determines that submodule, second area determination submodule and the first information show submodule (not shown).
Wherein, submodule is determined in first area, for determining described P tCwith described P fCbetween overlapping region A cwith non-coincidence region A d;
Second area determination submodule for the direction of motion along described target information, or is the direction of predetermined angle along the direction of motion angle with described target information, at described F cin the non-foreground object region adjacent with foreground object region determine described A ccorresponding region A' c;
The first information shows submodule, at described F cin correspond to described A' cwith described A dregion on show described target information.
Concrete, the above-mentioned first information shows that submodule can comprise: first information display unit and the second information display unit (not shown).
Wherein, first information display unit, for when described predetermined angle is greater than 90 degree, at described F cin correspond to A' cregion on, the oppositely described A' of display ccontent in corresponding described target information, the direction of motion upgrading the described target information that described default target information sports rule comprises is be the direction of motion of predetermined angle with the direction of motion angle of current goal information;
Second information display unit, at described A' cfor determine along the direction contrary with the direction of motion of described target information region when, at described F cin correspond to A dregion on, forward shows described A dcontent in corresponding described target information.
Concrete, described display mode determination module 605 can comprise: submodule, the second information display submodule and the 3rd information display submodule (not shown) are determined in the 3rd region.
Wherein, submodule is determined in the 3rd region, for determining described P tCwith described P fCbetween overlapping region and non-coincidence region;
Second information display submodule, for the first transparency preset, at described F cin position corresponding to above-mentioned overlapping region is shown content in the described target information that above-mentioned overlapping region is corresponding;
3rd information display submodule, for the second transparency preset, at described F cin position corresponding to above-mentioned non-coincidence region is shown content in the described target information that above-mentioned non-coincidence region is corresponding.
As seen from the above, in the scheme that the present embodiment provides, according to the positional information of target information when showing target information in the former frame of current video frame and the target information sports rule preset, after predicting the positional information of target information when showing target information on current video frame, in conjunction with the positional information of foreground object in current video frame, determine the display mode of target information, and on current video frame, show target information with determined display mode.Due to when determining the display mode of target information, consider that prediction obtains on current video frame, show target information time the positional information of target information and current video frame in the positional information of foreground object, so, target information blocking foreground object in current video frame when determined information display methods can be avoided or reduce showing target information on current video frame, in addition, again due to user watch video time, higher to the attention rate of foreground object in frame of video, so, more than comprehensive, the scheme that theres is provided of application the present embodiment is in frame of video during exhibition information, impact user normally being watched to video can be reduced.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
It should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
One of ordinary skill in the art will appreciate that all or part of step realized in said method execution mode is that the hardware that can carry out instruction relevant by program has come, described program can be stored in computer read/write memory medium, here the alleged storage medium obtained, as: ROM/RAM, magnetic disc, CD etc.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.All any amendments done within the spirit and principles in the present invention, equivalent replacement, improvement etc., be all included in protection scope of the present invention.

Claims (10)

1. an information displaying method, is characterized in that, described method comprises:
Obtain at current video frame F cformer frame F fthe positional information P of described target information during upper displaying target information tF;
According to described P tFwith the target information sports rule preset, predict at described F cthe positional information P of described target information during upper displaying described target information tC;
Obtain described F cthe positional information P of middle foreground object fC;
Judge described P tCwith described P fCbetween whether there is overlapping region;
If exist, according to described P tCwith described P fCdetermine the display mode of described target information, to avoid or to reduce at described F cduring the described target information of upper displaying, described target information is to described F cblocking of middle foreground object;
According to determined display mode at described F cthe described target information of upper displaying.
2. method according to claim 1, is characterized in that, the described F of described acquisition cthe positional information P of middle foreground object fC, comprising:
Determine apart from described F cnearest key frame F k;
Obtain described F kthe positional information P of middle foreground object fK;
According to described P fK, described F cwith described F kbetween difference, determine described F cthe positional information P of middle foreground object fC.
3. method according to claim 1 and 2, is characterized in that,
Described default target information sports rule comprises: the direction of motion of described target information;
Described according to described P tCwith described P fCdetermine the display mode of described target information, comprising:
Determine described P tCwith described P fCbetween overlapping region A cwith non-coincidence region A d;
Along the direction of motion of described target information, or be the direction of predetermined angle along the direction of motion angle with described target information, at described F cin the non-foreground object region adjacent with foreground object region determine described A ccorresponding region A ' c;
At described F cin correspond to described A ' cwith described A dregion on show described target information.
4. method according to claim 3, is characterized in that, when described predetermined angle is greater than 90 degree,
Described at described F cin correspond to described A ' cwith described A dregion on show described target information, comprising:
At described F cin correspond to A ' cregion on, the oppositely described A ' of display ccontent in corresponding described target information, the direction of motion upgrading the described target information that described default target information sports rule comprises is be the direction of motion of predetermined angle with the direction of motion angle of current goal information;
At described F cin correspond to A dregion on, forward shows described A dcontent in corresponding described target information.
5. method according to claim 1 and 2, is characterized in that, described according to described P tCwith described P fCdetermine the display mode of described target information, comprising:
Determine described P tCwith described P fCbetween overlapping region and non-coincidence region;
With the first transparency preset, at described F cin position corresponding to above-mentioned overlapping region is shown content in the described target information that above-mentioned overlapping region is corresponding;
With the second transparency preset, at described F cin position corresponding to above-mentioned non-coincidence region is shown content in the described target information that above-mentioned non-coincidence region is corresponding.
6. a device for displaying information, is characterized in that, described device comprises:
Primary importance information acquisition module, for obtaining at current video frame F cformer frame F fthe positional information P of described target information during upper displaying target information tF;
Positional information prediction module, for according to described P tFwith the target information sports rule preset, predict at described F cthe positional information P of described target information during upper displaying described target information tC;
Second place information acquisition module, for obtaining described F cthe positional information P of middle foreground object fC;
Overlapping region judge module, for judging described P tCwith described P fCbetween whether there is overlapping region;
Display mode determination module, for when the judged result of described overlapping region judge module is for being, according to described P tCwith described P fCdetermine the display mode of described target information, to avoid or to reduce at described F cduring the described target information of upper displaying, described target information is to described F cblocking of middle foreground object;
Information display module, for according to determined display mode at described F cthe described target information of upper displaying.
7. device according to claim 6, is characterized in that, described second place information acquisition module, comprising:
Key frame determination submodule, for determining apart from described F cnearest key frame F k;
Positional information obtains submodule, for obtaining described F kthe positional information P of middle foreground object fK;
Positional information determination submodule, for according to described P fK, described F cwith described F kbetween difference, determine described F cthe positional information P of middle foreground object fC.
8. the device according to claim 6 or 7, is characterized in that,
Described default target information sports rule comprises: the direction of motion of described target information;
Described display mode determination module, comprising:
Submodule is determined in first area, for determining described P tCwith described P fCbetween overlapping region A cwith non-coincidence region A d;
Second area determination submodule for the direction of motion along described target information, or is the direction of predetermined angle along the direction of motion angle with described target information, at described F cin the non-foreground object region adjacent with foreground object region determine described A ccorresponding region A ' c;
The first information shows submodule, at described F cin correspond to described A ' cwith described A dregion on show described target information.
9. device according to claim 8, is characterized in that, the described first information shows submodule, comprising:
First information display unit, for when described predetermined angle is greater than 90 degree, at described F cin correspond to A ' cregion on, the oppositely described A ' of display ccontent in corresponding described target information, the direction of motion upgrading the described target information that described default target information sports rule comprises is be the direction of motion of predetermined angle with the direction of motion angle of current goal information;
Second information display unit, at described A ' cfor determine along the direction contrary with the direction of motion of described target information region when, at described F cin correspond to A dregion on, forward shows described A dcontent in corresponding described target information.
10. the device according to claim 6 or 7, is characterized in that, described display mode determination module, comprising:
Submodule is determined in 3rd region, for determining described P tCwith described P fCbetween overlapping region and non-coincidence region;
Second information display submodule, for the first transparency preset, at described F cin position corresponding to above-mentioned overlapping region is shown content in the described target information that above-mentioned overlapping region is corresponding;
3rd information display submodule, for the second transparency preset, at described F cin position corresponding to above-mentioned non-coincidence region is shown content in the described target information that above-mentioned non-coincidence region is corresponding.
CN201510150458.XA 2015-03-31 2015-03-31 A kind of information displaying method and device Active CN104735518B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510150458.XA CN104735518B (en) 2015-03-31 2015-03-31 A kind of information displaying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510150458.XA CN104735518B (en) 2015-03-31 2015-03-31 A kind of information displaying method and device

Publications (2)

Publication Number Publication Date
CN104735518A true CN104735518A (en) 2015-06-24
CN104735518B CN104735518B (en) 2019-02-22

Family

ID=53458881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510150458.XA Active CN104735518B (en) 2015-03-31 2015-03-31 A kind of information displaying method and device

Country Status (1)

Country Link
CN (1) CN104735518B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105430471A (en) * 2015-11-26 2016-03-23 无锡天脉聚源传媒科技有限公司 Method and device for displaying live commenting in video
CN105959814A (en) * 2016-06-01 2016-09-21 上海幻电信息科技有限公司 Scene-recognition-based video bullet screen display method and display apparatus thereof
CN106249980A (en) * 2015-09-25 2016-12-21 北京智谷睿拓技术服务有限公司 Information demonstrating method based on barrage, information presentation device and subscriber equipment
CN106303731A (en) * 2016-08-01 2017-01-04 北京奇虎科技有限公司 The display packing of barrage and device
CN108319683A (en) * 2018-01-31 2018-07-24 广东欧珀移动通信有限公司 Webpage display process, device and terminal
CN108401177A (en) * 2018-02-27 2018-08-14 上海哔哩哔哩科技有限公司 Video broadcasting method, server and audio/video player system
CN110765377A (en) * 2018-07-27 2020-02-07 北京华通人商用信息有限公司 Data loading method and device
CN111212246A (en) * 2019-06-13 2020-05-29 浙江大华技术股份有限公司 Video generation method and device, computer equipment and storage medium
CN115086738A (en) * 2022-06-07 2022-09-20 广州博冠信息科技有限公司 Information adding method and device, computer equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602051A (en) * 2003-09-26 2005-03-30 松下电器产业株式会社 Apparatus for generating video contents with balloon captions
CN101420556A (en) * 2008-11-19 2009-04-29 康佳集团股份有限公司 Television subtitle shielding method and system
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN102685413A (en) * 2012-05-11 2012-09-19 青岛海信电器股份有限公司 Method and system for simultaneously displaying caption and menu
CN103686095A (en) * 2014-01-02 2014-03-26 中安消技术有限公司 Video concentration method and system
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device
US20150071608A1 (en) * 2013-09-06 2015-03-12 Kabushiki Kaisha Toshiba Receiving device, transmitting device and transmitting/receiving system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1602051A (en) * 2003-09-26 2005-03-30 松下电器产业株式会社 Apparatus for generating video contents with balloon captions
CN101420556A (en) * 2008-11-19 2009-04-29 康佳集团股份有限公司 Television subtitle shielding method and system
CN101917557A (en) * 2010-08-10 2010-12-15 浙江大学 Method for dynamically adding subtitles based on video content
CN102685413A (en) * 2012-05-11 2012-09-19 青岛海信电器股份有限公司 Method and system for simultaneously displaying caption and menu
US20150071608A1 (en) * 2013-09-06 2015-03-12 Kabushiki Kaisha Toshiba Receiving device, transmitting device and transmitting/receiving system
CN103686095A (en) * 2014-01-02 2014-03-26 中安消技术有限公司 Video concentration method and system
CN104238911A (en) * 2014-08-20 2014-12-24 小米科技有限责任公司 Loading icon display method and device

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106249980B (en) * 2015-09-25 2019-08-06 北京智谷睿拓技术服务有限公司 Information demonstrating method, information presentation device and user equipment based on barrage
CN106249980A (en) * 2015-09-25 2016-12-21 北京智谷睿拓技术服务有限公司 Information demonstrating method based on barrage, information presentation device and subscriber equipment
CN105430471B (en) * 2015-11-26 2018-07-24 无锡天脉聚源传媒科技有限公司 The display methods and device of barrage in a kind of video
CN105430471A (en) * 2015-11-26 2016-03-23 无锡天脉聚源传媒科技有限公司 Method and device for displaying live commenting in video
CN105959814A (en) * 2016-06-01 2016-09-21 上海幻电信息科技有限公司 Scene-recognition-based video bullet screen display method and display apparatus thereof
CN105959814B (en) * 2016-06-01 2018-08-17 上海幻电信息科技有限公司 Video barrage display methods based on scene Recognition and its display device
CN106303731A (en) * 2016-08-01 2017-01-04 北京奇虎科技有限公司 The display packing of barrage and device
CN108319683A (en) * 2018-01-31 2018-07-24 广东欧珀移动通信有限公司 Webpage display process, device and terminal
CN108401177A (en) * 2018-02-27 2018-08-14 上海哔哩哔哩科技有限公司 Video broadcasting method, server and audio/video player system
US10810434B2 (en) 2018-02-27 2020-10-20 Shanghai Bilibili Technology Co., Ltd. Movement and transparency of comments relative to video frames
CN110765377A (en) * 2018-07-27 2020-02-07 北京华通人商用信息有限公司 Data loading method and device
CN110765377B (en) * 2018-07-27 2023-05-23 北京华通人商用信息有限公司 Data loading method and device
CN111212246A (en) * 2019-06-13 2020-05-29 浙江大华技术股份有限公司 Video generation method and device, computer equipment and storage medium
CN115086738A (en) * 2022-06-07 2022-09-20 广州博冠信息科技有限公司 Information adding method and device, computer equipment and storage medium
CN115086738B (en) * 2022-06-07 2024-06-11 广州博冠信息科技有限公司 Information adding method, information adding device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN104735518B (en) 2019-02-22

Similar Documents

Publication Publication Date Title
CN104735518A (en) Information display method and device
US9563983B2 (en) Filtering information within augmented reality overlays
CN110692251B (en) Method and system for combining digital video content
US9762846B2 (en) Real-time hyper-lapse video creation via frame selection
US9432722B2 (en) Reducing interference of an overlay with underlying content
US9557951B2 (en) Filtering information within augmented reality overlays
CN102880381B (en) Context aware user interface system
US9953462B2 (en) Augmented reality skin manager
CN103797783A (en) Comment information generation device and comment information generation method
CN115883899A (en) Image on-screen playing method and system, electronic equipment and readable storage medium
US10623683B1 (en) Methods and apparatus for improving image retention
CN112991274B (en) Crowd counting method and device, computer equipment and storage medium
US20200285857A1 (en) Method and apparatus for applying video viewing behavior
CN111010606B (en) Video processing method and device
CN112399265B (en) Method and system for adding content to image based on negative space recognition
CN115866314A (en) Video playing method and device
WO2019110873A1 (en) Method and apparatus for defining a storyline based on path probabilities
US11386683B1 (en) Detection and recognition of overlaid content within video content
CA2805308A1 (en) Methods and apparatus to perform animation smoothing
CN102065301A (en) Method and device for coding detecting information in intelligent monitoring system
CN105809659A (en) Video detection method and device
CN114697656B (en) Encoding method, encoding device, electronic equipment and medium
KR102012376B1 (en) Method and apparatus for managing power of ar device
US20240155107A1 (en) Video compression method and system
KR20240001729A (en) Method for detecting deepfake images

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