CN109509242A - Virtual objects facial expression generation method and device, storage medium, electronic equipment - Google Patents
Virtual objects facial expression generation method and device, storage medium, electronic equipment Download PDFInfo
- Publication number
- CN109509242A CN109509242A CN201811307940.XA CN201811307940A CN109509242A CN 109509242 A CN109509242 A CN 109509242A CN 201811307940 A CN201811307940 A CN 201811307940A CN 109509242 A CN109509242 A CN 109509242A
- Authority
- CN
- China
- Prior art keywords
- expression
- virtual objects
- dough sheet
- facial expression
- predetermined patterns
- 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
Links
- 230000008921 facial expression Effects 0.000 title claims abstract description 91
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000014509 gene expression Effects 0.000 claims abstract description 133
- 210000001508 eye Anatomy 0.000 claims abstract description 31
- 238000013507 mapping Methods 0.000 claims description 17
- 230000003362 replicative effect Effects 0.000 claims description 9
- 230000001815 facial effect Effects 0.000 claims description 7
- 230000001960 triggered effect Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 4
- 230000010076 replication Effects 0.000 claims description 4
- 239000011800 void material Substances 0.000 claims description 4
- 210000005252 bulbus oculi Anatomy 0.000 claims 1
- 210000000988 bone and bone Anatomy 0.000 abstract description 10
- 238000012545 processing Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 3
- 230000005291 magnetic effect Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 230000001133 acceleration Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000003044 adaptive effect Effects 0.000 description 1
- 210000004027 cell Anatomy 0.000 description 1
- 239000000470 constituent Substances 0.000 description 1
- 238000007796 conventional method Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 210000003128 head Anatomy 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 210000003205 muscle Anatomy 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003014 reinforcing effect Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 210000000352 storage cell Anatomy 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T13/00—Animation
- G06T13/20—3D [Three Dimensional] animation
- G06T13/40—3D [Three Dimensional] animation of characters, e.g. humans, animals or virtual beings
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/60—Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Processing Or Creating Images (AREA)
Abstract
The embodiment of the present invention is to belong to 3d game animation technical field about a kind of virtual objects facial expression generation method and device, this method comprises: the predetermined patterns of duplication virtual objects face obtain dough sheet;Wherein, the predetermined patterns include the one or more of eyes and mouth position;The facial expression that the virtual objects are drawn on dough sheet obtains expression dough sheet;It wherein, include one of eyes expression and mouth position expression or a variety of in the expression dough sheet;The expression dough sheet is covered to the predetermined patterns.This method solve in the prior art due to the quantity limitation of bone, the full animation expression negligible amounts for making it possible to make increase the quantity of full animation expression the problem of cannot meeting the needs of users, and then the diversity of full animation expression is increased, the user experience is improved.
Description
Technical field
The present embodiments relate to 3d game animation technical fields, in particular to a kind of virtual objects facial expression
Generation method, virtual objects facial expression generating means, computer readable storage medium and electronic equipment.
Background technique
In order to enable the different virtual roles in game possess rich and varied expression animation, general 3D
(3Dimensions) expression way may include the following two kinds method:
One is then model distributes in vertex weights to bone by binding bone, Skeletal Skinned, passes through control bit
It sets, rotates, size, show various facial expression states, cooperate body action, realize the expression of emotion;Another kind is to pass through change
The load of shape device, switches the various expression models made, and achievees the effect that expression is converted.
But above two scheme all existing defects.For example, being limited to handset capability and bone in the first scheme
The expression of two-dimensional effects cannot be achieved, so that the full animation expression accuracy made is lower;On the other hand, due to the number of bone
Amount limitation, the full animation expression negligible amounts for making it possible to make cannot be met the needs of users.In another example in second of side
In case, since consumption of the anamorphoser to engine is larger, the burden of equipment will increase in use, reduce operation speed
Degree.
Accordingly, it is desirable to provide a kind of new virtual objects facial expression generation method and device.
It should be noted that the information in the invention of above-mentioned background technology part is only used for reinforcing the reason to background of the invention
Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The purpose of the present invention is to provide a kind of virtual objects facial expression generation method, virtual objects facial expressions to generate
Device, computer readable storage medium and electronic equipment, and then the limit due to the relevant technologies is overcome at least to a certain extent
The lower problem of full animation expression accuracy caused by system and defect.
According to one aspect of the disclosure, a kind of virtual objects facial expression generation method is provided, comprising:
The predetermined patterns of duplication virtual objects face obtain dough sheet;Wherein, the predetermined patterns include eyes and
Mouth position it is one or more;
The facial expression that the virtual objects are drawn on dough sheet obtains expression dough sheet;Wherein, it is wrapped in the expression dough sheet
Include one of eyes expression and mouth position expression or a variety of;
The expression dough sheet is covered to the predetermined patterns.
In a kind of exemplary embodiment of the disclosure, after obtaining expression dough sheet, the virtual objects facial expression
Generation method further include:
The expression dough sheet and virtual scene corresponding with the expression dough sheet are subjected to mapping one by one and obtain mapping pass
System;
The expression dough sheet and the mapping relations are stored.
In a kind of exemplary embodiment of the disclosure, the expression dough sheet is covered to the predetermined patterns, institute
State virtual objects facial expression generation method further include:
Eye position according to the facial skeleton position of the virtual objects, in the adjustment expression dough sheet of adaptability
The mouth position and/or.
In a kind of exemplary embodiment of the disclosure, the predetermined patterns of duplication virtual objects face obtain dough sheet and include:
It virtually crosses in the virtual objects face;
According to the virtual scribing line, the predetermined patterns for replicating the virtual objects face obtain dough sheet.
In a kind of exemplary embodiment of the disclosure, the expression dough sheet is covered to the predetermined patterns includes:
According to the virtual scribing line, the expression dough sheet is covered to the predetermined patterns.
In a kind of exemplary embodiment of the disclosure, virtually crossing in the virtual objects face includes:
According to the amplitude of the facial expression, virtually cross in the virtual objects face.
In a kind of exemplary embodiment of the disclosure, the virtual objects facial expression generation method further include:
Key frame is configured for the facial expression;
When detecting that the key frame is triggered, calls the facial expression to be applied to the virtual objects and be presently in
Virtual scene in.
According to one aspect of the disclosure, a kind of virtual objects facial expression generating means are provided, comprising:
Replication module, the predetermined patterns for replicating virtual objects face obtain dough sheet;Wherein, the predetermined patterns include
Eyes and mouth position it is one or more;
Drafting module, the facial expression for drawing the virtual objects on dough sheet obtain expression dough sheet;Wherein, described
It include one of eyes expression and mouth position expression or a variety of in expression dough sheet;
Overlay module, for covering the expression dough sheet to the predetermined patterns.
According to one aspect of the disclosure, a kind of computer readable storage medium is provided, computer program is stored thereon with,
The computer program realizes virtual objects facial expression generation method described in above-mentioned any one when being executed by processor.
According to one aspect of the disclosure, a kind of electronic equipment is provided, comprising:
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to execute void described in above-mentioned any one via the executable instruction is executed
Quasi- subjects face expression generation method.
A kind of virtual objects facial expression generation method of the embodiment of the present invention, by the default portion for replicating virtual objects face
Position obtains dough sheet;Then the facial expression that virtual objects are drawn on dough sheet obtains expression dough sheet;Finally expression dough sheet is covered again
It covers to predetermined patterns;On the one hand, it is obtained by drawing virtual objects facial expression needed for different virtual scenes on dough sheet
To expression dough sheet, facial expression required for allowing developer arbitrarily drawn on dough sheet is solved in the prior art
It is limited to handset capability and the expression of two-dimensional effects cannot be achieved in bone, so that the full animation expression accuracy made is lower
Problem improves the accuracy of full animation expression;On the other hand, table is obtained by drawing the facial expression of virtual objects on dough sheet
Sensibilities piece allows developer to draw any number of facial expressions on dough sheet, solves in the prior art due to bone
Quantity limitation, the full animation expression negligible amounts for making it possible to make increase dynamic the problem of cannot meeting the needs of users
The quantity of expression is drawn, and then increases the diversity of full animation expression, the user experience is improved;In another aspect, by by expression face
Piece is covered to predetermined patterns, is solved in the prior art due to needing load deflection device larger to the consumption of engine, is increased equipment
The problem of bearing and reducing the speed of service, reduces the consumption of engine, while also improving the speed of service.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention
Example, and be used to explain the principle of the present invention together with specification.It should be evident that the accompanying drawings in the following description is only the present invention
Some embodiments for those of ordinary skill in the art without creative efforts, can also basis
These attached drawings obtain other attached drawings.
Fig. 1 schematically shows a kind of flow chart of virtual objects facial expression generation method.
Fig. 2 schematically shows a kind of expression dough sheet exemplary diagram.
Fig. 3 schematically shows a kind of expression dough sheet covering exemplary diagram.
Fig. 4 schematically shows a kind of facial expression exemplary diagram.
Fig. 5 schematically shows another facial expression exemplary diagram.
Fig. 6 schematically shows a kind of block diagram of virtual objects facial expression generating means.
Fig. 7 schematically shows a kind of electronic equipment for realizing above-mentioned virtual objects facial expression generation method.
Fig. 8 schematically shows a kind of computer-readable storage for realizing above-mentioned virtual objects facial expression generation method
Medium.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes
Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the present invention will more
Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.Described feature, knot
Structure or characteristic can be incorporated in any suitable manner in one or more embodiments.In the following description, it provides perhaps
More details fully understand embodiments of the present invention to provide.It will be appreciated, however, by one skilled in the art that can
It is omitted with practicing technical solution of the present invention one or more in the specific detail, or others side can be used
Method, constituent element, device, step etc..In other cases, be not shown in detail or describe known solution to avoid a presumptuous guest usurps the role of the host and
So that each aspect of the present invention thickens.
In addition, attached drawing is only schematic illustrations of the invention, it is not necessarily drawn to scale.Identical attached drawing mark in figure
Note indicates same or similar part, thus will omit repetition thereof.Some block diagrams shown in the drawings are function
Energy entity, not necessarily must be corresponding with physically or logically independent entity.These function can be realized using software form
Energy entity, or these functional entitys are realized in one or more hardware modules or integrated circuit, or at heterogeneous networks and/or place
These functional entitys are realized in reason device device and/or microcontroller device.
A kind of virtual objects facial expression generation method is provided firstly in this example embodiment, this method can be run
In server, server cluster or Cloud Server etc., can also run on device end (such as can be mobile phone or plate
Computer etc.);Certainly, those skilled in the art can also run method of the invention, this example in other platforms according to demand
Particular determination is not done to this in property embodiment.Refering to what is shown in Fig. 1, the virtual objects facial expression generation method may include following
Step:
The predetermined patterns of step S110. duplication virtual objects face obtain dough sheet;Wherein, the predetermined patterns include eyes
Position and mouth position it is one or more.
Step S120. draws virtual objects facial expression needed for different virtual scenes on dough sheet and obtains table
Sensibilities piece;It wherein, include one of eyes expression and mouth position expression or a variety of in the expression dough sheet.
Step S130. covers the expression dough sheet to the predetermined patterns, obtains the virtual objects specific virtual
Facial expression needed for scene.
In above-mentioned virtual objects facial expression generation method, on the one hand, by the face for drawing virtual objects on dough sheet
Expression obtains expression dough sheet, and facial expression required for allowing developer arbitrarily drawn on dough sheet solves existing
It is limited to handset capability in technology and the expression of two-dimensional effects cannot be achieved in bone, so that the full animation expression accuracy made
Lower problem improves the accuracy of full animation expression;On the other hand, pass through the facial expression of the drafting virtual objects on dough sheet
Obtain expression dough sheet, developer allowed to draw any number of facial expressions on dough sheet, solve in the prior art by
It limits in the quantity of bone, the full animation expression negligible amounts for making it possible to make, the problem of cannot meeting the needs of users, increases
The quantity of full animation expression is added, and then has increased the diversity of full animation expression, the user experience is improved;In another aspect, pass through by
Expression dough sheet is covered to predetermined patterns, is solved in the prior art due to needing load deflection device larger to the consumption of engine, is increased
The problem of oil (gas) filling device bears and reduces the speed of service, reduces the consumption of engine, while also improving the speed of service.In addition,
Without the concern for the real-time operation of expression consumption, do not need by people muscle control expression shape change, greatly reduce hardware and disappear
Consumption.
In the following, by conjunction with attached drawing to each step in virtual objects facial expression generation method above-mentioned in this example embodiment
Suddenly detailed explanation and explanation are carried out.
In step s 110, the predetermined patterns for replicating virtual objects face obtain dough sheet;Wherein, the predetermined patterns include
Eyes and mouth position it is one or more.
In this example embodiment, it may include: in the void that duplication virtual objects face predetermined patterns, which obtain dough sheet,
The quasi- virtual scribing line of subjects face configuration;According to the virtual scribing line, the predetermined patterns for replicating the virtual objects face obtain face
Piece.Specifically:
Firstly, the face in virtual objects is virtually crossed;Wherein, virtually crossing in the face of virtual objects can
To include: virtually to be crossed according to the amplitude of the facial expression in the virtual objects face.For example:
For example, the region virtually crossed can be larger when virtual objects facial expression amplitude is larger;Work as virtual objects
When facial expression amplitude is smaller, the region virtually crossed can be smaller.For example, when the facial expression of virtual objects is to laugh
When, the region virtually crossed can be larger;When the facial expression of virtual objects is to close lightly mouth, the region virtually crossed can be small
It is some.It should be added that, virtual scribing line can be configured along the mouth and eye lines of virtual objects herein;
It can also be configured according to virtual objects in face's lines, there is no special restriction on this for this example.Further, by using
Which, so that developer can have reference frame, avoid different when replicating the facial predetermined patterns of virtual objects
The facial predetermined patterns size different problems of developer's duplication;It is also convenient for the expression dough sheet that will be completed in the later period simultaneously
It covers to the face of virtual objects.
Further, after the completion of virtual scribing line configuration, the pre- of virtual objects face can be replicated according to the virtual scribing line
If position obtains dough sheet;Wherein, which may include eyes and mouth position etc..For example, can pass through
The region virtually crossed first is chosen, the region is then replicated and obtains dough sheet.
In the step s 120, the facial expression that the virtual objects are drawn on dough sheet obtains expression dough sheet;Wherein, described
It include one of eyes expression and mouth position expression or a variety of in expression dough sheet.
In this example embodiment, after obtaining above-mentioned dough sheet, virtual objects can be drawn on dough sheet in different void
Facial expression needed for quasi- scene obtains expression dough sheet;Wherein, which may include eyes expression and mouth
Bar position expression etc..For example:
For example, laugh (mouth amplitude can be drawn on dough sheet when virtual scene needs to configure glad facial expression
It is larger) and the micro- expression for narrowing (eyes amplitude is smaller) of eyes;In another example the sad facial table needed to configure when virtual scene
When feelings, it can be drawn on dough sheet and close lightly mouth (mouth amplitude is smaller) and the micro- expression for narrowing (eyes amplitude is smaller) of eyes;Specifically
Expression dough sheet can be with reference to shown in Fig. 2.Herein it should be added that, the expression of eyes and the table at mouth position
Feelings can be drawn respectively, be then freely combined to obtain expression dough sheet;It complete can also draw and obtain expression dough sheet, this example
There is no special restriction on this.Further, the expression of the expression of eyes and mouth position can also be depicted as expression
Sequence.
Further, for the ease of the calling to expression dough sheet, which can also be wrapped
It includes: the expression dough sheet and virtual scene corresponding with the expression dough sheet being subjected to mapping one by one and obtain mapping relations;It will
The expression dough sheet and the mapping relations are stored.Specifically:
Firstly, expression dough sheet virtual scene corresponding with the expression dough sheet is mapped one by one, the expression dough sheet is obtained
With the mapping relations of virtual scene;For example, when virtual scene is the virtual scene under combat situation, the virtual scene and expression
The mapping relations of dough sheet can be with are as follows: battle:bmask;It further, may include multiple expression dough sheets under the bmask, such as
It can be bmask_s (such as when can be release technical ability);Bmask_p while escaping (such as can be);Then, by above-mentioned expression
Dough sheet and mapping relations are stored;Wherein, expression dough sheet and mapping relations can store to local data base, can also be with
It stores to cloud or server etc., there is no special restriction on this for this example.
In step s 130, the expression dough sheet is covered to the predetermined patterns.
In this example embodiment, by expression dough sheet cover to predetermined patterns may include: according to the virtual scribing line,
The expression dough sheet is covered to the predetermined patterns.Specifically:
Refering to what is shown in Fig. 3, can be according to the virtual scribing line in figure, expression dough sheet is covered (such as can be with to predetermined patterns
The only expression dough sheet at mouth position).Further, it after expression dough sheet covers predetermined patterns, can be obtained virtual
Object facial expression needed for specific virtual scene, specific effect picture can be with reference to shown in Fig. 4.
It further, can also be according to the facial skeleton of the virtual objects in order to enable facial expression is more life-like
Position, eye position and/or the mouth position of adaptability adjusted in the expression dough sheet.For example, hanging point can be arranged
Then bone is achieved the purpose that not expose the false by head skeleton toward post-tensioning to ensure perfect to cover.Specific effect picture can be with
With reference to shown in Fig. 5.
Further, for the ease of the direct application to facial expression, the virtual objects facial expression generation method is also
It may include: to configure key frame for the facial expression;When detecting that the key frame is triggered, the facial expression is called
It is applied in the virtual scene that the virtual objects are presently in.Specifically:
For example, the key frame for triggering the facial expression can be configured at the time point for needing the facial expression occur;So
Afterwards, when detecting that the key frame is triggered, the facial expression can be called, and the facial expression is applied to virtual objects and is worked as
In preceding locating virtual scene.It is same to be saved so that the calling of facial expression is more convenient by using which for allocating time
When improve the fluency of entire animation, further the user experience is improved.
The disclosure additionally provides a kind of virtual objects facial expression generating means.Refering to what is shown in Fig. 6, the virtual objects are facial
Expression generation device may include replication module 610, drafting module 620 and overlay module 630.Wherein:
The predetermined patterns that replication module 610 can be used for replicating virtual objects face obtain dough sheet;Wherein, the default portion
Position includes the one or more of eyes and mouth position.
The facial expression that drafting module 620 can be used for drawing the virtual objects on dough sheet obtains expression dough sheet;Its
In, it include one of eyes expression and mouth position expression or a variety of in the expression dough sheet.
Overlay module 630 can be used for covering the expression dough sheet to the predetermined patterns.
In a kind of illustrative embodiments of the disclosure, the virtual objects facial expression generating means further include:
Mapping block can be used for the expression dough sheet and virtual scene corresponding with the expression dough sheet carrying out one
One mapping obtains mapping relations;
Memory module can be used for storing the expression dough sheet and the mapping relations.
In a kind of illustrative embodiments of the disclosure, the virtual objects facial expression generating means further include:
Adjust module, for the facial skeleton position according to the virtual objects, the adjustment of the adaptability expression dough sheet
In eye position and/or mouth position.
In a kind of example embodiment of the disclosure, the predetermined patterns of duplication virtual objects face obtain dough sheet and include:
It virtually crosses in the virtual objects face;According to the virtual scribing line, the default portion of the virtual objects face is replicated
Position obtains dough sheet.
In a kind of example embodiment of the disclosure, the expression dough sheet is covered to the predetermined patterns includes:
According to the virtual scribing line, the expression dough sheet is covered to the predetermined patterns.
In a kind of example embodiment of the disclosure, virtually crossing in the virtual objects face includes:
According to the amplitude of the facial expression, virtually cross in the virtual objects face.
In a kind of example embodiment of the disclosure, the virtual objects facial expression generating means further include:
Configuration module can be used for configuring key frame for the facial expression;
Calling module can be used for calling the facial expression to be applied to institute when detecting that the key frame is triggered
It states in the virtual scene that virtual objects are presently in.
The detail of each module is in corresponding virtual objects face in above-mentioned virtual objects facial expression generating means
It has carried out wanting to describe in detail in portion's expression generation method, therefore details are not described herein again.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description
Member, but this division is not enforceable.In fact, embodiment according to the present invention, it is above-described two or more
Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould
The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
In addition, although describing each step of method in the present invention in the accompanying drawings with particular order, this does not really want
These steps must be executed in this particular order by asking or implying, or having to carry out step shown in whole could realize
Desired result.Additional or alternative, it is convenient to omit multiple steps are merged into a step and executed by certain steps, and/
Or a step is decomposed into execution of multiple steps etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, mobile terminal or network equipment etc.) executes embodiment according to the present invention
Method.
In an exemplary embodiment of the present invention, a kind of electronic equipment that can be realized the above method is additionally provided.
Person of ordinary skill in the field it is understood that various aspects of the invention can be implemented as system, method or
Program product.Therefore, various aspects of the invention can be embodied in the following forms, it may be assumed that complete hardware embodiment, complete
The embodiment combined in terms of full Software Implementation (including firmware, microcode etc.) or hardware and software, can unite here
Referred to as circuit, " module " or " system ".
The electronic equipment 700 of this embodiment according to the present invention is described referring to Fig. 7.The electronics that Fig. 7 is shown
Equipment 700 is only an example, should not function to the embodiment of the present invention and use scope bring any restrictions.
As shown in fig. 7, electronic equipment 700 is showed in the form of universal computing device.The component of electronic equipment 700 can be with
Including but not limited to: at least one above-mentioned processing unit 710, at least one above-mentioned storage unit 720, the different system components of connection
The bus 730 of (including storage unit 720 and processing unit 710).
Wherein, the storage unit is stored with program code, and said program code can be held by the processing unit 710
Row, so that various according to the present invention described in the execution of the processing unit 710 above-mentioned " illustrative methods " part of this specification
The step of illustrative embodiments.For example, the processing unit 710 can execute step S110 as shown in fig. 1: duplication
The predetermined patterns of virtual objects face obtain dough sheet;Wherein, the predetermined patterns include the one of eyes and mouth position
Kind is a variety of;S120: the facial expression that the virtual objects are drawn on dough sheet obtains expression dough sheet;Wherein, the expression face
It include one of eyes expression and mouth position expression or a variety of in piece;Step S130: the expression dough sheet is covered
It covers to the predetermined patterns.
Storage unit 720 may include the readable medium of volatile memory cell form, such as Random Access Storage Unit
(RAM) 7201 and/or cache memory unit 7202, it can further include read-only memory unit (ROM) 7203.
Storage unit 720 can also include program/utility with one group of (at least one) program module 7205
7204, such program module 7205 includes but is not limited to: operating system, one or more application program, other program moulds
It may include the realization of network environment in block and program data, each of these examples or certain combination.
Bus 730 can be to indicate one of a few class bus structures or a variety of, including storage unit bus or storage
Cell controller, peripheral bus, graphics acceleration port, processing unit use any bus structures in a variety of bus structures
Local bus.
Electronic equipment 700 can also be with one or more external equipments 770 (such as keyboard, sensing equipment, bluetooth equipment
Deng) communication, can also be enabled a user to one or more equipment interact with the electronic equipment 700 communicate, and/or with make
The electronic equipment 700 any equipment (such as the router, modulatedemodulate that can be communicated with one or more of the other calculating equipment
Adjust device etc.) communication.This communication can be carried out by input/output (I/O) interface 750.Also, electronic equipment 700 may be used also
To pass through network adapter 760 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network
Network, such as internet) communication.As shown, network adapter 760 passes through other modules of bus 730 and electronic equipment 700
Communication.It should be understood that although not shown in the drawings, other hardware and/or software module, packet can be used in conjunction with electronic equipment 700
It includes but is not limited to: microcode, device driver, redundant processing unit, external disk drive array, RAID system, magnetic tape drive
Device and data backup storage system etc..
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented
Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the present invention
The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one
Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating
Equipment (can be personal computer, server, terminal installation or network equipment etc.) executes embodiment according to the present invention
Method.
In an exemplary embodiment of the present invention, a kind of computer readable storage medium is additionally provided, energy is stored thereon with
Enough realize the program product of this specification above method.In some possible embodiments, various aspects of the invention may be used also
In the form of being embodied as a kind of program product comprising program code, when described program product is run on the terminal device, institute
Program code is stated for executing the terminal device described in above-mentioned " illustrative methods " part of this specification according to this hair
The step of bright various illustrative embodiments.
Refering to what is shown in Fig. 8, describing the program product for realizing the above method of embodiment according to the present invention
800, can using portable compact disc read only memory (CD-ROM) and including program code, and can in terminal device,
Such as it is run on PC.However, program product of the invention is without being limited thereto, in this document, readable storage medium storing program for executing can be with
To be any include or the tangible medium of storage program, the program can be commanded execution system, device or device use or
It is in connection.
Described program product can be using any combination of one or more readable mediums.Readable medium can be readable letter
Number medium or readable storage medium storing program for executing.Readable storage medium storing program for executing for example can be but be not limited to electricity, magnetic, optical, electromagnetic, infrared ray or
System, device or the device of semiconductor, or any above combination.The more specific example of readable storage medium storing program for executing is (non exhaustive
List) include: electrical connection with one or more conducting wires, portable disc, hard disk, random access memory (RAM), only
Read memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read only memory
(CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
In carry readable program code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal,
Optical signal or above-mentioned any appropriate combination.Readable signal medium can also be any readable Jie other than readable storage medium storing program for executing
Matter, the readable medium can send, propagate or transmit for by instruction execution system, device or device use or and its
The program of combined use.
The program code for including on readable medium can transmit with any suitable medium, including but not limited to wirelessly, have
Line, optical cable, RF etc. or above-mentioned any appropriate combination.
The program for executing operation of the present invention can be write with any combination of one or more programming languages
Code, described program design language include object oriented program language-Java, C++ etc., further include conventional
Procedural programming language-such as " C " language or similar programming language.Program code can be fully in user
It calculates and executes in equipment, partly executes on a user device, being executed as an independent software package, partially in user's calculating
Upper side point is executed on a remote computing or is executed in remote computing device or server completely.It is being related to far
Journey calculates in the situation of equipment, and remote computing device can pass through the network of any kind, including local area network (LAN) or wide area network
(WAN), it is connected to user calculating equipment, or, it may be connected to external computing device (such as utilize ISP
To be connected by internet).
In addition, above-mentioned attached drawing is only the schematic theory of processing included by method according to an exemplary embodiment of the present invention
It is bright, rather than limit purpose.It can be readily appreciated that the time that above-mentioned processing shown in the drawings did not indicated or limited these processing is suitable
Sequence.In addition, be also easy to understand, these processing, which can be, for example either synchronously or asynchronously to be executed in multiple modules.
Those skilled in the art will readily occur to of the invention its after considering specification and the invention invented here of practice
His embodiment.This application is intended to cover any variations, uses, or adaptations of the invention, these modifications, purposes or
Adaptive change follow general principle of the invention and the common knowledge in the art do not invented including the present invention or
Conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by claim
It points out.
Claims (10)
1. a kind of virtual objects facial expression generation method characterized by comprising
The predetermined patterns of duplication virtual objects face obtain dough sheet;Wherein, the predetermined patterns include eyes and mouth
Position it is one or more;
The facial expression that the virtual objects are drawn on dough sheet obtains expression dough sheet;It wherein, include eye in the expression dough sheet
One of eyeball position expression and mouth position expression are a variety of;
The expression dough sheet is covered to the predetermined patterns.
2. virtual objects facial expression generation method according to claim 1, which is characterized in that obtain expression dough sheet it
Afterwards, the virtual objects facial expression generation method further include:
The expression dough sheet and virtual scene corresponding with the expression dough sheet are subjected to mapping one by one and obtain mapping relations;
The expression dough sheet and the mapping relations are stored.
3. virtual objects facial expression generation method according to claim 1, which is characterized in that cover the expression dough sheet
After lid to the predetermined patterns, the virtual objects facial expression generation method further include:
According to the facial skeleton position of the virtual objects, eye position in the adjustment expression dough sheet of adaptability and/or
Mouth position.
4. virtual objects facial expression generation method according to claim 1, which is characterized in that duplication virtual objects face
Predetermined patterns obtain dough sheet and include:
It virtually crosses in the virtual objects face;
According to the virtual scribing line, the predetermined patterns for replicating the virtual objects face obtain dough sheet.
5. virtual objects facial expression generation method according to claim 4, which is characterized in that cover the expression dough sheet
It covers to the predetermined patterns and includes:
According to the virtual scribing line, the expression dough sheet is covered to the predetermined patterns.
6. virtual objects facial expression generation method according to claim 4, which is characterized in that in the virtual objects face
Virtually scribing line includes: portion's configuration
According to the amplitude of the facial expression, virtually cross in the virtual objects face.
7. virtual objects facial expression generation method according to claim 1-6, which is characterized in that described virtual
Subjects face expression generation method further include:
Key frame is configured for the facial expression;
When detecting that the key frame is triggered, the facial expression is called to be applied to the void that the virtual objects are presently in
In quasi- scene.
8. a kind of virtual objects facial expression generating means characterized by comprising
Replication module, the predetermined patterns for replicating virtual objects face obtain dough sheet;Wherein, the predetermined patterns include eyes
Position and mouth position it is one or more;
Drafting module, the facial expression for drawing the virtual objects on dough sheet obtain expression dough sheet;Wherein, the expression
It include one of eyes expression and mouth position expression or a variety of in dough sheet;
Overlay module, for covering the expression dough sheet to the predetermined patterns.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
Claim 1-7 described in any item virtual objects facial expression generation methods are realized when processor executes.
10. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-7 described in any item via executing the executable instruction and carry out perform claim
Virtual objects facial expression generation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811307940.XA CN109509242B (en) | 2018-11-05 | 2018-11-05 | Virtual object facial expression generation method and device, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811307940.XA CN109509242B (en) | 2018-11-05 | 2018-11-05 | Virtual object facial expression generation method and device, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109509242A true CN109509242A (en) | 2019-03-22 |
CN109509242B CN109509242B (en) | 2023-12-29 |
Family
ID=65747542
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811307940.XA Active CN109509242B (en) | 2018-11-05 | 2018-11-05 | Virtual object facial expression generation method and device, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109509242B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490164A (en) * | 2019-08-26 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Generate the method, apparatus, equipment and medium of virtual expression |
CN111028305A (en) * | 2019-10-18 | 2020-04-17 | 平安科技(深圳)有限公司 | Expression generation method, device, equipment and storage medium |
CN111583372A (en) * | 2020-05-09 | 2020-08-25 | 腾讯科技(深圳)有限公司 | Method and device for generating facial expression of virtual character, storage medium and electronic equipment |
CN111899321A (en) * | 2020-08-26 | 2020-11-06 | 网易(杭州)网络有限公司 | Method and device for showing expression of virtual character |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107657651A (en) * | 2017-08-28 | 2018-02-02 | 腾讯科技(上海)有限公司 | Expression animation generation method and device, storage medium and electronic installation |
CN108229239A (en) * | 2016-12-09 | 2018-06-29 | 武汉斗鱼网络科技有限公司 | A kind of method and device of image procossing |
CN108564641A (en) * | 2018-03-16 | 2018-09-21 | 中国科学院自动化研究所 | Expression method for catching and device based on UE engines |
-
2018
- 2018-11-05 CN CN201811307940.XA patent/CN109509242B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108229239A (en) * | 2016-12-09 | 2018-06-29 | 武汉斗鱼网络科技有限公司 | A kind of method and device of image procossing |
CN107657651A (en) * | 2017-08-28 | 2018-02-02 | 腾讯科技(上海)有限公司 | Expression animation generation method and device, storage medium and electronic installation |
CN108564641A (en) * | 2018-03-16 | 2018-09-21 | 中国科学院自动化研究所 | Expression method for catching and device based on UE engines |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110490164A (en) * | 2019-08-26 | 2019-11-22 | 北京达佳互联信息技术有限公司 | Generate the method, apparatus, equipment and medium of virtual expression |
CN110490164B (en) * | 2019-08-26 | 2022-05-24 | 北京达佳互联信息技术有限公司 | Method, device, equipment and medium for generating virtual expression |
CN111028305A (en) * | 2019-10-18 | 2020-04-17 | 平安科技(深圳)有限公司 | Expression generation method, device, equipment and storage medium |
WO2021073417A1 (en) * | 2019-10-18 | 2021-04-22 | 平安科技(深圳)有限公司 | Expression generation method and apparatus, device and storage medium |
CN111583372A (en) * | 2020-05-09 | 2020-08-25 | 腾讯科技(深圳)有限公司 | Method and device for generating facial expression of virtual character, storage medium and electronic equipment |
CN111583372B (en) * | 2020-05-09 | 2021-06-25 | 腾讯科技(深圳)有限公司 | Virtual character facial expression generation method and device, storage medium and electronic equipment |
CN111899321A (en) * | 2020-08-26 | 2020-11-06 | 网易(杭州)网络有限公司 | Method and device for showing expression of virtual character |
CN111899321B (en) * | 2020-08-26 | 2023-09-26 | 网易(杭州)网络有限公司 | Method and device for displaying expression of virtual character |
Also Published As
Publication number | Publication date |
---|---|
CN109509242B (en) | 2023-12-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109509242A (en) | Virtual objects facial expression generation method and device, storage medium, electronic equipment | |
US20220215583A1 (en) | Image processing method and apparatus, electronic device, and storage medium | |
CN110286756A (en) | Method for processing video frequency, device, system, terminal device and storage medium | |
US20210304757A1 (en) | Removal of identifying traits of a user in a virtual environment | |
CN110163054A (en) | A kind of face three-dimensional image generating method and device | |
CN109410297A (en) | It is a kind of for generating the method and apparatus of avatar image | |
CN107852573A (en) | The social interaction of mixed reality | |
CN113508369A (en) | Communication support system, communication support method, communication support program, and image control program | |
CN106471572B (en) | Method, system and the robot of a kind of simultaneous voice and virtual acting | |
KR101624454B1 (en) | Method for providing message service based hologram image, user device, and display for hologram image | |
CN108460324A (en) | A method of child's mood for identification | |
JP2018536952A (en) | Method and apparatus for controlling a smart device and computer storage medium | |
CN114616541A (en) | Conversational AI platform with rendered graphical output | |
US11960792B2 (en) | Communication assistance program, communication assistance method, communication assistance system, terminal device, and non-verbal expression program | |
CN109416825A (en) | Dual existing reality for equipment arrives virtual reality portal | |
US10930265B2 (en) | Cognitive enhancement of communication with tactile stimulation | |
CN108109209A (en) | A kind of method for processing video frequency and its device based on augmented reality | |
CN110288705A (en) | The method and apparatus for generating threedimensional model | |
CN109324688A (en) | Exchange method and system based on visual human's behavioral standard | |
CN108776544A (en) | Exchange method and device, storage medium, electronic equipment in augmented reality | |
CN114157907A (en) | VR application design method and system based on cloud mobile phone | |
US11273342B2 (en) | Viewer feedback based motion video playback | |
US11094136B2 (en) | Virtual reality presentation of clothing fitted on avatars | |
TW202138971A (en) | Interaction method and apparatus, interaction system, electronic device, and storage medium | |
CN109493428A (en) | The optimization method and device, electronic equipment, storage medium of three dimensional virtual models |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |