CN109191593A - Motion control method, device and the equipment of virtual three-dimensional model - Google Patents

Motion control method, device and the equipment of virtual three-dimensional model Download PDF

Info

Publication number
CN109191593A
CN109191593A CN201810979887.1A CN201810979887A CN109191593A CN 109191593 A CN109191593 A CN 109191593A CN 201810979887 A CN201810979887 A CN 201810979887A CN 109191593 A CN109191593 A CN 109191593A
Authority
CN
China
Prior art keywords
dimensional coordinate
artis
dimensional
virtual
estimation
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810979887.1A
Other languages
Chinese (zh)
Inventor
张岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201810979887.1A priority Critical patent/CN109191593A/en
Publication of CN109191593A publication Critical patent/CN109191593A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T19/00Manipulating 3D models or images for computer graphics
    • G06T19/20Editing of 3D images, e.g. changing shapes or colours, aligning objects or positioning parts
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality

Abstract

The embodiment of the present invention provides the motion control method, device and equipment of a kind of virtual three-dimensional model, this method comprises: determining the two-dimensional coordinate of multiple default artis in the object images of terminal device acquisition;According to the two-dimensional coordinate of multiple default artis, determine that first three-dimensional coordinate of each default artis in virtual three-dimensional model, virtual three-dimensional model are the threedimensional model of the corresponding object of object images;Second three-dimensional coordinate of each default artis in the virtual three-dimensional model shown according to the first three-dimensional coordinate and terminal device, control virtual three-dimensional model moves in the display screen of terminal device, movement includes limb motion and displacement movement, second three-dimensional coordinate is the three-dimensional coordinate of each default artis before virtual three-dimensional model moves, and the first three-dimensional coordinate is the three-dimensional coordinate that artis is preset after virtual three-dimensional model moves.Improve the accuracy of the movement of control virtual three-dimensional model.

Description

Motion control method, device and the equipment of virtual three-dimensional model
Technical field
The present embodiments relate to field of computer technology more particularly to a kind of motion control sides of virtual three-dimensional model Method, device and equipment.
Background technique
Currently, terminal device (such as mobile phone, computer etc.) reference object (such as personage, animal etc.) can be passed through in user Afterwards, terminal device can construct and show the dummy model of object, and in object motion process, dummy model can execute identical Movement.
In the prior art, terminal device first constructs virtual two-dimensional model according to the object images that shooting obtains.Terminal is set Standby multiple object images obtained according to shooting determine the movement that object executes, and it is identical to control the execution of virtual two-dimensional model Movement.However, in above process, terminal device can only determine to obtain the big actuating of object execution according to multiple object images Make, and can not determine the details movement that object executes, the movement that the movement for causing virtual two-dimensional model to execute and object execute Differ greatly, cause the accuracy of the motion control to virtual two-dimensional model poor.
Summary of the invention
The embodiment of the present invention provides the motion control method, device and equipment of a kind of virtual three-dimensional model, improves to void The accuracy of the motion control of quasi- two dimensional model.
In a first aspect, the embodiment of the present invention provides a kind of virtual three-dimensional model motion control method, comprising:
The two-dimensional coordinate of multiple default artis is determined in the object images of terminal device acquisition;
According to the two-dimensional coordinate of the multiple default artis, determine each default artis in virtual three-dimensional model The first three-dimensional coordinate, the virtual three-dimensional model be the corresponding object of the object images threedimensional model;
It is each described default in the virtual three-dimensional model shown according to first three-dimensional coordinate and the terminal device Second three-dimensional coordinate of artis controls the virtual three-dimensional model and moves in the display screen of the terminal device, described Movement includes limb motion and displacement movement, and second three-dimensional coordinate is that virtual three-dimensional model movement is preceding each described default The three-dimensional coordinate of artis, first three-dimensional coordinate are the three-dimensional of the default artis after virtual three-dimensional model movement Coordinate.
In a kind of possible embodiment, the institute shown according to first three-dimensional coordinate and the terminal device The second three-dimensional coordinate for stating each default artis in virtual three-dimensional model, controls the virtual three-dimensional model in the terminal It is moved in the display screen of equipment, comprising:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of each default artis, the virtual three-dimensional model is determined Displacement information, institute's displacement information includes moving direction and moving distance;
According to the first three-dimensional coordinate of each default artis and institute's displacement information, the threedimensional model is controlled described It is moved in the display screen of terminal device.
In alternatively possible embodiment, the basis each presets the first three-dimensional coordinate and institute's rheme of artis Information is moved, the threedimensional model is controlled and is moved in the display screen of the terminal device, comprising:
According to institute's displacement information, final position of the virtual three-dimensional model in the display screen is determined;
According to the first three-dimensional coordinate of each default artis, the model parameter of the virtual three-dimensional model is modified, and The modified virtual three-dimensional model of final position display model parameter, wherein virtual three shown in the final position The three-dimensional coordinate that artis is each preset in dimension module is corresponding first three-dimensional coordinate.
In alternatively possible embodiment, the basis each presets the first three-dimensional coordinate and the two or three of artis Coordinate is tieed up, determines the displacement information of the virtual three-dimensional model, comprising:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of the multiple default artis, the limbs of the object are determined Movement;
According to the corresponding moving direction of the limb action and moving distance, institute's displacement information is determined.
In alternatively possible embodiment, for any one first joint in the multiple default artis Point determines first three-dimensional of first artis in virtual three-dimensional model according to the two-dimensional coordinate of first artis Coordinate, comprising:
According to the two-dimensional coordinate of first artis, the estimation three-dimensional coordinate set of first artis, institute are determined Stating in estimation three-dimensional coordinate set includes multiple estimation three-dimensional coordinates;
According to the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set, determine that described first closes First three-dimensional coordinate of node.
In alternatively possible embodiment, second three-dimensional coordinate according to first artis and described estimate Three-dimensional coordinate set is counted, determines the first three-dimensional coordinate of first artis, comprising:
It is three-dimensional to obtain each estimation in the second three-dimensional coordinate and the estimation three-dimensional coordinate set of first artis The distance between coordinate;
It is three-dimensional according to estimation each in the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set The distance between coordinate determines the first three-dimensional coordinate of first artis in the estimation three-dimensional coordinate set.
In alternatively possible embodiment, second three-dimensional coordinate according to first artis is estimated with described The distance between each estimation three-dimensional coordinate in three-dimensional coordinate set is counted, determination described the in the estimation three-dimensional coordinate set First three-dimensional coordinate of one artis, comprising:
By in the estimation three-dimensional coordinate set, the smallest at a distance from the second three-dimensional coordinate of first artis estimate Meter three-dimensional coordinate is determined as the first three-dimensional coordinate of first artis.
In alternatively possible embodiment, second three-dimensional coordinate according to first artis is estimated with described The distance between each estimation three-dimensional coordinate in three-dimensional coordinate set is counted, determination described the in the estimation three-dimensional coordinate set First three-dimensional coordinate of one artis, comprising:
Obtain the motion profile of first artis;
According to the motion profile of first artis, at least one target is determined in the estimation three-dimensional coordinate set Three-dimensional coordinate;
According to the distance between the second three-dimensional coordinate of first artis and each target three-dimensional coordinate, it is described extremely The first three-dimensional coordinate of first artis is determined in a few target three-dimensional coordinate.
In alternatively possible embodiment, the method also includes:
Obtain motion profile of the virtual three-dimensional model in preset duration;
When determining that motion profile meets preset condition, the default item is shown in the display screen of the terminal device The corresponding virtual objects of part.
Second aspect, the embodiment of the present invention provide a kind of virtual three-dimensional model motion control device, including first determines mould Block, the second determining module and control module, wherein
First determining module is used for, and the two of multiple default artis are determined in the object images of terminal device acquisition Tie up coordinate;
Second determining module is used for, and according to the two-dimensional coordinate of the multiple default artis, is determined each described default First three-dimensional coordinate of the artis in virtual three-dimensional model, the virtual three-dimensional model are the corresponding object of the object images Threedimensional model;
The control module is used for, the virtual three-dimensional shown according to first three-dimensional coordinate and the terminal device The second three-dimensional coordinate of each default artis, controls the virtual three-dimensional model in the display of the terminal device in model It is moved in screen, the movement includes limb motion and displacement movement, and second three-dimensional coordinate is the virtual three-dimensional model The three-dimensional coordinate of each default artis before moving, first three-dimensional coordinate are described after the virtual three-dimensional model moves The three-dimensional coordinate of default artis.
In a kind of possible embodiment, the control module is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of each default artis, the virtual three-dimensional model is determined Displacement information, institute's displacement information includes moving direction and moving distance;
According to the first three-dimensional coordinate of each default artis and institute's displacement information, the threedimensional model is controlled described It is moved in the display screen of terminal device.
In alternatively possible embodiment, the control module is specifically used for:
According to institute's displacement information, final position of the virtual three-dimensional model in the display screen is determined;
According to the first three-dimensional coordinate of each default artis, the model parameter of the virtual three-dimensional model is modified, and The modified virtual three-dimensional model of final position display model parameter, wherein virtual three shown in the final position The three-dimensional coordinate that artis is each preset in dimension module is corresponding first three-dimensional coordinate.
In alternatively possible embodiment, the control module is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of the multiple default artis, the limbs of the object are determined Movement;
According to the corresponding moving direction of the limb action and moving distance, institute's displacement information is determined.
In alternatively possible embodiment, for any one first joint in the multiple default artis Point, second determining module are specifically used for:
According to the two-dimensional coordinate of first artis, the estimation three-dimensional coordinate set of first artis, institute are determined Stating in estimation three-dimensional coordinate set includes multiple estimation three-dimensional coordinates;
According to the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set, determine that described first closes First three-dimensional coordinate of node.
In alternatively possible embodiment, second determining module is specifically used for:
It is three-dimensional to obtain each estimation in the second three-dimensional coordinate and the estimation three-dimensional coordinate set of first artis The distance between coordinate;
It is three-dimensional according to estimation each in the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set The distance between coordinate determines the first three-dimensional coordinate of first artis in the estimation three-dimensional coordinate set.
In alternatively possible embodiment, second determining module is specifically used for:
By in the estimation three-dimensional coordinate set, the smallest at a distance from the second three-dimensional coordinate of first artis estimate Meter three-dimensional coordinate is determined as the first three-dimensional coordinate of first artis.
In alternatively possible embodiment, second determining module is specifically used for:
Obtain the motion profile of first artis;
According to the motion profile of first artis, at least one target is determined in the estimation three-dimensional coordinate set Three-dimensional coordinate;
According to the distance between the second three-dimensional coordinate of first artis and each target three-dimensional coordinate, it is described extremely The first three-dimensional coordinate of first artis is determined in a few target three-dimensional coordinate.
In alternatively possible embodiment, described device further includes obtaining module and display module, wherein
The acquisition module is used for, and obtains motion profile of the virtual three-dimensional model in preset duration;
The display module is used for, when determining that motion profile meets preset condition, in the display screen of the terminal device The corresponding virtual objects of the preset condition are shown in curtain.
The third aspect, the embodiment of the present invention provide a kind of virtual three-dimensional model motion control device, which is characterized in that packet Include: processor, the processor are coupled with memory, wherein
The memory is used for, and stores computer program;
The processor is used for, and executes the computer program stored in the memory, so that the threedimensional model is true Determine device and executes the above-mentioned described in any item virtual three-dimensional model motion control methods of first aspect.
Fourth aspect, the embodiment of the present invention provide a kind of readable storage medium storing program for executing, including program or instruction, when described program or When instruction is run on computers, the virtual three-dimensional model motion control method as described in above-mentioned first aspect any one is held Row.
Motion control method, device and the equipment of virtual three-dimensional model provided in an embodiment of the present invention, terminal device determine The virtual three-dimensional model of object, and show the virtual three-dimensional model of object.Terminal device can shoot the object of movement, in terminal After equipment acquires the object images of object, terminal device can be according to the two dimension of default artis multiple in object images Coordinate, determines first three-dimensional coordinate of multiple default artis in virtual three-dimensional model, and according to the first three-dimensional coordinate and Second two-dimensional coordinate of multiple default artis in the virtual three-dimensional that terminal device is currently shown, control virtual three-dimensional model carry out Limb motion and displacement movement.It in above process, can be true by presetting the change in location of artis in different object images Surely the details movement that virtual three-dimensional model needs to be implemented is obtained, and then improves the accuracy of the movement of control virtual three-dimensional model. Further, it not only can control virtual three-dimensional model and carry out limb motion, virtual three-dimensional model can also be controlled and be displaced Movement, avoids virtual three-dimensional model from executing limb motion in situ, so that the movement more shape that virtual three-dimensional model executes As.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is virtual three-dimensional model motion control method application scenarios schematic diagram provided in an embodiment of the present invention;
Fig. 2 is the flow diagram of virtual three-dimensional model motion control method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of the first three-dimensional coordinate of determination method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of control virtual three-dimensional model movement technique provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram one of virtual three-dimensional model motion control device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram two of virtual three-dimensional model motion control device provided in an embodiment of the present invention;
Fig. 7 is the hardware structural diagram of virtual three-dimensional model motion control device provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is virtual three-dimensional model motion control method application scenarios schematic diagram provided in an embodiment of the present invention.It refers to Fig. 1, user can shoot object (object in Fig. 1 is personage) with hand-held terminal device 101, be set in user by terminal During standby 101 shooting personage, terminal device 101 can show character image M within display screen.Terminal device 101 carry out three-dimensional modeling also according to the character image taken, obtain the virtual three-dimensional model N of personage, and in terminal device 101 Screen in show virtual three-dimensional model N.During personage's movement, virtual three-dimensional model N also carries out identical movement.
In this application, terminal device can determine multiple default artis of object according to the type of object, preset and close Node can be shoulder joint node, elbow joint point, the wrist joint point etc. in arm.In terminal device control virtual three-dimensional model fortune When dynamic, terminal device determines the limbs that virtual three-dimensional model needs to be implemented according to the position of default artis each in object images Movement and displacement movement, and control virtual three-dimensional model and execute corresponding limb motion and displacement movement.In above process, lead to It crosses in different object images and presets the change in location of artis, can determine to obtain the details that virtual three-dimensional model needs to be implemented dynamic Make, and then improves the accuracy of the movement of control virtual three-dimensional model.Further, not only can control virtual three-dimensional model into Row limb motion can also control virtual three-dimensional model and carry out displacement movement, virtual three-dimensional model is avoided to execute limbs in situ Movement, so that the movement that virtual three-dimensional model executes is more vivid.
In the following, technical solution shown in the application is described in detail by specific embodiment.Under it should be noted that The several specific embodiments in face can be combined with each other, and for the same or similar content, no longer carry out weight in various embodiments Multiple explanation.
Fig. 2 is the flow diagram of virtual three-dimensional model motion control method provided in an embodiment of the present invention.Refer to figure 2, this method may include:
S201, the two-dimensional coordinate that multiple default artis are determined in the object images of terminal device acquisition.
The executing subject of the embodiment of the present invention can be terminal device, or be arranged in virtual three in terminal device Dimension module motion control device.Optionally, virtual three-dimensional model motion control device can also be passed through by software realization Software and hardware is implemented in combination with.
It should be noted that terminal device first determines the three-dimensional mould of object before executing embodiment shown in Fig. 2 Type.
Optionally, terminal device can first obtain multiple images of object, and according to multiple image creation objects of object Virtual three-dimensional model.
It optionally, may include multiple preset virtual three-dimensional models in terminal device, user can be multiple default Virtual three-dimensional model in select a virtual three-dimensional model, the virtual three-dimensional model that user selects is determined as pair by terminal device The virtual three-dimensional model of elephant.
In actual application, one object images of the every acquisition of terminal device then execute shown in Fig. 2 embodiment Method is once moved with controlling virtual three-dimensional model in the display screen of terminal device.Wherein, the every secondary control of terminal device The process of virtual three-dimensional model movement processed is identical, in embodiments of the present invention, is carried out with terminal device control virtual three-dimensional model It is illustrated for the process arbitrarily once moved.
Optionally, object shown in the embodiment of the present invention can be personage, animal, movable object etc..Certainly, in reality In the application process of border, object can be set according to actual needs, the present invention is not especially limit this.
Optionally, terminal device can be mobile phone, apparatus such as computer, be provided with photographic device in terminal device.Terminal is set It is standby object to be shot by photographic device, to acquire object images.
Optionally, presetting artis is the artis in object for execution movement.When the type difference of object, preset Artis may also be different.
For example, default artis may include: neck joint, shoulder joint, elbow joint, wrist joint, hip when object is personage Joint etc..When object is doggie, default joint may include: ankle-joint, leg joint, neck joint etc..
In actual application, the default artis of object, the embodiment of the present invention pair be can be set according to actual needs This is not especially limited.
Optionally, terminal device elder generation acquisition target image, and object images are identified, to be identified in object images Each default artis.
Optionally, the two-dimensional coordinate for presetting artis can be default artis relative to predetermined patterns in object images Coordinate.That is, establishing two-dimensional coordinate system as origin using the predetermined patterns in object images, the two-dimensional coordinate for presetting artis is two dimension This in coordinate system presets the coordinate of artis.
For example, then predetermined patterns can be the crown, the left eye etc. in object images when object is personage, actually answering With in the process, can be set according to actual needs the predetermined patterns.
S202, according to the two-dimensional coordinate of multiple default artis, determine multiple default artis in virtual three-dimensional model The first three-dimensional coordinate.
Wherein, virtual three-dimensional model is the threedimensional model of the corresponding object of object images.
Optionally, first three-dimensional coordinate of the default artis in virtual three-dimensional model can be the default artis Coordinate relative to predetermined patterns in virtual three-dimensional model.That is, establishing three as origin using the predetermined patterns in virtual three-dimensional model Coordinate system is tieed up, presetting first three-dimensional coordinate of the artis in virtual three-dimensional model is that this in three-dimensional system of coordinate presets artis Coordinate.
Optionally, when object is human body, it is determined that the first obtained three-dimensional coordinate needs to meet human motion rule, example Such as, human motion rule may include: arm successive amplitude of fluctuation less than 1.5 meters, the angle of head rotation is less than 180 degree Deng.
It should be noted that in the embodiment shown in fig. 3, to determining the of default artis in virtual three-dimensional model The process of one three-dimensional coordinate is described in detail, and is no longer repeated herein.
The of multiple default artis in S203, the virtual three-dimensional model shown according to the first three-dimensional coordinate and terminal device Two three-dimensional coordinates, control virtual three-dimensional model move in the display screen of terminal device.
Wherein, movement includes limb motion and displacement movement.Second three-dimensional coordinate is that virtual three-dimensional model movement is preceding each pre- If the three-dimensional coordinate of artis, the first three-dimensional coordinate is the three-dimensional coordinate of default artis after virtual three-dimensional model movement.
Optionally, the virtual three-dimensional model that terminal device is currently shown is that terminal device is determined according to previous frame object images It obtains, therefore, at current time, the two or three of multiple default artis in the virtual three-dimensional model that terminal device is currently shown It is known for tieing up coordinate.
It should be noted that at the beginning, object can make default posture so that terminal device acquire first The posture for opening object images is default posture, correspondingly, terminal device can be determined and be obtained respectively according to first object images The three-dimensional coordinate of a default artis in the three-dimensional model.
For example, it is assumed that object is personage, then presetting posture can be attention position.
Optionally, terminal device can control the limb of virtual three-dimensional model according to the first three-dimensional coordinate of each artis Body movement.For example, can modify to the model parameter of virtual three-dimensional model, to obtain updated virtual three-dimensional model, In virtual three-dimensional model in the updated, the three-dimensional coordinate of each artis is corresponding first three-dimensional coordinate.That is, relative to more Virtual three-dimensional model before new, the position (three-dimensional coordinate) of artis change, so that in visual effect, virtual three-dimensional mould Type performs limb motion.
Optionally, terminal device can determine object according to the first three-dimensional coordinate and the second three-dimensional coordinate of artis Moving direction and moving distance, and according to the moving direction and moving distance of object, it is mobile to control virtual three-dimensional model.
It should be noted that in the embodiment shown in fig. 4, to control virtual three-dimensional model terminal device display screen The process moved in curtain is described in detail, and is no longer repeated herein.
It should be noted that in the embodiment shown in Figure 2, illustrating only any one frame collected to terminal device The process that image is handled, correspondingly, virtual three-dimensional model has only carried out one-off.When what is collected to terminal device When sequential frame image is handled, the multiple movement of virtual three-dimensional model can conspire to create continuous and smooth a series of actions.
Virtual three-dimensional model motion control method provided in an embodiment of the present invention, terminal device determine the virtual three-dimensional of object Model, and show the virtual three-dimensional model of object.Terminal device can shoot the object of movement, acquire pair in terminal device After the object images of elephant, terminal device can determine that this is more according to the two-dimensional coordinate of default artis multiple in object images First three-dimensional coordinate of a default artis in virtual three-dimensional model, and currently shown according to the first three-dimensional coordinate and terminal device Second two-dimensional coordinate of multiple default artis in the virtual three-dimensional shown, control virtual three-dimensional model carry out limb motion and displacement Movement.In above process, it by presetting the change in location of artis in different object images, can determine to obtain virtual three-dimensional The details movement that model needs to be implemented, and then improve the accuracy of the movement of control virtual three-dimensional model.Further, not only may be used Limb motion is carried out to control virtual three-dimensional model, virtual three-dimensional model can also be controlled and carry out displacement movement, avoid virtual three Dimension module executes in situ limb motion, so that the movement that virtual three-dimensional model executes is more vivid.
On the basis of any one above-mentioned embodiment, optionally, it can be determined by following feasible implementation pre- If first three-dimensional coordinate (S202 in Fig. 2 embodiment) of the artis in virtual three-dimensional model, specifically, referring to Fig. 3 institute The embodiment shown.It should be noted that terminal device determines that the process of the first three-dimensional coordinate of each default artis is identical, In the embodiment shown in fig. 3, it is with the first three-dimensional coordinate of any one the first artis in the multiple default artis of determination Example is illustrated.
Fig. 3 is the flow diagram of the first three-dimensional coordinate of determination method provided in an embodiment of the present invention.Fig. 3 is referred to, it should Method may include:
S301, according to the two-dimensional coordinate of the first artis, determine the estimation three-dimensional coordinate set of the first artis.
Wherein, estimate to include multiple estimation three-dimensional coordinates in three-dimensional coordinate set.
Optionally, the two-dimensional coordinate of the first artis includes the coordinate and vertical direction of the first artis in the horizontal direction On coordinate.
Optionally, the first artis includes coordinate, the vertical direction of the first artis in the horizontal direction in three-dimensional coordinate On coordinate and depth direction on coordinate.
Optionally, can presetting each joint in object, in the first coordinate range of depth direction, terminal device can To determine the coordinate on multiple depth directions in the first coordinate range of depth direction according to the first joint, and respectively will be multiple Coordinate on depth direction is added in the two-dimensional coordinate of the first artis, and then obtains multiple in estimation three-dimensional coordinate set Estimate three-dimensional coordinate.
Optionally, it can determine that each joint is in the first coordinate of depth direction in object according to the kinetic characteristic of object Range.
For example, elbow joint is -80cm to 80cm in the first coordinate range of depth direction when object is personage, ankle is closed Section is -150cm to 150cm in the first coordinate range of depth direction.
Certainly, in actual application, it can be set according to actual needs each joint of object in depth direction First coordinate range.
For example, it is assumed that the first artis is elbow joint, it is assumed that using the positive crown of personage as coordinate origin, the two of elbow joint point Tieing up coordinate is (30cm, 50cm), it is assumed that elbow joint is -80cm to 80cm in the first coordinate range of depth direction, then can be true Determine elbow joint multiple coordinates of depth direction include: -80cm, -70cm, -60cm ..., 0cm, 10cm, 20cm ..., 80cm。
The coordinate on multiple depth direction is added to respectively in the two-dimensional coordinate of elbow joint point, obtains multiple estimations three Tie up coordinate: (30cm, 50cm, -80cm), (30cm, 50cm, -70cm) ..., (30cm, 50cm, 70cm), (30cm, 50cm, 80cm)。
Each estimation three-dimensional coordinate in S302, the second three-dimensional coordinate for obtaining the first artis and estimation three-dimensional coordinate set The distance between.
Optionally, the second three-dimensional coordinate of the first artis and estimation the distance between three-dimensional coordinate can for it is European away from From.
S303, the second three-dimensional coordinate and each estimation three-dimensional coordinate in estimation three-dimensional coordinate set according to the first artis The distance between, the first three-dimensional coordinate of the first artis is determined in estimation three-dimensional coordinate set.
Optionally, first can be determined in estimation three-dimensional coordinate set according to following at least two feasible implementations First three-dimensional coordinate of artis:
A kind of feasible implementation:
By the smallest estimation three-dimensional is sat in estimation three-dimensional coordinate set, at a distance from the second three-dimensional coordinate of the first artis Mark is determined as the first three-dimensional coordinate of the first artis.
Another feasible implementation:
The motion profile for obtaining the first artis, according to the motion profile of the first artis, in estimation three-dimensional coordinate set At least one target three-dimensional coordinate of middle determination, according between the second three-dimensional coordinate of the first artis and each target three-dimensional coordinate Distance, at least one target three-dimensional coordinate determine the first artis the first three-dimensional coordinate.
Optionally, the motion profile of the first artis can be the first artis before current time in preset duration Motion profile.
For example, preset duration can be 30 milliseconds, 1 second etc..In actual application, it can be set according to actual needs The preset duration, the present invention is not especially limit this.
Optionally, second of the first artis in the depth direction can be determined according to the motion profile of the first artis Coordinate range, the second coordinate range are located in the first coordinate range, and the second seat according to the first artis in the depth direction Range is marked, determines at least one target three-dimensional coordinate in estimation three-dimensional coordinate set, wherein target three-dimensional coordinate is in depth side Upward coordinate is in the second coordinate range.
For example, it is assumed that include 17 estimation three-dimensional coordinates in estimation three-dimensional coordinate set, be respectively as follows: (30cm, 50cm ,- 80cm), (30cm, 50cm, -70cm) ..., (30cm, 50cm, 70cm), (30cm, 50cm, 80cm), wherein this 17 are estimated The coordinate of three-dimensional coordinate in the depth direction is counted to be incremented by with 10cm.
Assuming that before current time elbow joint point three three-dimensional coordinates be (30cm, 50cm, -60cm), (30cm, 50cm, -50cm), (30cm, 50cm, -40cm), then can determine that the motion track of elbow joint is to move from back to front, then can be with Determine that the second coordinate range of elbow joint in the depth direction is -60cm to 20cm.Correspondingly, at least one target three-dimensional coordinate Including 9 three-dimensional coordinates, be respectively as follows: (30cm, 50cm, -60cm), (30cm, 50cm, -50cm) ..., (30cm, 50cm, 10cm), (30cm, 50cm, 20cm), wherein the coordinate of this 9 estimation three-dimensional coordinates in the depth direction is incremented by with 10cm.
It optionally, can will be at a distance from the second three-dimensional coordinate at least one target three-dimensional coordinate, with the first artis The smallest estimation three-dimensional coordinate is determined as the first three-dimensional coordinate of the first artis.
It should be noted that can be obtained according to the size of the virtual three-dimensional model shown in terminal device to determination First three-dimensional coordinate carries out equal proportion scaling processing, so that the size of the first three-dimensional coordinate and virtual three-dimensional model is to matching.
In the embodiment shown in fig. 3, the coordinate model according to the kinetic characteristic of object, the first artis in the depth direction It the information such as encloses, can accurately determine the first three-dimensional coordinate for obtaining the first artis in virtual three-dimensional model.
On the basis of any one above-mentioned embodiment, optionally, institute can be controlled by following feasible implementation It states virtual three-dimensional model and moves (S203 in embodiment illustrated in fig. 2) in the display screen of the terminal device, specifically, asking Embodiment shown in Figure 4.
Fig. 4 is the flow diagram of control virtual three-dimensional model movement technique provided in an embodiment of the present invention.Refer to figure 4, this method may include:
S401, the first three-dimensional coordinate and the second three-dimensional coordinate according to multiple default artis determine that the limbs of object are dynamic Make.
Optionally, it can be sat according to the first three-dimensional coordinate of the partial joint point in multiple default artis and second are three-dimensional Mark, determines the limb action of object.
For example, it is assumed that object is personage, then it can be according to ankle-joint, knee joint, first three-dimensional coordinate in hip joint and the Two three-dimensional coordinates determine the limb action of object.
Optionally, limb action may include forward left leg advanced in years, step right leg backward, step left leg to the left, step right leg to the right etc..
Optionally, can by preset model to the first three-dimensional coordinate of multiple default artis and the second three-dimensional coordinate into Row prediction, to determine the limb action of object.
Optionally, which can be learnt to obtain by deep learning algorithm to multiple groups sample data, Wherein, the first three-dimensional coordinate and the second three-dimensional coordinate and corresponding in every group of sample data including multiple default artis Limb action.
S402, the displacement information that object is determined according to the limb action of object.
Wherein, displacement information includes moving direction and moving distance.
Optionally, the corresponding relationship between limb action and moving direction and moving distance can be preset, correspondingly, The corresponding moving direction of available limb action and moving distance, and by the corresponding moving direction of limb action and moving distance It is determined as the displacement information of object.
For example, it is assumed that limb action is to step left foot backward, then the corresponding moving direction of the limb action be rear, it is mobile away from From for pre-determined distance backward.
S403, according to displacement information, determine the final position of virtual three-dimensional model within display screen.
For example, it is assumed that limb action be to the left step left foot, then final position be virtual three-dimensional model within display screen when 0.5 centimetre on the left of front position.
S404, according to the first three-dimensional coordinate of each default artis, modify the model parameter of virtual three-dimensional model, and The modified virtual three-dimensional model of final position display model parameter.
Wherein, the three-dimensional coordinate that artis is each preset in the virtual three-dimensional model that final position is shown is corresponding the One three-dimensional coordinate.
Optionally, each position in virtual three-dimensional model is determined to obtain by corresponding group model parameter respectively, for example, Model parameter can be model coordinate.
Optionally, when a position, corresponding model parameter changes, then the shape at the position and/or at the position Position relative to fixed point changes.For example, it is assumed that object is personage, the arm of the personage is by the corresponding one group of mould of arm Shape parameter determination obtains, and when needing to change position of the arm relative to fixed point (such as positive crown), need to only modify arm pair The group model parameter answered.
Optionally, in the first three-dimensional coordinate according to a default artis, the artis in virtual three-dimensional model is modified After corresponding model parameter, virtual three-dimensional model is updated, and three in the default threedimensional model of artis in the updated Dimension coordinate is the first three-dimensional coordinate.
For example, it is assumed that object is personage, after personage steps left foot to the left, virtual three-dimensional model, which also executes, steps left foot movement, And in the display screen of terminal device, virtual three-dimensional model moves to the left.
In the embodiment shown in fig. 4, by obtaining the limb action of object, virtual three-dimensional model can be accurately determined Displacement information, determine the final position of virtual three-dimensional model according to displacement information, and show virtual three-dimensional mould in final position Type.In this way, not only can control virtual three-dimensional model carries out limb motion, virtual three-dimensional model can also be controlled and carry out displacement fortune It is dynamic, avoid virtual three-dimensional model from executing limb motion in situ, so that the movement that virtual three-dimensional model executes is more vivid.
It should be noted that optionally, user can be with mobile virtual three on the basis of any one above-mentioned embodiment Position of the dimension module in the display screen of terminal device, for example, virtual three-dimensional model can be drawn to terminal device by user The positions such as the upper left corner, the lower left corner.
Optionally, user can also input rotation process to virtual three-dimensional model, to change virtual three-dimensional model Towards etc..
It optionally, can be with special display effect information during terminal device shows virtual three-dimensional model.For example, special Effect information may include the image informations such as display colored ribbon, fresh flower, and special-effect information can also include cheer, laugh etc..
Optionally, after terminal device can execute predetermined movement detecting virtual three-dimensional model, show that this is default dynamic Make corresponding special-effect information.For example, it is assumed that object is personage, then when terminal device detects that virtual three-dimensional model executes jump and moves When making, colored ribbon and cheer are shown.
Fig. 5 is the structural schematic diagram one of virtual three-dimensional model motion control device provided in an embodiment of the present invention.It refers to Fig. 5, the virtual three-dimensional model motion control device 10 may include the first determining module 11, the second determining module 12 and control mould Block 13, wherein
First determining module 11 is used for, and multiple default artis are determined in the object images of terminal device acquisition Two-dimensional coordinate;
Second determining module 12 is used for, and according to the two-dimensional coordinate of the multiple default artis, is determined each described pre- If first three-dimensional coordinate of the artis in virtual three-dimensional model, the virtual three-dimensional model is that the object images are corresponding right The threedimensional model of elephant;
The control module 13 is used for, described virtual three shown according to first three-dimensional coordinate and the terminal device Second three-dimensional coordinate of each default artis in dimension module controls the virtual three-dimensional model in the aobvious of the terminal device It is moved in display screen curtain, the movement includes limb motion and displacement movement, and second three-dimensional coordinate is the virtual three-dimensional mould The three-dimensional coordinate of each default artis before type moves, institute after first three-dimensional coordinate moves for the virtual three-dimensional model State the three-dimensional coordinate of default artis.
Virtual three-dimensional model motion control device provided in an embodiment of the present invention can execute shown in above method embodiment Technical solution, realization principle and beneficial effect are similar, are no longer repeated herein.
In a kind of possible embodiment, the control module 13 is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of each default artis, the virtual three-dimensional model is determined Displacement information, institute's displacement information includes moving direction and moving distance;
According to the first three-dimensional coordinate of each default artis and institute's displacement information, the threedimensional model is controlled described It is moved in the display screen of terminal device.
In alternatively possible embodiment, the control module 13 is specifically used for:
According to institute's displacement information, final position of the virtual three-dimensional model in the display screen is determined;
According to the first three-dimensional coordinate of each default artis, the model parameter of the virtual three-dimensional model is modified, and The modified virtual three-dimensional model of final position display model parameter, wherein virtual three shown in the final position The three-dimensional coordinate that artis is each preset in dimension module is corresponding first three-dimensional coordinate.
In alternatively possible embodiment, the control module 13 is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of the multiple default artis, the limbs of the object are determined Movement;
According to the corresponding moving direction of the limb action and moving distance, institute's displacement information is determined.
In alternatively possible embodiment, for any one first joint in the multiple default artis Point, second determining module 12 are specifically used for:
According to the two-dimensional coordinate of first artis, the estimation three-dimensional coordinate set of first artis, institute are determined Stating in estimation three-dimensional coordinate set includes multiple estimation three-dimensional coordinates;
According to the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set, determine that described first closes First three-dimensional coordinate of node.
In alternatively possible embodiment, second determining module 12 is specifically used for:
It is three-dimensional to obtain each estimation in the second three-dimensional coordinate and the estimation three-dimensional coordinate set of first artis The distance between coordinate;
It is three-dimensional according to estimation each in the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set The distance between coordinate determines the first three-dimensional coordinate of first artis in the estimation three-dimensional coordinate set.
In alternatively possible embodiment, second determining module 12 is specifically used for:
By in the estimation three-dimensional coordinate set, the smallest at a distance from the second three-dimensional coordinate of first artis estimate Meter three-dimensional coordinate is determined as the first three-dimensional coordinate of first artis.
In alternatively possible embodiment, second determining module 12 is specifically used for:
Obtain the motion profile of first artis;
According to the motion profile of first artis, at least one target is determined in the estimation three-dimensional coordinate set Three-dimensional coordinate;
According to the distance between the second three-dimensional coordinate of first artis and each target three-dimensional coordinate, it is described extremely The first three-dimensional coordinate of first artis is determined in a few target three-dimensional coordinate.
Fig. 6 is the structural schematic diagram two of virtual three-dimensional model motion control device provided in an embodiment of the present invention.In Fig. 5 institute On the basis of showing embodiment, Fig. 6 is referred to, described device further includes obtaining module 14 and display module 15, wherein
The acquisition module 14 is used for, and obtains motion profile of the virtual three-dimensional model in preset duration;
The display module 15 is used for, when determining that motion profile meets preset condition, in the display of the terminal device The corresponding virtual objects of the preset condition are shown in screen.
Virtual three-dimensional model motion control device provided in an embodiment of the present invention can execute shown in above method embodiment Technical solution, realization principle and beneficial effect are similar, are no longer repeated herein.
Fig. 7 is the hardware structural diagram of virtual three-dimensional model motion control device provided in an embodiment of the present invention, such as Fig. 7 Shown, which includes: at least one processor 21 and memory 22.Optionally, the end End equipment further includes communication component 23.Wherein, processor 21, memory 22 and communication component 23 are connected by bus 24.
During specific implementation, at least one processor 21 executes the computer execution that the memory 22 stores and refers to It enables, so that at least one processor 21 executes method shown in embodiment of the method as above.
Communication component 23 can carry out data interaction with terminal device.
The specific implementation process of processor 21 can be found in above method embodiment, and it is similar that the realization principle and technical effect are similar, Details are not described herein again for the present embodiment.
In above-mentioned embodiment shown in Fig. 7, it should be appreciated that processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc..Hardware processor can be embodied directly in conjunction with the step of invention disclosed method to have executed At, or in processor hardware and software module combination execute completion.
Memory may include high speed RAM memory, it is also possible to and it further include non-volatile memories NVM, for example, at least one Magnetic disk storage.
Bus can be industry standard architecture (Industry Standard Architecture, ISA) bus, outer Portion's apparatus interconnection (Peripheral Component, PCI) bus or extended industry-standard architecture (Extended Industry Standard Architecture, EISA) bus etc..Bus can be divided into address bus, data/address bus, control Bus etc..For convenient for indicating, the bus in illustrations does not limit only a bus or a type of bus.
The application also provides a kind of computer readable storage medium, and calculating is stored in the computer readable storage medium Machine executes instruction, and when processor executes the computer executed instructions, realizes side shown in embodiment of the method as described above Method.
Above-mentioned computer readable storage medium, above-mentioned readable storage medium storing program for executing can be by any kind of volatibility or non- Volatile storage devices or their combination realize that, such as static random access memory (SRAM), electrically erasable is only It reads memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM) is read-only to deposit Reservoir (ROM), magnetic memory, flash memory, disk or CD.Readable storage medium storing program for executing can be general or specialized computer capacity Any usable medium enough accessed.
A kind of illustrative readable storage medium storing program for executing is coupled to processor, to enable a processor to from the readable storage medium storing program for executing Information is read, and information can be written to the readable storage medium storing program for executing.Certainly, readable storage medium storing program for executing is also possible to the composition portion of processor Point.Processor and readable storage medium storing program for executing can be located at specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC) in.Certainly, processor and readable storage medium storing program for executing can also be used as discrete assembly and be present in equipment In.
The division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, Such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored, or not hold Row.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, The indirect coupling or communication connection of device or unit can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above various embodiments is only to illustrate the technical solution of the embodiment of the present invention, rather than to it Limitation;Although the embodiment of the present invention is described in detail referring to foregoing embodiments, those skilled in the art It is understood that it is still possible to modify the technical solutions described in the foregoing embodiments, either to part of or All technical features are equivalently replaced;And these are modified or replaceed, it does not separate the essence of the corresponding technical solution this hair The range of bright example scheme.

Claims (20)

1. a kind of virtual three-dimensional model motion control method characterized by comprising
The two-dimensional coordinate of multiple default artis is determined in the object images of terminal device acquisition;
According to the two-dimensional coordinate of the multiple default artis, of each default artis in virtual three-dimensional model is determined One three-dimensional coordinate, the virtual three-dimensional model are the threedimensional model of the corresponding object of the object images;
Each default joint in the virtual three-dimensional model shown according to first three-dimensional coordinate and the terminal device Second three-dimensional coordinate of point, control the virtual three-dimensional model moves in the display screen of the terminal device, the movement Including limb motion and displacement movement, second three-dimensional coordinate is each default joint before the virtual three-dimensional model moves The three-dimensional coordinate of point, first three-dimensional coordinate are the three-dimensional seat of the default artis after virtual three-dimensional model movement Mark.
2. the method according to claim 1, wherein described set according to first three-dimensional coordinate and the terminal The second three-dimensional coordinate of each default artis, controls the virtual three-dimensional model in the virtual three-dimensional model of standby display It is moved in the display screen of the terminal device, comprising:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of each default artis, the displacement of the virtual three-dimensional model is determined Information, institute's displacement information includes moving direction and moving distance;
According to the first three-dimensional coordinate of each default artis and institute's displacement information, the threedimensional model is controlled in the terminal It is moved in the display screen of equipment.
3. according to the method described in claim 2, it is characterized in that, the basis each presets the first three-dimensional coordinate of artis With institute's displacement information, controls the threedimensional model and is moved in the display screen of the terminal device, comprising:
According to institute's displacement information, final position of the virtual three-dimensional model in the display screen is determined;
According to the first three-dimensional coordinate of each default artis, the model parameter of the virtual three-dimensional model is modified, and described The modified virtual three-dimensional model of final position display model parameter, wherein in the virtual three-dimensional mould that the final position is shown The three-dimensional coordinate that artis is each preset in type is corresponding first three-dimensional coordinate.
4. according to the method in claim 2 or 3, which is characterized in that the basis each presets the first three-dimensional of artis Coordinate and the second three-dimensional coordinate, determine the displacement information of the virtual three-dimensional model, comprising:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of the multiple default artis, determine that the limbs of the object are dynamic Make;
According to the corresponding moving direction of the limb action and moving distance, institute's displacement information is determined.
5. method according to claim 1-3, which is characterized in that for appointing in the multiple default artis First artis of anticipating determines first artis in virtual three-dimensional mould according to the two-dimensional coordinate of first artis The first three-dimensional coordinate in type, comprising:
According to the two-dimensional coordinate of first artis, the estimation three-dimensional coordinate set of first artis is determined, it is described to estimate Counting includes multiple estimation three-dimensional coordinates in three-dimensional coordinate set;
According to the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set, first artis is determined The first three-dimensional coordinate.
6. according to the method described in claim 5, it is characterized in that, second three-dimensional coordinate according to first artis With the estimation three-dimensional coordinate set, the first three-dimensional coordinate of first artis is determined, comprising:
Obtain each estimation three-dimensional coordinate in the second three-dimensional coordinate and the estimation three-dimensional coordinate set of first artis The distance between;
According to each estimation three-dimensional coordinate in the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set The distance between, the first three-dimensional coordinate of first artis is determined in the estimation three-dimensional coordinate set.
7. according to the method described in claim 6, it is characterized in that, second three-dimensional coordinate according to first artis The distance between estimation three-dimensional coordinate each in the estimation three-dimensional coordinate set, in the estimation three-dimensional coordinate set really First three-dimensional coordinate of fixed first artis, comprising:
By in the estimation three-dimensional coordinate set, at a distance from the second three-dimensional coordinate of first artis it is the smallest estimation three Dimension coordinate is determined as the first three-dimensional coordinate of first artis.
8. according to the method described in claim 6, it is characterized in that, second three-dimensional coordinate according to first artis The distance between estimation three-dimensional coordinate each in the estimation three-dimensional coordinate set, in the estimation three-dimensional coordinate set really First three-dimensional coordinate of fixed first artis, comprising:
Obtain the motion profile of first artis;
According to the motion profile of first artis, determine that at least one target is three-dimensional in the estimation three-dimensional coordinate set Coordinate;
According to the distance between the second three-dimensional coordinate of first artis and each target three-dimensional coordinate, described at least one The first three-dimensional coordinate of first artis is determined in a target three-dimensional coordinate.
9. method according to claim 1-3, which is characterized in that the method also includes:
Obtain motion profile of the virtual three-dimensional model in preset duration;
When determining that motion profile meets preset condition, the preset condition pair is shown in the display screen of the terminal device The virtual objects answered.
10. a kind of virtual three-dimensional model motion control device, which is characterized in that including the first determining module, the second determining module And control module, wherein
First determining module is used for, and determines that the two dimension of multiple default artis is sat in the object images of terminal device acquisition Mark;
Second determining module is used for, and according to the two-dimensional coordinate of the multiple default artis, determines each default joint First three-dimensional coordinate of the point in virtual three-dimensional model, the virtual three-dimensional model are the three of the corresponding object of the object images Dimension module;
The control module is used for, the virtual three-dimensional model shown according to first three-dimensional coordinate and the terminal device In each default artis the second three-dimensional coordinate, control the virtual three-dimensional model in the display screen of the terminal device Middle movement, the movement include limb motion and displacement movement, and second three-dimensional coordinate is virtual three-dimensional model movement The three-dimensional coordinate of preceding each default artis, first three-dimensional coordinate are described default after the virtual three-dimensional model moves The three-dimensional coordinate of artis.
11. device according to claim 10, which is characterized in that the control module is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of each default artis, the displacement of the virtual three-dimensional model is determined Information, institute's displacement information includes moving direction and moving distance;
According to the first three-dimensional coordinate of each default artis and institute's displacement information, the threedimensional model is controlled in the terminal It is moved in the display screen of equipment.
12. device according to claim 11, which is characterized in that the control module is specifically used for:
According to institute's displacement information, final position of the virtual three-dimensional model in the display screen is determined;
According to the first three-dimensional coordinate of each default artis, the model parameter of the virtual three-dimensional model is modified, and described The modified virtual three-dimensional model of final position display model parameter, wherein in the virtual three-dimensional mould that the final position is shown The three-dimensional coordinate that artis is each preset in type is corresponding first three-dimensional coordinate.
13. device according to claim 11 or 12, which is characterized in that the control module is specifically used for:
According to the first three-dimensional coordinate and the second three-dimensional coordinate of the multiple default artis, determine that the limbs of the object are dynamic Make;
According to the corresponding moving direction of the limb action and moving distance, institute's displacement information is determined.
14. the described in any item devices of 0-12 according to claim 1, which is characterized in that in the multiple default artis Any one first artis, second determining module is specifically used for:
According to the two-dimensional coordinate of first artis, the estimation three-dimensional coordinate set of first artis is determined, it is described to estimate Counting includes multiple estimation three-dimensional coordinates in three-dimensional coordinate set;
According to the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set, first artis is determined The first three-dimensional coordinate.
15. device according to claim 14, which is characterized in that second determining module is specifically used for:
Obtain each estimation three-dimensional coordinate in the second three-dimensional coordinate and the estimation three-dimensional coordinate set of first artis The distance between;
According to each estimation three-dimensional coordinate in the second three-dimensional coordinate of first artis and the estimation three-dimensional coordinate set The distance between, the first three-dimensional coordinate of first artis is determined in the estimation three-dimensional coordinate set.
16. device according to claim 15, which is characterized in that second determining module is specifically used for:
By in the estimation three-dimensional coordinate set, at a distance from the second three-dimensional coordinate of first artis it is the smallest estimation three Dimension coordinate is determined as the first three-dimensional coordinate of first artis.
17. device according to claim 15, which is characterized in that second determining module is specifically used for:
Obtain the motion profile of first artis;
According to the motion profile of first artis, determine that at least one target is three-dimensional in the estimation three-dimensional coordinate set Coordinate;
According to the distance between the second three-dimensional coordinate of first artis and each target three-dimensional coordinate, described at least one The first three-dimensional coordinate of first artis is determined in a target three-dimensional coordinate.
18. the described in any item devices of 0-12 according to claim 1, which is characterized in that described device further include obtain module and Display module, wherein
The acquisition module is used for, and obtains motion profile of the virtual three-dimensional model in preset duration;
The display module is used for, when determining that motion profile meets preset condition, in the display screen of the terminal device Show the corresponding virtual objects of the preset condition.
19. a kind of virtual three-dimensional model motion control device characterized by comprising processor, the processor and memory Coupling, wherein
The memory is used for, and stores computer program;
The processor is used for, and executes the computer program stored in the memory, so that the threedimensional model determines dress It sets perform claim and requires the described in any item virtual three-dimensional model motion control methods of 1-9.
20. a kind of readable storage medium storing program for executing, which is characterized in that including program or instruction, when described program or instruct on computers When operation, such as described in any item virtual three-dimensional model motion control methods of the claim 1-9 are performed.
CN201810979887.1A 2018-08-27 2018-08-27 Motion control method, device and the equipment of virtual three-dimensional model Pending CN109191593A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810979887.1A CN109191593A (en) 2018-08-27 2018-08-27 Motion control method, device and the equipment of virtual three-dimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810979887.1A CN109191593A (en) 2018-08-27 2018-08-27 Motion control method, device and the equipment of virtual three-dimensional model

Publications (1)

Publication Number Publication Date
CN109191593A true CN109191593A (en) 2019-01-11

Family

ID=64916175

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810979887.1A Pending CN109191593A (en) 2018-08-27 2018-08-27 Motion control method, device and the equipment of virtual three-dimensional model

Country Status (1)

Country Link
CN (1) CN109191593A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111433783A (en) * 2019-07-04 2020-07-17 深圳市瑞立视多媒体科技有限公司 Hand model generation method and device, terminal device and hand motion capture method
CN111462204A (en) * 2020-02-13 2020-07-28 腾讯科技(深圳)有限公司 Virtual model generation method, virtual model generation device, storage medium, and electronic device
CN111460873A (en) * 2019-01-18 2020-07-28 北京市商汤科技开发有限公司 Image processing method and apparatus, image device, and storage medium
CN111694429A (en) * 2020-06-08 2020-09-22 北京百度网讯科技有限公司 Virtual object driving method and device, electronic equipment and readable storage
WO2021003994A1 (en) * 2019-07-05 2021-01-14 深圳市工匠社科技有限公司 Control method for virtual character, and related product
CN112991552A (en) * 2021-03-10 2021-06-18 中国商用飞机有限责任公司北京民用飞机技术研究中心 Human body virtual-real matching method, device, equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617175A (en) * 2004-12-09 2005-05-18 上海交通大学 Human limb three-dimensional model building method based on labelling point
CN101276482A (en) * 2008-05-12 2008-10-01 北京理工大学 Simplifying method for rendering three-dimensional scene based on dynamic Billboard technique
CN101989076A (en) * 2010-08-24 2011-03-23 北京水晶石数字科技有限公司 Method for controlling shooting by three-dimensional software
CN102855470A (en) * 2012-07-31 2013-01-02 中国科学院自动化研究所 Estimation method of human posture based on depth image
US9389779B2 (en) * 2013-03-14 2016-07-12 Intel Corporation Depth-based user interface gesture control
CN106251396A (en) * 2016-07-29 2016-12-21 迈吉客科技(北京)有限公司 The real-time control method of threedimensional model and system
CN107045631A (en) * 2017-05-25 2017-08-15 北京华捷艾米科技有限公司 Facial feature points detection method, device and equipment
CN107219888A (en) * 2017-05-23 2017-09-29 北京中达金桥技术股份有限公司 Indoor expansible interactive walkthrough realization method and system based on Kinect
CN107393017A (en) * 2017-08-11 2017-11-24 北京铂石空间科技有限公司 Image processing method, device, electronic equipment and storage medium
CN107845129A (en) * 2017-11-07 2018-03-27 深圳狗尾草智能科技有限公司 Three-dimensional reconstruction method and device, the method and device of augmented reality

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617175A (en) * 2004-12-09 2005-05-18 上海交通大学 Human limb three-dimensional model building method based on labelling point
CN101276482A (en) * 2008-05-12 2008-10-01 北京理工大学 Simplifying method for rendering three-dimensional scene based on dynamic Billboard technique
CN101989076A (en) * 2010-08-24 2011-03-23 北京水晶石数字科技有限公司 Method for controlling shooting by three-dimensional software
CN102855470A (en) * 2012-07-31 2013-01-02 中国科学院自动化研究所 Estimation method of human posture based on depth image
US9389779B2 (en) * 2013-03-14 2016-07-12 Intel Corporation Depth-based user interface gesture control
CN106251396A (en) * 2016-07-29 2016-12-21 迈吉客科技(北京)有限公司 The real-time control method of threedimensional model and system
CN107219888A (en) * 2017-05-23 2017-09-29 北京中达金桥技术股份有限公司 Indoor expansible interactive walkthrough realization method and system based on Kinect
CN107045631A (en) * 2017-05-25 2017-08-15 北京华捷艾米科技有限公司 Facial feature points detection method, device and equipment
CN107393017A (en) * 2017-08-11 2017-11-24 北京铂石空间科技有限公司 Image processing method, device, electronic equipment and storage medium
CN107845129A (en) * 2017-11-07 2018-03-27 深圳狗尾草智能科技有限公司 Three-dimensional reconstruction method and device, the method and device of augmented reality

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460873A (en) * 2019-01-18 2020-07-28 北京市商汤科技开发有限公司 Image processing method and apparatus, image device, and storage medium
CN111433783A (en) * 2019-07-04 2020-07-17 深圳市瑞立视多媒体科技有限公司 Hand model generation method and device, terminal device and hand motion capture method
WO2021003994A1 (en) * 2019-07-05 2021-01-14 深圳市工匠社科技有限公司 Control method for virtual character, and related product
CN111462204A (en) * 2020-02-13 2020-07-28 腾讯科技(深圳)有限公司 Virtual model generation method, virtual model generation device, storage medium, and electronic device
CN111462204B (en) * 2020-02-13 2023-03-03 腾讯科技(深圳)有限公司 Virtual model generation method, virtual model generation device, storage medium, and electronic device
CN111694429A (en) * 2020-06-08 2020-09-22 北京百度网讯科技有限公司 Virtual object driving method and device, electronic equipment and readable storage
CN112991552A (en) * 2021-03-10 2021-06-18 中国商用飞机有限责任公司北京民用飞机技术研究中心 Human body virtual-real matching method, device, equipment and storage medium
CN112991552B (en) * 2021-03-10 2024-03-22 中国商用飞机有限责任公司北京民用飞机技术研究中心 Human body virtual-real matching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN109191593A (en) Motion control method, device and the equipment of virtual three-dimensional model
CN110827383B (en) Attitude simulation method and device of three-dimensional model, storage medium and electronic equipment
CN105094335B (en) Situation extracting method, object positioning method and its system
KR102442484B1 (en) Method, apparatus and apparatus for generating a three-dimensional local human body model
WO2022205760A1 (en) Three-dimensional human body reconstruction method and apparatus, and device and storage medium
CN109242961A (en) A kind of face modeling method, apparatus, electronic equipment and computer-readable medium
CN108961365B (en) Three-dimensional virtual object swinging method and device, storage medium and computer equipment
CN109448099A (en) Rendering method, device, storage medium and the electronic device of picture
CN109821239A (en) Implementation method, device, equipment and the storage medium of somatic sensation television game
KR20080069601A (en) Stereo video for gaming
CN110220493A (en) A kind of binocular distance measuring method and its device
CN111369428B (en) Virtual head portrait generation method and device
CN108245890B (en) Method and device for controlling movement of object in virtual scene
CN109144252B (en) Object determination method, device, equipment and storage medium
CN110276804B (en) Data processing method and device
CN110443884B (en) Hand motion reconstruction method and device
CN105955455A (en) Device and method for adding object in virtual scene
CN112950769A (en) Three-dimensional human body reconstruction method, device, equipment and storage medium
CN107122043B (en) The analogy method and device of human body in virtual reality
CN111882674A (en) Virtual object adjusting method and device, electronic equipment and storage medium
KR20220160066A (en) Image processing method and apparatus
CN114026606A (en) Fast hand meshing for dynamic occlusion
CN109407824B (en) Method and device for synchronous motion of human body model
US10373373B2 (en) Systems and methods for reducing the stimulation time of physics based garment simulations
CN109407825A (en) Interactive approach and device based on virtual objects

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190111