The content of the invention
In view of this, the embodiment of the present application provides a kind of based on live interactive approach and live broadcast system, it is intended to which increase is straight
That broadcasts is interactive and interesting.
In one example, a kind of based on live interactive approach, for live broadcast system, the live broadcast system includes first
Client, server and the second client;The upper displaying of first/second client has AR scenes, and the AR scenes include
Main broadcaster's picture that two clients obtain from true environment, and the virtual objects based on main broadcaster's picture, methods described bag
Include:
First user end to server sends the instruction for giving virtual present, and the instruction carries the mark of the second client
The identification information of information and the virtual present given;
After giving the instruction of virtual present described in server parsing, based on the identification information and the virtual gift given
Strategy corresponding to thing, change the display effect of the second client main broadcaster's picture.
In some examples, first client includes first main broadcaster's client, and second client includes second
Main broadcaster's client;
The first main broadcaster client is established by even wheat with second main broadcaster's client and connected;
Main broadcaster's picture in the AR scenes includes main broadcaster's picture of second main broadcaster's client.
In some examples, second client includes at least two main broadcaster's clients, between main broadcaster's client
Connection is established by even wheat;First client includes at least one spectator client;
Main broadcaster's picture in the AR scenes includes main broadcaster's picture of at least two main broadcaster's clients;
Also include after the instruction of virtual present is given described in server parsing:Count and analyze at least two spectator clients
The strategy corresponding to virtual present given, and analysis result is obtained, corresponding main broadcaster's client is changed based on analysis result
The display effect of current AR scenes or main broadcaster's picture in next round AR scenes.
In some examples, change the display effect of the second client main broadcaster's picture, including:
One interactive virtual objects are rendered based on the main broadcaster's picture obtained in true environment.
In some examples, change the display effect of the second client main broadcaster's picture, including:
Image recognition is carried out to main broadcaster's picture of the second client, key images region is obtained, to the key images area
The first 3D models are established in domain by 3D modeling, render one the 2nd 3D models, by the key point of the first 3D models and the 2nd 3D models
Key point it is corresponding, and the real-time pictures of the 2nd 3D models are rendered in main broadcaster's picture;
The key images frame and the 2nd 3D models are determined based on the strategy corresponding to the virtual present given.
In some examples, the identification information of the virtual present includes:
The user that first client detects inputs information;
The user, which inputs information, to be included:Sound decibel number.
In some examples, the virtual objects include:Controll plant;
Recognition of face is carried out to the target face in main broadcaster's picture, the position and stretching degree for identifying mouth are drawn when in main broadcaster
When the controll plant under AR scenes is detected in face, the state of the controll plant is controlled according to the position of mouth and stretching degree.
In some examples, the strategy corresponding to the virtual present includes bonus policy and punishment strategy.
In some examples, the state of the controll plant, including step are controlled according to the position of mouth and stretching degree:
When the envelope frame of controll plant has overlapping with the envelope frame of face, the controlled substance disappears, according to disappearance
The characteristic of the controlled substance, increase corresponding special efficacy in main broadcaster's picture;
The controll plant includes food,
The characteristic of the food includes at least one of:Gustatory properties, thermal properties;
The gustatory properties include:It is acid, sweet tea, hardship, peppery, salty;
The physical states include:Solid-state, liquid, gaseous state.
One kind is based on live broadcast system, and the live broadcast system includes the first client, server and the second client;First/
The upper displaying of second client has AR scenes, and the AR scenes include the main broadcaster's picture obtained from true environment, Yi Jixu
Intend object,
First client is used to send the instruction for giving virtual present to server, and the instruction carries the second client
The identification information of identification information and the virtual present given;
Server be used to parsing it is described give the instruction of virtual present after, based on the identification information and the void given
Intend the strategy corresponding to present, change the display effect of the second client main broadcaster's picture.
It is a kind of based on live interactive approach, in live client displaying have AR scenes, the AR scenes are included from true
The main broadcaster's picture obtained in real environment, and virtual objects, methods described include step:
The instruction for giving virtual present is sent to server, the instruction carries the identification information of the live client of opposite end
And the identification information for the virtual present given, so as to give the instruction of virtual present described in server parsing, and it is based on institute
State identification information and the virtual present given corresponding to constructing tactics notification message, notify the live client of opposite end to change
Become the display effect of main broadcaster's picture in AR scenes;Or
After the notification message for receiving server, change the display effect of main broadcaster's picture in AR scenes;The notification message by
Construction of strategy of the server corresponding to based on the identification information and the virtual present given.
In some examples, the live client at server both ends is main broadcaster's client, and main broadcaster's client at both ends is led to
The company of mistake wheat establishes connection;Main broadcaster's picture that the live client that main broadcaster's picture in the AR scenes includes local terminal obtains, and/or
Main broadcaster's picture of the live client of opposite end.
In some examples, change the display effect of main broadcaster's picture in AR scenes, including:
Image recognition is carried out to main broadcaster's picture of the second client, key images region is obtained, to the key images area
The first 3D models are established in domain by 3D modeling, render one the 2nd 3D models, by the key point of the first 3D models and the 2nd 3D models
Key point it is corresponding, and the real-time pictures of the 2nd 3D models are rendered in main broadcaster's picture;
The key images frame and the 2nd 3D models are determined based on the strategy corresponding to the virtual present given.
A kind of electronic equipment, including:
Store the memory of processor-executable instruction;Wherein, the processor is coupled in the memory, for reading
The programmed instruction of the memory storage, and as response, perform following operation:
The instruction for giving virtual present is sent to server, the instruction carries the identification information of the live client of opposite end
And the identification information for the virtual present given, so as to give the instruction of virtual present described in server parsing, and it is based on institute
State identification information and the virtual present given corresponding to constructing tactics notification message, notify the live client of opposite end to change
Become the display effect of main broadcaster's picture in AR scenes;Or
After the notification message for receiving server, change the display effect of main broadcaster's picture in AR scenes;The notification message by
Construction of strategy of the server corresponding to based on the identification information and the virtual present given.
The application triggers virtual present by the user of the first client and instructed, and the second client or server are according to above-mentioned
The display effect of main broadcaster's picture in virtual present instruction the second customer end A R scenes of corresponding change, in this way, in live picture
The display effect of main broadcaster's picture can be controlled by the user of different identity, each participated in live user and had the opportunity to change directly
The display effect of main broadcaster's picture in picture is broadcast, live interest is improved with this.And in some cases, main broadcaster picture
Display effect is most important for live result, and live result is influenceed by the first client, can greatly increase first
It is interactive between client and the second client.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
Fig. 1 is that the embodiment of the present application realizes a live application scenarios schematic diagram, and main broadcaster's client can be installed in
On terminal device 101, main broadcaster's client can call camera recorded video, shooting photo or make by other means straight
Picture is broadcast, server 104 is then sent to by network.Server 104 is used for the background service for providing net cast, storage master
Corresponding relation between client and each channel etc. is broadcast, spectator client is installed on terminal device 102, works as spectator client
After selecting channel, server 110 can be according to each channel relation corresponding with main broadcaster end, to the spectators visitor belonged in same channel
Family end sends corresponding data.So, the live content of desired displaying is shared with same by the can of main broadcaster's client 101
The user (spectators) of spectator client 102 in channel.Spectators can also be carried out by way of giving virtual present with main broadcaster
Interaction, but in the prior art, the mode for giving virtual present is single, untrue and interactive poor.
In order to make the process for giving virtual present truer, improve the participation of spectators, and increase it is live in it is mutual
Dynamic property, the embodiment of the present application offer is a kind of based on live interactive approach, and for live broadcast system, the live broadcast system includes first
Client, server and the second client, the upper displaying of first/second client have an AR scenes, the AR scenes include from
The main broadcaster's picture obtained in true environment, and virtual objects, as shown in Fig. 2 the part steps of the above method are as follows:
S201:First user end to server sends the instruction for giving virtual present, and the instruction carries the second client
Identification information and the virtual present given identification information;
S202:The instruction of virtual present is given described in server parsing;
S203:Based on the strategy corresponding to the identification information and the virtual present given, change second visitor
The display effect of family end main broadcaster's picture.
AR (augmented reality, Augmented Reality) technology that the embodiment of the present application proposes, it is existing to be also referred to as mixing
It is real.It is by computer technology, and by virtual Information application to real world, real environment and virtual object are superimposed in real time
Exist simultaneously to same picture or space, to embody authenticity.
In some examples, the AR scenes that the application proposes include the main broadcaster's picture obtained from true environment, Yi Jixu
Intend object, in some examples, above-mentioned main broadcaster's picture can be camera of second client by terminal device where calling
The picture captured, in some examples, above-mentioned main broadcaster's picture can be stored in the second client on the terminal device
Picture in picture frame or video flowing.It is described in order to facilitate description by taking the picture of camera capture as an example, Fig. 3 is AR fields
Scape schematic diagram, the second client pass through camera on the terminal device capture main broadcaster's picture 310, when the second client
When user triggers the instruction of AR scenes, entrained policy information is instructed according to above-mentioned AR scenes, based on certain in main broadcaster's picture 310
Individual key position, establishes physical model 320 (virtual objects), and by the physical model 320 (virtual objects) render with pass
The associated position in key position.In some examples, virtual objects can include controll plant;In one example, the application's
The generating process of AR scenes can be:Recognition of face is carried out to the target face in main broadcaster's picture, the position of mouth is identified and opens
Degree is opened when detecting the controll plant under AR scenes in main broadcaster's picture, according to the position of mouth and stretching degree control
The state of controll plant.
In some examples, the state of the controll plant is controlled according to the position of mouth and stretching degree, step can be included
Suddenly:
When the envelope frame of controll plant has overlapping with the envelope frame of face, the controlled substance disappears, according to disappearance
The characteristic of the controlled substance, increase corresponding special efficacy in main broadcaster's picture;Controll plant can include food, the characteristic of the food
At least one of can be included:Gustatory properties, thermal properties;The gustatory properties can include:It is acid, sweet tea, hardship, peppery, salty;Institute
Stating physical states can include:Solid-state, liquid, gaseous state.
It is that above-mentioned key position can be main broadcaster in main broadcaster's picture exemplified by main broadcaster eats food by the AR scenes shown in Fig. 3
Face 330, physical model set the image of food (controll plant 321,322,323), and driving model calculates controlled according to attribute
The real time position and form of object, controll plant is rendered in the position;If game rule behaviour wants as much as possible and has food
Thing (opens one's mouth to eat food), then, the position of mouth and stretching degree can influence the position of controll plant, for example, the food being had,
The parameter that driving model obtains can be different, so as to change the moving line of food, such as allow food to disappear.What if main broadcaster had carries
The peppery food for characteristic, then it will go out to render a face burned with anger in the face of main broadcaster.
The attribute can include the movement locus of food, movement velocity, and acceleration is initial with initial position and food
Form etc..
It should be appreciated that the example that above-mentioned main broadcaster eats food be only in the embodiment of the present application an AR scene, the application carry
The AR scenes gone out can also include other AR scenes.The application does not limit the form of AR scenes.
In some examples, the strategy corresponding to virtual present can include bonus policy and punishment strategy;The reward
Strategy includes following any:Yi great Zui is rendered based on the main broadcaster's picture obtained in true environment, or based on being obtained in true environment
Main broadcaster's picture render the game aid of a phagocytosis controll plant;The punishment strategy object includes any:Based on true environment
Main broadcaster's picture of middle acquisition renders the face of a swelling;Or render one based on the main broadcaster's picture obtained in true environment and be used to seal mouth
Bar adhesive tape (envelope mouth adhesive tape).Certainly, the strategy corresponding to virtual present can also be other forms.Carried in the embodiment of the present application
The display effect of main broadcaster's picture strategy can change according to corresponding to virtual present in the AR scenes gone out.Carried in the embodiment of the present application
The display effect of main broadcaster's picture can be that to render one based on the main broadcaster's picture obtained in true environment mutual in the change AR scenes gone out
Dynamic virtual objects.
For example, the virtual present given of the first client is becomes fat hamburger, strategy corresponding to the fat hamburger of the change is allows main broadcaster
Face in picture becomes fat, and in some examples, with reference to Fig. 4 and Fig. 5, one is rendered based on the main broadcaster's picture obtained in true environment
Interactive virtual objects can be realized by following steps:
S401:Image recognition is carried out to main broadcaster's picture 501 of the second client, obtains key images 502 (face) region;
S402:The first 3D models 503 (face 3D models) are established by 3D modeling to face 502;
S403:Render one the 2nd 3D models 504 (the face 3D models of swelling);
S404:The key point of face 3D models 503 is corresponding with the key point of the face 3D models 504 of swelling, and will
The real-time pictures of the face 3D models 504 of the swelling are rendered in main broadcaster's picture, to cover or substitute original face, so
Just show after the second client user receives and become fat hamburger, become the interesting effect of a fat person.
Certain key area is one embodiment that face is only the application, and the application is not intended to limit the class of key area
Type, in some examples, key area can also be cup, when the virtual present that the increasing of the first client is sent is hot water, the heat
Strategy corresponding to water can add hot water for cup, and the display effect of main broadcaster's picture can become cup and slowly be gone up hot water
Picture, so just allow interactive more true interesting between the first client and the second client.
The application combination AR technologies, AR scenes, and the use of the first client can be made in the second client or server
Family can influence the display effect of main broadcaster's picture under the AR scenes by way of giving virtual present, and for example, main broadcaster renders
Face of one swelling etc. is interactive more, interesting strong between user and user.
In some examples, the identification information of the virtual present can include user and input information, when the first client
User's triggering give and become the instruction in fat hamburger after, will be shown in main broadcaster's picture and described become fat hamburger, and described fat hamburger of change
Moved with movement of first client user on screen, when the coordinate position for becoming fat hamburger reaches certain with face coordinate position
During one condition, when such as becoming the coordinate position in fat hamburger and being overlapped with face coordinate position, the face in main broadcaster's picture is become into swelling
Display effect.User input information can also including sound decibel number etc. customer incident, for example, being determined according to sound decibel number
Swelling degree of the face of user etc..In some examples, the identification information entrained by virtual present can include the first client
The channel ID at place, receives ID of client etc..
In some examples, the second client main broadcaster's picture can be changed by server or the second client executing
The operation of display effect.In some examples, as shown in Figure 10, change the second client main broadcaster's picture when server performs
Display effect operation when, part steps include:After the instruction of virtual present is given described in server parsing (S202);From
Corresponding second client obtains main broadcaster's picture (S211);Strategy according to corresponding to the virtual present given, change main broadcaster
The display effect (S212) of picture;And main broadcaster's picture after change display effect is sent to the second client (S213).Certainly,
The operation that the display effect of the second client main broadcaster's picture is changed in server may have certain delay, and
When the user for giving virtual present is more, the process performance of processor may be influenceed, therefore, it will usually in the second client executing
Change the operation of the display effect of second client main broadcaster's picture, to improve live fluency.In some examples, such as Figure 11
Shown, when the second client executing changes the operation of the display effect of second client main broadcaster's picture, part steps include:Clothes
Give after the instruction of virtual present (S202) described in business device parsing, sent a notification message (S221) to corresponding second client;
After second client receives the notification message of server, change the display effect (S222) of main broadcaster's picture in AR scenes;It is described logical
Know construction of strategy of the message as corresponding to server based on the identification information and the virtual present given.
In some examples, after the instruction of virtual present is given in the transmission of the first user end to server, server or second
Client can change the display effect of main broadcaster's picture in the second customer end A R scenes in real time.In some examples, the first client
Hold after giving the instruction of virtual present to server transmission, after need to meeting certain condition, server or the second client can just change
Become the display effect of main broadcaster's picture in the second customer end A R scenes.In some examples, above-mentioned certain condition can be next
When office's AR scenes start, or the present number that the first client is given reaches certain amount.
The first client and the second customer end proposed in the embodiment of the present application can be installed in terminal device
On, equipment that the terminal device has networking function, including smart mobile phone, desktop computer, notebook computer, tablet personal computer
Deng the application is not limited the type of equipment.
In first kind example, the first client that the embodiment of the present application proposes can be spectator client, the second client
End can be main broadcaster's client.
In two class examples, in order to increase the interaction between main broadcaster and main broadcaster, above-mentioned first client and the second client
It is main broadcaster's client;First main broadcaster's client is referred to as with the first client, the second client is referred to as second main broadcaster's client and entered
Row description;In some examples, AR scenes can be include second main broadcaster's client second main broadcaster's picture and with the main broadcaster
Second virtual objects of picture association;First main broadcaster's client does not generate AR scenes.In some examples, first main broadcaster's client
AR scenes can be generated with second main broadcaster's client, now, AR scenes include:First main broadcaster of first main broadcaster's client draws
Face, the first virtual objects associated with the first main broadcaster picture, second main broadcaster's picture of second main broadcaster's client, with described the
Second virtual objects of two main broadcaster's pictures association.
In an application scenarios, first main broadcaster's client company of foundation by way of even wheat with second main broadcaster's client
Connect, carry out a competition game eaten food, game rule is that the main broadcaster eaten up more than size of food will obtain last triumph.Such as
Shown in Fig. 6, first main broadcaster's client generates AR scenes with second main broadcaster's client, if the main broadcaster of first main broadcaster's client 610
Want the playing conditions of second main broadcaster's client 620 (opponent) of interference, the master of opponent by the virtual present given, can be changed
The display effect of picture is broadcast come result of interfering with play, such as gives one envelope mouth adhesive plaster of opponent as virtual present, the envelope mouth glue
Cloth is to close the face of opponent to come to deserved strategy, makes opponent can not open one's mouth to eat food, second main broadcaster's client 620 receives
After the notice on envelope mouth adhesive plaster that server 630 is sent, second main broadcaster's picture 621 carries out image recognition, detects the position of mouth
Put, envelope mouth adhesive plaster 640 is rendered at face, even if now virtual objects 622 enter the region of face, can not be also consumed.
In some examples, when the mouth of the main broadcaster Xiao Ming in second main broadcaster's picture changes, driving model can be according to envelope mouth glue
Band and the corresponding situation of the corresponding points of face, the real-time rendering envelope mouth adhesive tape, it is full of authenticity, for example, Xiao Ming head to the left
90 ° of deflection, the 3D models of envelope mouth adhesive tape deflect 90 ° to the left, by rendering in second main broadcaster's picture for the envelope mouth adhesive tape after deflection
In.
The company wheat that the embodiment of the present application proposes is a kind of interaction mode between main broadcaster and spectators, main broadcaster and main broadcaster.Even
During wheat, the identity of main broadcaster and spectators are also thus converted into promoter and participant, when promoter initiates even wheat to participant
Request, participant receive Lian Maihou, just set up connection between the client where promoter and participant itself, and live
Picture is also provided jointly by above-mentioned two client.Generally, live picture can be that the live picture of promoter is big
Window, main broadcaster's picture of participant are shown for the picture-in-picture form of wicket.Certain above-mentioned display mode can be by initiating
Person or participant's adjustment.In some examples, even wheat can also be more people Lian Mai.
It is interactive between spectators and main broadcaster in order to increase between main broadcaster and main broadcaster in three class examples, above-mentioned first visitor
Family end can include at least one spectator client, and second client includes at least two main broadcaster's clients.Below with
One client includes the first spectator client, and the second client includes first main broadcaster's client and second main broadcaster's client is retouched
State;In some examples, first main broadcaster's client can be established with second main broadcaster's client by way of even wheat and connected.
In some examples, AR scenes include the first AR scenes and the 2nd AR scenes:First AR scenes include the first main broadcaster
First main broadcaster's picture of client, the first virtual objects associated with the first main broadcaster picture;2nd AR scenes include second
Second main broadcaster's picture of main broadcaster's client, the second virtual objects associated with the second main broadcaster picture.In some examples, two
Competition game can be carried out between individual main broadcaster's client, the first AR scenes and the 2nd AR scenes can generate simultaneously, and disappear simultaneously
Lose.In some examples, the first AR scenes and the generation of the 2nd AR scenes and extinction time are unrelated.
In some examples, after giving the instruction of virtual present described in server parsing, it can also include:Count and analyze
The strategy corresponding to virtual present that at least one spectator client is given, and analysis result is obtained, changed based on analysis result
Become the current AR scenes of corresponding main broadcaster's client or the display effect of main broadcaster's picture in next round AR scenes.For example, first sees
Many clients are located at the first channel where first main broadcaster's client, and the main broadcaster of first main broadcaster's client is small red objective with the second main broadcaster
The match that the main broadcaster Xiao Ming at family end is eaten food, match are divided into two innings, 20 seconds every innings, when first game, which is played, to be started, the
One main broadcaster's client and second main broadcaster's client generate AR scenes respectively, and server starts statistics and receives what spectator client was sent
Virtual present instructs, and according to the identification information of virtual present, in some examples, the identification information can receive virtual gift
The main broadcaster ID of thing, when first game game over, stop statistics, if now the small red quantity for receiving virtual present of main broadcaster is 3,
The quantity for the virtual present that main broadcaster Xiao Ming receives is 1, and according to corresponding strategy, such as the strategy is to receive virtual present quantity
A less side receives punishment, and punishment strategy is that an envelope mouth adhesive plaster is rendered at the face of main broadcaster's picture of Xiao Ming, then Xiao Ming
After second client at place receives the notification message of server transmission, an envelope mouth is rendered at the face of second main broadcaster's picture
Adhesive plaster, so before envelope mouth adhesive plaster disappears, Xiao Ming will be unable to have food.The first spectator client is seen in one of example
The display effect arrived is as shown in Figure 7.
In some examples, the first spectator client and first main broadcaster's client are located at same channel, the first spectators client
The user at end can give virtual present to main broadcaster is small red or main broadcaster Xiao Ming.
In some scenes, due to the device hardware poor-performing where main broadcaster's client, even if spectators have given virtually
Present, display effect can not be showed well, in some examples, in order to avoid because of the equipment where main broadcaster's client
The problems such as interim card caused by performance is undesirable is delayed, the configuration information of equipment where server obtains main broadcaster's client,
When the configuration information of equipment where main broadcaster's client reaches preset configuration information, it is allowed to which spectator client is to main broadcaster's client
Give the application virtual present of proposition.The configuration information of equipment is unable to reach preset configuration information where the second client
When, the virtual present for changing main broadcaster's picture display effect can be triggered by not allowing the first client to be given to second client.
It is corresponding with the foregoing embodiment based on live interactive approach, in some embodiments of the application, also provide another
It is a kind of based on live interactive approach, in live client displaying have AR scenes, the AR scenes are included from true environment
Main broadcaster's picture of acquisition, and virtual objects, methods described include step:
The instruction for giving virtual present is sent to server, the instruction carries the identification information of the live client of opposite end
And the identification information for the virtual present given, so as to give the instruction of virtual present described in server parsing, and it is based on institute
State identification information and the virtual present given corresponding to constructing tactics notification message, notify the live client of opposite end to change
Become the display effect of main broadcaster's picture in AR scenes;Or
After the notification message for receiving server, change the display effect of main broadcaster's picture in AR scenes;The notification message by
Construction of strategy of the server corresponding to based on the identification information and the virtual present given.
It is above-mentioned to be realized based on live interactive approach by software in some examples, such as live software,
It can be realized by way of hardware or software and hardware combining.Exemplified by implemented in software, as the device on a logical meaning,
It is that corresponding computer program instructions in nonvolatile memory are read by internal memory by the processor of electronic equipment where it
What middle operation was formed.For hardware view, as shown in figure 9, a kind of hardware for the application live broadcast device place electronic equipment
Structure chart, in addition to the processor shown in Fig. 9, internal memory, network interface and nonvolatile memory, device in embodiment
The electronic equipment at place can also include other hardware, such as camera, to this generally according to the actual functional capability of the live broadcast device
Repeat no more.
Corresponding with the foregoing embodiment based on live interactive approach, present invention also provides based on live interaction dress
The embodiment put.
As shown in figure 8, the embodiment of the present application provides a kind of live broadcast system 800, including the first client 810, server 830
With the second client 820;
First client 810 is used to send the instruction for giving virtual present to server, and the instruction carries the second client
The identification information of the identification information at end and the virtual present given;
Server 830 be used to parsing it is described give the instruction of virtual present after, based on the identification information and given
Virtual present corresponding to strategy, change the display effect of the main broadcaster's picture of the second client 820.
In some examples, first client includes spectator client, and second client includes main broadcaster client
End.
In some examples, first client includes first main broadcaster's client, and second client includes second
Main broadcaster's client;
The first main broadcaster client is established by even wheat with second main broadcaster's client and connected;
Main broadcaster's picture in the AR scenes includes main broadcaster's picture of second main broadcaster's client.
In some examples, second client includes at least one main broadcaster's client, between main broadcaster's client
Connection is established by even wheat;First client includes at least one spectator client;
Main broadcaster's picture in the AR scenes includes main broadcaster's picture of at least two main broadcaster's clients;
Also include after the instruction of virtual present is given described in server parsing:Count and analyze at least two spectator clients
The strategy corresponding to virtual present given, and analysis result is obtained, corresponding main broadcaster's client is changed based on analysis result
The display effect of current AR scenes or main broadcaster's picture in next round AR scenes.
In some examples, change the display effect of the second client main broadcaster's picture, including:
One interactive virtual objects are rendered based on the main broadcaster's picture obtained in true environment.
In some examples, change the display effect of the second client main broadcaster's picture, including:
Image recognition is carried out to main broadcaster's picture of the second client, key images region is obtained, to the key images area
The first 3D models are established in domain by 3D modeling, render one the 2nd 3D models, by the key point of the first 3D models and the 2nd 3D models
Key point it is corresponding, and the real-time pictures of the 2nd 3D models are rendered in main broadcaster's picture;
The key images frame and the 2nd 3D models are determined based on the strategy corresponding to the virtual present given.
In some examples, the identification information of the virtual present includes:
The user that first client detects inputs information;
The user, which inputs information, to be included:Sound decibel number.
In some examples, the virtual objects include:Controll plant;
Recognition of face is carried out to the target face in main broadcaster's picture, the position and stretching degree for identifying mouth are drawn when in main broadcaster
When the controll plant under AR scenes is detected in face, the state of the controll plant is controlled according to the position of mouth and stretching degree.
In some examples, the strategy corresponding to the virtual present includes bonus policy and punishment strategy;
The bonus policy includes following any:Yi great Zui, or base are rendered based on the main broadcaster's picture obtained in true environment
The main broadcaster's picture obtained in true environment renders the game aid of a phagocytosis controll plant;
The punishment strategy object includes any:The face of a swelling is rendered based on the main broadcaster's picture obtained in true environment;
Or an adhesive tape for being used to seal one's lips is rendered based on the main broadcaster's picture obtained in true environment.
In some examples, the state of the controll plant, including step are controlled according to the position of mouth and stretching degree:
When the envelope frame of controll plant has overlapping with the envelope frame of face, the controlled substance disappears, according to disappearance
The characteristic of the controlled substance, increase corresponding special efficacy in main broadcaster's picture;
The controll plant includes food,
The characteristic of the food includes at least one of:Gustatory properties, thermal properties;
The gustatory properties include:It is acid, sweet tea, hardship, peppery, salty;
The physical states include:Solid-state, liquid, gaseous state.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.