CN108419115A - A kind of advertisement method for implantation - Google Patents

A kind of advertisement method for implantation Download PDF

Info

Publication number
CN108419115A
CN108419115A CN201810158621.0A CN201810158621A CN108419115A CN 108419115 A CN108419115 A CN 108419115A CN 201810158621 A CN201810158621 A CN 201810158621A CN 108419115 A CN108419115 A CN 108419115A
Authority
CN
China
Prior art keywords
advertisement
target frame
video
frame
portrait
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
Application number
CN201810158621.0A
Other languages
Chinese (zh)
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.)
Hangzhou Dazzling Science And Technology Co Ltd
Original Assignee
Hangzhou Dazzling 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 Hangzhou Dazzling Science And Technology Co Ltd filed Critical Hangzhou Dazzling Science And Technology Co Ltd
Priority to CN201810158621.0A priority Critical patent/CN108419115A/en
Publication of CN108419115A publication Critical patent/CN108419115A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/11Region-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/194Segmentation; Edge detection involving foreground-background segmentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/812Monomedia components thereof involving advertisement data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20112Image segmentation details
    • G06T2207/20116Active contour; Active surface; Snakes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person

Abstract

The invention discloses a kind of advertisement method for implantation, in the video for being not inserted into targeted advertisements material, frame by frame carries out image analysis, it is more than that the target frame of setting value matches ad material to not there is the character image accounting of advertisement, target frame portrait is plucked out and selected ad material is attached in the foreground or background of portrait, by the way that the body matter (such as personage) in video is plucked out automatically by technological means, and advertisement is placed in its foreground or background, reached with this and both inserts advertisement in video, the effect of user's viewing experience is not interfered with again, good balance is achieved between advertising results and video tastes, simultaneously, by detecting personage's gender and age in current picture, it can carry out intelligent Matching, show different advertisements, to realize the accurate dispensing of advertisement.

Description

A kind of advertisement method for implantation
Technical field
The present invention relates to a kind of advertisement method for implantation.
Background technology
At present in internet video, the advertisement of dispensing is based on the video bumper advertisements of head and run-out.In order to ensure Effect, head advertisement, which is traditionally arranged to be, not can skip, and user could watch video, but this after must finishing watching head bumper advertisements Sample compares influence user experience;Run-out advertisement is then easy to be ignored by user, cannot reach advertising results.Plug-in type patch in piece is wide It accuses, since the normal video viewing experience of user can be interrupted, also receives censure.Therefore, current internet video, it is difficult to wide It accuses and reaches balance between effect and user experience.It is wide to be inserted into head patch for short-sighted frequency within especially currently a popular 5 minutes It accuses, can more severely impact user experience, so rarely having input advertisement in short-sighted frequency at present.
Invention content
A kind of advertisement method for implantation is provided it is an object of the invention to overcome in the prior art insufficient.
To achieve the above object, on the one hand, a kind of advertisement method for implantation provided by the invention includes the following steps:
A frame image is obtained, judges whether the target frame has been implanted into target material advertisement;
If target frame has been implanted into material, target frame whether advertisement is judged;
If target frame is not broadcast, the personage for analyzing target frame in real time accounts for whether aspect ratio is more than setting value;
If target frame is more than setting value, the character features in target frame are analyzed, and according to character features, in local side advertisement Ad material is matched and obtained in library or server-side advertisement base;
Portrait in target frame is plucked out, and ad material is attached in the foreground or background of portrait and reconstructed image shape The target frame of Cheng Xin;
Target frame is played, and obtains next frame image and continues to determine whether to be implanted into material, cycle above-mentioned steps are until regard Frequency terminates.
According to a kind of advertisement method for implantation provided by the invention, by the way that the body matter (such as personage) in video is passed through skill Art means pluck out automatically, and ad material is placed in its foreground or background, are reached with this and not only insert advertisement in video, but also The effect for not interfering with user's viewing experience achieves good balance between advertising results and video tastes, meanwhile, pass through Personage's gender in current picture and age are detected, intelligent Matching can be carried out, show different advertisements, to realize the essence of advertisement Standard is launched.
Description of the drawings
Fig. 1 is a kind of flow diagram of advertisement method for implantation of one embodiment of the invention;
Fig. 2 is a kind of effect exemplary plot of advertisement method for implantation of some embodiments of the invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
The embodiment of the present invention is described below in detail.
One embodiment of the invention provides a kind of advertisement method for implantation, as shown in Figure 1, not carrying out target material implantation Video in, frame by frame carries out image analysis, to do not have the character image accounting of advertisement be more than the target frame of setting value match it is wide Material is accused, target frame portrait is plucked out and selected ad material is attached in the foreground or background of portrait simultaneously reconstructed image shape The target frame of Cheng Xin.
Ad material collects in advertisement base.It is appreciated that according to application scenarios, advertisement base may be provided at operating side conduct It is locally stored;Server-side is may also be arranged on, transmission is taken to use when needing.
Specifically, include the following steps:
If in the implantation of ADFlag1=materials, True is in implantation, and False is not to be implanted into, initial value=False;
If ADFlag2=advertisements have been broadcast, True is to have broadcast, and False is not broadcast, initial value=False.
Since the first frame of video, frame by frame obtains video image as target frame.
S1, next frame video image is obtained, in judging whether material is implanted into:If so, frame ADFlag1=True is marked, And skip to step S5;If it is not, marking frame ADFlag1=False, and skip to step S2.
The value of S2, detection target frame frame ADFlag2:If ADFlag2=True, step S6 is skipped to;If ADFlag2= False skips to step S3.
S3, the in real time figure and ground in analysis target frame current video image, judge that personage accounts for whether aspect ratio surpasses Setting value is crossed, range of set value is 35~85% in the present embodiment, if so, skipping to step S4;If it is not, skipping to step S1.
S4, analysis target frame video main body character features (including but not limited to age, gender and facial characteristics etc.), according to Main body personage's characteristic matching respective advertisement material.If there is matched ad material, step S5 is skipped to;If without matched advertisement element Material skips to step S1.
S5, portrait is plucked out from target frame in real time.According to the configuration of ad material, ad material is attached to video portrait Foreground or background in.Judge whether advertisement finishes:If so, marking frame ADFlag2=True, and skip to step S6;If no It is to skip to step S6.It should be noted that in this step, after which is ADFlag2=True, i.e., need not insert again Enter ad material, directly plays video.In this step, the stingy as technology of portrait is plucked out from target frame, is character contour Opened with background separation, due to ad material be not simply progress foreground covering, but according to the movement of portrait position by Frame dynamic change, therefore ad material will be according to scratching the portrait precisely exposed as result in profile.Above-mentioned scratches as technology is logical The identification to scene and object features is crossed, portrait profile is isolated.
S6, target frame is played, and judges whether video finishes:If so, terminating video playing;If it is not, then jumping To step S1, it is target frame to obtain next frame video image.
Above-mentioned S1~S6 steps are recycled, until all frames of video have been handled.
In the present invention, the testing principle of video frame images, first, utilize existing face recognition technology, in mobile device and The Face datection that Millisecond is realized on PC, is detected tracking, which is adapted to side face, blocks, mould to face The actual environments such as paste, expression shape change.Second is that using image recognition technology, according to scene and object features, identify common upper Thousand kinds of generic objects and attribute.By this two prior arts, the video frame images detection in above-mentioned steps may be implemented.
In step s 4, the principle of the age of personage, gender and facial-feature analysis is to utilize existing recognition of face skill Art is positioned and is analyzed by 108 key points to faces such as eye, mouth, nosewheel exterior features, it is big to accurately identify a variety of face characters Class, such as gender, age, race, expression, ornaments, beard, face action state realize the character features identification in step S4.
It is that the advertisement of one embodiment of the invention is implanted into effect as shown in Fig. 2 (2a, 2b, 2c).
By taking Fig. 2 b as an example:Picture detection frame by frame is carried out to video, confirms target frame ADFlag1=False, ADFlag2 After=False, S3 is entered step, it has been more than setting value to judge that personage accounts for aspect ratio, enters step S4, and year is carried out to personage The detection in age, gender and facial characteristics, testing result are 18~25 years old women, judge that this type video is suitble to according to testing result Electric business is marketed, and the ad material of day cat double 11 is matched in advertisement base, plucks out the portrait in target frame, and by ad material It is implanted in foreground and plays.
Fig. 2 (2a, 2b, 2c) has respectively represented the effect by the present invention program product placement of different video type.It can be with See, either in half body, whole body still in the larger video of movement range, the advertisement being implanted into the present inventive method can It is preferably combined with video pictures, to reach ideal advertising results, while not damaging user experience.
To sum up, by plucking out the body matter (such as personage) in video automatically by technological means, and advertisement is placed in In its foreground or background, reached with this and not only insert advertisement in video, but also do not interfere with the effect of user's viewing experience, wide It accuses and achieves good balance between effect and video tastes, meanwhile, by detecting personage's gender and age in current picture, Intelligent Matching can be carried out, shows different advertisements, to realize the accurate dispensing of advertisement.
Using the present invention method advertisement is inserted into internet video, can allow user during watching video not Advertising information also can be effectively obtained with pause video, and since advertisement is in the form of foreground/background and current video picture In conjunction with, therefore video viewability is not damaged, while obtaining preferable advertising results.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiments or example in can be combined in any suitable manner.Although the reality of the present invention has been shown and described above Apply example, it is to be understood that above-described embodiment is exemplary, and is not considered as limiting the invention, this field it is common Technical staff without departing from the principle and spirit of the present invention within the scope of the invention can to above-described embodiment into Row change, modification, replacement and modification.

Claims (1)

1. a kind of advertisement method for implantation, which is characterized in that include the following steps:
A frame image is obtained, judges whether the target frame has been implanted into target material advertisement;
If the target frame has been implanted into the material, the target frame whether advertisement is judged;
If the target frame is not broadcast, the personage for analyzing the target frame in real time accounts for whether aspect ratio is more than setting value;
If the target frame is more than the setting value, the character features in the target frame are analyzed, and according to the character features, Ad material is matched and obtained in local side advertisement base or server-side advertisement base;
Portrait in the target frame is plucked out, and the ad material is attached in the foreground or background of the portrait and is laid equal stress on Composition picture forms new target frame;
The target frame is played, and obtains next frame image and continues to determine whether to be implanted into material, cycle above-mentioned steps are until regard Frequency terminates.
CN201810158621.0A 2018-02-13 2018-02-13 A kind of advertisement method for implantation Pending CN108419115A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810158621.0A CN108419115A (en) 2018-02-13 2018-02-13 A kind of advertisement method for implantation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810158621.0A CN108419115A (en) 2018-02-13 2018-02-13 A kind of advertisement method for implantation

Publications (1)

Publication Number Publication Date
CN108419115A true CN108419115A (en) 2018-08-17

Family

ID=63129053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810158621.0A Pending CN108419115A (en) 2018-02-13 2018-02-13 A kind of advertisement method for implantation

Country Status (1)

Country Link
CN (1) CN108419115A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110121034A (en) * 2019-05-09 2019-08-13 腾讯科技(深圳)有限公司 A kind of method, apparatus and storage medium being implanted into information in video
WO2020064026A1 (en) * 2018-09-28 2020-04-02 北京多点在线科技有限公司 Game advertisement production method and platform, storage medium
CN110992251A (en) * 2019-11-29 2020-04-10 北京金山云网络技术有限公司 Logo replacing method and device in video and electronic equipment
CN111031273A (en) * 2020-01-09 2020-04-17 翟长斌 Voice and video call advertisement management system of mobile terminal
CN111447472A (en) * 2019-10-26 2020-07-24 奥菲(泰州)光电传感技术有限公司 Advertisement content big data delivery platform and method
CN111627086A (en) * 2020-06-03 2020-09-04 上海商汤智能科技有限公司 Head portrait display 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
CN104581430A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Advertisement insertion method and equipment in video display
CN104837060A (en) * 2014-02-07 2015-08-12 索尼电脑娱乐美国公司 Scheme for determining locations and timing of advertisements and other insertions in media
CN105141987A (en) * 2015-08-14 2015-12-09 京东方科技集团股份有限公司 Advertisement implanting method and advertisement implanting system
CN105872588A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for loading advertisement in video
US20160345034A1 (en) * 2007-01-10 2016-11-24 Steven Schraga Customized program insertion system
CN106982380A (en) * 2017-04-20 2017-07-25 上海极链网络科技有限公司 The method for implantation of virtual interactive advertisement in internet video
CN107133567A (en) * 2017-03-31 2017-09-05 北京奇艺世纪科技有限公司 A kind of adhesive bandage advertisement point position choosing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160345034A1 (en) * 2007-01-10 2016-11-24 Steven Schraga Customized program insertion system
CN104581430A (en) * 2013-10-21 2015-04-29 华为技术有限公司 Advertisement insertion method and equipment in video display
CN104837060A (en) * 2014-02-07 2015-08-12 索尼电脑娱乐美国公司 Scheme for determining locations and timing of advertisements and other insertions in media
CN105141987A (en) * 2015-08-14 2015-12-09 京东方科技集团股份有限公司 Advertisement implanting method and advertisement implanting system
CN105872588A (en) * 2015-12-09 2016-08-17 乐视网信息技术(北京)股份有限公司 Method and device for loading advertisement in video
CN107133567A (en) * 2017-03-31 2017-09-05 北京奇艺世纪科技有限公司 A kind of adhesive bandage advertisement point position choosing method and device
CN106982380A (en) * 2017-04-20 2017-07-25 上海极链网络科技有限公司 The method for implantation of virtual interactive advertisement in internet video

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020064026A1 (en) * 2018-09-28 2020-04-02 北京多点在线科技有限公司 Game advertisement production method and platform, storage medium
CN110121034A (en) * 2019-05-09 2019-08-13 腾讯科技(深圳)有限公司 A kind of method, apparatus and storage medium being implanted into information in video
CN110121034B (en) * 2019-05-09 2021-09-07 腾讯科技(深圳)有限公司 Method, device, equipment and storage medium for implanting information into video
US11785174B2 (en) 2019-05-09 2023-10-10 Tencent Technology (Shenzhen) Company Limited Method for implanting information into video, computer device and storage medium
CN111447472A (en) * 2019-10-26 2020-07-24 奥菲(泰州)光电传感技术有限公司 Advertisement content big data delivery platform and method
CN111447472B (en) * 2019-10-26 2021-03-23 成都瘾食文化传媒有限公司 Advertisement content big data delivery platform and method
CN110992251A (en) * 2019-11-29 2020-04-10 北京金山云网络技术有限公司 Logo replacing method and device in video and electronic equipment
CN110992251B (en) * 2019-11-29 2023-11-10 北京金山云网络技术有限公司 Logo replacing method and device in video and electronic equipment
CN111031273A (en) * 2020-01-09 2020-04-17 翟长斌 Voice and video call advertisement management system of mobile terminal
CN111627086A (en) * 2020-06-03 2020-09-04 上海商汤智能科技有限公司 Head portrait display method and device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108419115A (en) A kind of advertisement method for implantation
US20040001616A1 (en) Measurement of content ratings through vision and speech recognition
CN101999108B (en) Laugh detector and system and method for tracking an emotional response to a media presentation
CN107343211B (en) Method of video image processing, device and terminal device
US8929616B2 (en) Facial coding for emotional interaction analysis
CN107515825B (en) Fluency testing method and device, storage medium and terminal
CN107437076A (en) The method and system that scape based on video analysis does not divide
US7184593B2 (en) Method and apparatus for detecting local features of video, and recording medium storing the method
US20180084291A1 (en) Computer-vision based automatic inserting and playing method for advertisement
CN109978618A (en) Advertisement interacts jettison system under line based on cloud artificial intelligence
JP2009176254A (en) Display system, display method, display effect measuring system, and display effect measuring method
CN108769723A (en) The method for pushing, device of premium content, equipment and storage medium in live video
CN110868554B (en) Method, device and equipment for changing faces in real time in live broadcast and storage medium
CN108540833A (en) A kind of television advertising recognition methods based on camera lens
CN107392883A (en) The method and system that video display dramatic conflicts degree calculates
CN105453577B (en) Direct-response advertising detection and categorizing system and method
CN106792005A (en) A kind of content detection algorithm combined based on audio frequency and video
Breuer et al. Memorization of sport sponsorship activities: the case of the German Bundesliga
US10406440B2 (en) Method of collecting advertisement exposure data of 360 VR game replay video
CN111526419A (en) Vending machine advertisement recommendation method
CN104254019B (en) information push result detection method and system
CN101099175A (en) Album creating apparatus, album creating method, and album creating program
CN109345953A (en) Advertisement pushing method and system, storage medium and mobile terminal based on advertisement machine
CN110189179A (en) A kind of precision advertisement broadcast method
CN109767262B (en) Three-dimensional facial expression recognition scoring evaluation method for advertising screen

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: 20180817