WO2016179819A1 - Human-computer interaction method and system for trying on virtual hand accessory - Google Patents

Human-computer interaction method and system for trying on virtual hand accessory Download PDF

Info

Publication number
WO2016179819A1
WO2016179819A1 PCT/CN2015/078927 CN2015078927W WO2016179819A1 WO 2016179819 A1 WO2016179819 A1 WO 2016179819A1 CN 2015078927 W CN2015078927 W CN 2015078927W WO 2016179819 A1 WO2016179819 A1 WO 2016179819A1
Authority
WO
WIPO (PCT)
Prior art keywords
hand
dimensional model
model
accessory
jewelry
Prior art date
Application number
PCT/CN2015/078927
Other languages
French (fr)
Chinese (zh)
Inventor
周谆
Original Assignee
周谆
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 周谆 filed Critical 周谆
Priority to PCT/CN2015/078927 priority Critical patent/WO2016179819A1/en
Publication of WO2016179819A1 publication Critical patent/WO2016179819A1/en

Links

Images

Classifications

    • 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/048Interaction techniques based on graphical user interfaces [GUI]

Definitions

  • the present invention relates to the field of virtual reality technology, and in particular, to a human-computer interaction method and system for hand-made virtual jewelry trials.
  • the object of the present invention is to provide a human-computer interaction method and system for hand-made virtual jewelry trials, which realizes the technical effect of improving the purchase experience of customers purchasing jewelry.
  • a human-computer interaction method for hand virtual jewelry fitting comprises: respectively introducing a hand three-dimensional model and a three-dimensional model of the ornament; displaying the three-dimensional model of the accessory on the designated position of the hand three-dimensional model; Receiving depth information of the hand acquired by the depth sensor in the sensing space thereof; and calling the physics engine to adjust the display of the hand three-dimensional model and the jewelry three-dimensional model based on the depth information of the hand.
  • a man-machine interaction system for hand virtual jewelry fitting comprising a depth sensor, an importing unit, a display unit, a physics engine and a control unit;
  • the importing unit is configured to import a hand three-dimensional model and a three-dimensional model of the ornament;
  • a depth sensor for acquiring depth information of the hand in the sensing space thereof;
  • the control unit configured to display the three-dimensional model of the accessory on a specified position of the three-dimensional model of the hand; and receiving and based on the hand Depth information, invoking the physics engine to adjust display of the hand three-dimensional model and the accessory three-dimensional model;
  • the physics engine for simulating friction and collision between the hand three-dimensional model and the accessory three-dimensional model
  • the display unit is configured to display the three-dimensional model of the hand and the three-dimensional model of the accessory.
  • the beneficial effects or advantages of the technical solution provided by the present invention are: using a hand virtual jewelry fitting method, in an intelligent master control device such as a computer, constructing a jewelry and a virtual hand 3D model and a 3D model of the jewelry, in the customer When you want to try on a certain accessory, import and display the 3D model of the jewelry and the 3D model of the hand of the customer's hand, and control the virtual jewelry to be worn on the virtual hand, and then use the depth sensor to obtain the depth of the customer's hand.
  • Information based on the depth information of the hand, obtains the movement parameters of the hand 3D model or the 3D model of the ornament, drives the 3D model of the hand and the 3D model movement of the ornament; when constructing the 3D model of the hand and the 3D model of the ornament, setting the 3D model of the hand and The parameters of the 3D model of the jewelry, such as material, weight, resistance, collision mechanism, etc., and set the collider on the 3D model of the hand and the 3D model of the ornament.
  • the force is applied to the 3D model of the ornament according to the moving parameter, so that the 3D ornament is made.
  • the model moves relative to the hand 3D model and calls the physics engine simulation
  • the collision and friction between the movement and the accessories during the movement so that the movement between the three-dimensional models of the virtual world conforms to the physical laws of the real world, thereby realizing the effect of adjusting the display of the three-dimensional model of the hand and the three-dimensional model of the jewelry, for example, according to the hand
  • the action adjusts the display angle of the virtual hand and the virtual jewelry, so that the customer can understand whether the size of the jewelry and the hand is appropriate, whether the effect of the jewelry worn on the hand is good or not, etc., because the physical engine is used to simulate the hand and the jewelry.
  • the collision and friction between the three-dimensional model of the hand and the relative movement of the three-dimensional model of the jewelry are more realistic and realistic, and the effect of the customer's real try-on jewelry is generated.
  • you can actually wear jewelry you can improve the purchasing experience of customers trying on jewelry.
  • 1 is a schematic view of a depth sensor sensing space
  • FIG. 2 is a flowchart of a method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of relative movement of a wearing hand and an interactive hand according to an embodiment of the present invention
  • FIG. 4 is a schematic diagram of relative movement of a wearing hand and an interactive hand according to an embodiment of the present invention
  • FIG. 5 is a flowchart of still another method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention
  • FIG. 6 is a flowchart of still another method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a human-computer interaction system for hand virtual jewelry trials according to an embodiment of the present invention.
  • the present invention constructs a three-dimensional model of a jewelry and a three-dimensional model of a hand by using a virtual try-on method by using a human-computer interaction method and system for hand-made virtual jewelry fitting, that is, constructing a virtual jewelry and a virtual hand.
  • the virtual hand is used to wear the virtual jewelry, and the depth information of the hand is obtained through the depth sensor. Based on the depth information, the physical engine is invoked to adjust the display relationship of the virtual hand wearing the virtual jewelry, which is the same as the real hand wearing the real jewelry. Effect.
  • the current depth sensor can obtain information such as bone information, spatial three-dimensional coordinates and speed of the hand, including the palm, the wrist and each finger.
  • the kinect sensor can acquire the hand at a frequency of several tens of frames per second.
  • the information, while the LeapMotion sensor can be acquired at a frequency of more than one hundred frames per second.
  • the depth sensor 1 is placed on the front end of the display interface 21 of a device such as a computer, and the perceptible range forms a sensing space 4 in front of the display interface that can sense the palm, the wrist, and each finger.
  • the three-dimensional coordinates and speed information (including the velocity and speed direction) of the palm, wrist and each finger can be sensed by the depth sensor, and the depth sensor calculates the bone information supply of the hand based on the information.
  • bone information includes palm, wrist, finger And the bone size, speed, direction and other information of each finger section.
  • the depth sensor is not necessarily limited to being placed around the device such as a computer, but is placed according to the spatial position of the actual hand operation, and it is not necessary to limit the hand to a fixed position.
  • the display interface can be, but is not limited to, a television screen, a projection screen, a computer screen, a head mounted 3D display system, and the like.
  • the depth information acquired by the depth sensor mentioned in the embodiment of the present invention generally refers to the bone information of the hand calculated by the depth sensor after acquiring the hand depth information.
  • the accessories mentioned in the embodiments of the present invention include, but are not limited to, rings, watches, bracelets, bracelets and the like.
  • FIG. 2 is a flowchart of a method for human-computer interaction of a virtual jewelry try-on according to an embodiment of the present invention, where the method includes the following steps:
  • Step S21 respectively importing a three-dimensional model of the hand and a three-dimensional model of the jewelry;
  • the construction of the three-dimensional model of the jewelry can be carried out by any existing method for constructing the three-dimensional model; it can be constructed according to the actual existing jewelry, or can be constructed according to the jewelry design concept or drawing; in the Internet e-commerce, Customers can even create and build 3D models of their own jewelry and upload them to suppliers.
  • the three-dimensional model of the target jewelry is selected from the three-dimensional model library of the jewelry and imported.
  • the target three-dimensional model of the jewelry the customer can use the existing methods, such as mouse point drag, or gesture control, etc., to select the three-dimensional model of the Italian jewelry from the jewelry three-dimensional model library.
  • the customer's hand 3D model is constructed in real time.
  • the customer's hand information is acquired by the depth sensor, including the hand.
  • Bone information (including wrists, palms, and fingers) that includes bone width information and bone length information, ie the width of the wrist bone, the width and length of the palm bone, the width and length of each finger (including the individual knuckles) ) and other information, based on the depth sensor acquired these bones
  • the skeleton information can construct the 3D model of the client's hand in real time.
  • a hand 3D model library can also be created for the hand 3D model, and the constructed 3D model of the client hand can be stored, when the customer tries to wear the jewelry next time. It is no longer necessary to rebuild the 3D model of the hand, which is especially suitable for old customers and enhance the customer's buying experience.
  • the 3D model of the hand is constructed in two steps. First, the hand model is built, and then the bone is built in the hand model.
  • the model processes the hand model and the bone model so that the depth sensor can capture the depth information of the hand in the perceptual space, process the corresponding bone information, and associate the bone information with the skeleton model to construct the bone information.
  • the three-dimensional model of the hand is used to drive the skeleton model, so that the hand in the display interface can be synchronized with the actual hand motion, including the displacement, rotation, finger click, telescopic, etc. of the hand;
  • the information stretches or shrinks the size of the bone model, making the bone model more in line with the personal characteristics of the customer's hand bone.
  • Step S22 displaying the three-dimensional model of the ornament on the designated position of the three-dimensional model of the hand;
  • the situation of the hand-trimmed jewelry is simulated, so that the three-dimensional model of the ornament is displayed at the designated position of the hand three-dimensional model.
  • a specific implementation manner is to select a position on the hand three-dimensional model that needs to be worn, and display the three-dimensional model of the jewelry at this position. For example, selecting one of the fingers of the hand three-dimensional model displays the three-dimensional model of the ring on the finger portion; or, after selecting the wrist portion in the three-dimensional model of the hand, displaying a three-dimensional model of the jewelry such as a bracelet or a watch on the wrist On the part.
  • the depth sensor can obtain the bone information of the wrist, the palm and each finger. In addition to the information such as the width and length of the bone, including the position information of the wrist, the palm and each finger, the three-dimensional model of the wearing hand is selected to wear the three-dimensional jewelry.
  • the specific three-dimensional coordinates of the wearing position are determined, and the three-dimensional model of the jewelry can be displayed at this position; the specific ring, bracelet, watch and other accessories can adopt the center point position of the three-dimensional model and The way the wrist bones or the center of the finger bones coincide with each other to achieve the effect of attaching the ring and bracelet to the finger or wrist.
  • the 3D model of the jewelry is displayed on the 3D model of the hand, the vision of the hand wearing jewelry can be realized. Sense effect, but there is no actual contact or collision between the 3D model of the hand and the 3D model of the ornament.
  • the 3D model of the ornament floats on the 3D model of the hand, making it difficult for the user to feel the real wearing feeling.
  • the three-dimensional model of the hand and the three-dimensional model of the ornament are displayed, it is easy to occur that the three-dimensional model of the hand coincides with the edge of the three-dimensional model of the ornament.
  • the physics engine is used to simulate the collision and friction between the three-dimensional model of the hand and the three-dimensional model of the jewelry, so as to realize the effect of the virtual wearing of the jewelry by the customer. Bring a realistic interactive experience.
  • Physical engines such as Nvidia's PhysX, etc., use CPU, GPU and other resources to accurately simulate the simulation effects of gravity, friction, collision, etc. of objects in three-dimensional space.
  • the setting of the property includes setting the weight, resistance, collision mechanism, material, environment variable, background sound and the background sound of the model. Lights, etc.; and set up collision devices on the 3D model of the hand and the 3D model of the jewelry, set the collision conditions, establish the parameters of the 3D model of the hand and the 3D model of the jewelry; after completing the above settings, import the 3D model and accessories of the hand.
  • the 3D model displays the 3D model of the ornament at a specified position on the 3D model of the hand.
  • the details of the 3D model of the jewelry can be subtle based on the bone information, that is, according to the width of the client's hand. Adjustment, so that the three-dimensional model of the jewelry can be just nested at the designated position of the hand.
  • Step S23 receiving depth information of the hand acquired by the depth sensor in the sensing space thereof;
  • the depth sensor acquires the depth information of the hand in real time, including the 3D coordinates of the hand and Speed and other information, the customer's hand in the depth sensor's perception space, like the real wear jewelry to adjust the angle of the hand, in order to achieve the virtual system simulation of the real wear test.
  • Step S24 Calling the physics engine to adjust the three-dimensional model of the hand and the three-dimensional ornament based on the depth information of the hand The display of the model.
  • the depth sensor acquires the depth information of the hand in its perceptual space, including the bone information of the palm, the wrist and each finger, and the bone information can reflect the characteristic information of the hand; the depth information also includes the three-dimensional coordinates of the palm, the wrist and each finger and Velocity information, which can accurately capture the position, posture and motion of the hand; in the sensing space of the depth sensor, acquire the depth information generated by the movement, flipping, etc. of the hand at a certain frequency, based on the depth information and the above characteristic information
  • the reaction to the display interface is to perform the corresponding action for the hand of the virtual simulation.
  • the motion information of the hand is acquired at a certain frequency, thereby controlling the motion of the 3D model of the hand in the display interface, so that the motion can be made within the sensing space.
  • the hand feature information, the motion information and the hand 3D model feature information and the motion information in the display interface are in one-to-one correspondence, thereby simulating the effect of the real hand motion.
  • the physics engine is called to simulate the collision and friction between the 3D model of the hand and the 3D model of the ornament, so that the 3D model of the hand is made.
  • Real contact with the three-dimensional model of the jewelry as in reality, the three-dimensional model of the jewelry acts on the specified position of the three-dimensional model of the hand by applying external force, gravity, friction and other factors, providing the customer with a virtual trial wear. User experience with real try-on.
  • the display angle of the three-dimensional model of the hand and the three-dimensional model of the ornament is adjusted, so that the customer can understand whether the effect of the jewelry worn on the hand is good or not, and the effect of the customer actually wearing the jewelry is generated, and the customer cannot be true.
  • you try on accessories you can improve the purchasing experience of customers trying on jewelry.
  • the customer can set whether the jewelry is displayed on the left or right hand, or on the finger or on the wrist, as shown in Figure 1.
  • the customer can select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry, or replace the three-dimensional model of the jewelry during the virtual fitting process; the selection method can adopt an existing selection method such as a keyboard, a mouse or a touch screen, or can be controlled by gestures.
  • Selecting and replacing the three-dimensional model of the jewelry when selecting by gesture, specifically, receiving the depth information of the hand acquired by the depth sensor in the sensing space thereof, and analyzing the gesture corresponding to the hand based on the depth information of the hand, for example, the palm is sensing
  • a space waving in one direction indicates that the next three-dimensional model of the ornament is displayed, and waving in the other direction indicates that the three-dimensional model of the previous ornament is displayed.
  • a specific embodiment in which the physics engine is invoked to adjust the display of the hand 3D model and the 3D model of the jewelry is According to the change of the hand depth information, the display of the 3D model of the hand is synchronized, so that the hand 3D model is synchronized with the movement of the hand of the customer in the sensing space, and then the physics engine is invoked to simulate the friction between the 3D model of the hand and the 3D model of the accessory. Collision makes the three-dimensional model of the jewelry synchronously displayed by the frictional force and the three-dimensional model of the hand, including synchronous movement, synchronous rotation, etc., thus realizing the effect of wearing the jewelry in the hand.
  • the corresponding hand 3D model can be distinguished as the wearing hand 3D model and the interactive hand 3D model, as shown in FIG. 3 and FIG. 4, the left hand is Wear your hands and your right hand is an interactive hand.
  • the left hand wears the jewelry, and the right hand adjusts the position or the angle of the jewelry.
  • the following specific methods are proposed in the embodiment of the present invention; of course, the hand and the interactive hand can also be used according to the actual hand habit of the customer. Make settings, not to repeat them here.
  • the physics engine is called to adjust the display of the hand 3D model and the 3D model of the jewelry, which may be the steps shown in FIG. 5:
  • Step S51 determining whether the state of wearing the three-dimensional model of the hand changes based on the depth information of the hand;
  • the wearing hand is usually kept still, and the position and angle of the jewelry are adjusted by the other hand.
  • the state of wearing the hand three-dimensional model remains unchanged, that is, the depth information of the hand of the wearing hand does not change, reflecting the state in which the wearing hand of the customer remains stationary, indicating the customer The position or angle of the jewelry will be adjusted soon.
  • Step S52 determining, according to the depth information of the hand, whether there is relative motion between the wearing hand three-dimensional model and the interactive hand three-dimensional model;
  • Step S53 Applying force to the three-dimensional model of the jewelry, and calling the physics engine to simulate the friction and collision between the three-dimensional model of the hand and the three-dimensional model of the ornament, so that the three-dimensional model of the ornament moves relative to the three-dimensional model of the hand.
  • the different movements of the interactive hand correspond to the different adjustments of the jewelry
  • the interactive hand three-dimensional model occurs, the position of the three-dimensional model of the accessory needs to be adjusted according to the different state of motion, and displayed. For example, moving the position of the three-dimensional model of the jewelry, or adjusting the angle of the three-dimensional model of the jewelry, and the like.
  • a specific implementation for determining whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model is as shown in FIG. 3, based on the hand depth information, including the interactive hand (corresponding to the right hand) and the wearing hand ( Corresponding to the depth information of the left hand, the direction information of the finger or the wrist in the three-dimensional model of the wearing hand is obtained, and it is determined whether the three-dimensional model of the interactive hand is translationally moved relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, which corresponds to the relative hand of the interactive hand.
  • the finger or wrist direction shifts and moves; if it is judged that the interactive hand 3D model is moved relative to the direction of the finger or wrist in the 3D model of the wearing hand, the action is correspondingly adjusted to adjust the jewelry 3D model in the wearing hand 3D model finger Or the displacement on the wrist and display it; corresponding to the actual wearing situation, adjust the position of the ring on the finger, adjust the position of the watch on the wrist, etc.; the translational movement includes the translation of the entire hand, and the translation of only the finger; When implemented, the force is applied to the three-dimensional model of the ornament, so that the three-dimensional model of the jewelry is relatively The three-dimensional model moves in the direction of the finger or wrist.
  • the physics engine is invoked to simulate the friction and collision between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the accessory combines the applied force, friction and collision to simulate the real wearing.
  • the situation is translated and moved, which makes the virtual try-on and the real try-on experience more consistent, and improves the customer's purchase experience.
  • FIG. 4 Based on the depth information of the hand, another specific implementation for determining whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model is as shown in FIG. 4, based on the hand depth information, including the interactive hand (corresponding to the right hand) 3D model.
  • the depth information of the hand (corresponding to the left hand), obtaining the direction information of the finger or the wrist in the three-dimensional model of the wearing hand, and determining whether the three-dimensional model of the interactive hand is rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, which corresponds to rotation Wrist or jewelry on the finger; if it is judged that the interactive hand 3D model is rotated relative to the direction of the finger or wrist in the 3D model of the wearing hand, the action is corresponding to the adjustment of the jewelry 3D model in the wearing hand 3D model in the finger or The angle on the wrist is displayed; corresponding to the actual wearing situation, the angle of the ring on the finger is adjusted, and the angle of the watch on the wrist is adjusted; in the specific implementation, the force is applied on the three-dimensional model of the ornament, so that the three-dimensional model of the accessory is relatively
  • the three-dimensional model of the hand rotates around the finger or wrist, and at the same time, the caller The engine simulates the friction and collision between the
  • the customer Before the virtual wear jewelry, the customer can only choose to import the three-dimensional model of the jewelry, and adjust the display of the three-dimensional model of the jewelry through operations of the input device such as a mouse or a keyboard, such as flipping, zooming, and the like.
  • the input device such as a mouse or a keyboard, such as flipping, zooming, and the like.
  • the customer can also control the flipping or zooming of the 3D model of the jewelry based on the depth sensor based on the gesture, as shown in Figure 6:
  • Step S61 receiving depth information of the hand acquired by the depth sensor in the sensing space thereof;
  • Step S62 analyzing, according to the depth information of the hand, a gesture corresponding to the hand;
  • Step S63 Control selection, rotation, movement or zooming of the three-dimensional model of the ornament based on the gesture.
  • the three-dimensional coordinates and velocity information of the hand are obtained; and the displacement of the hand is analyzed according to the three-dimensional coordinates of the hand, and the moving direction of the hand is analyzed according to the speed information of the hand.
  • the depth sensor collects the depth information of the hand change in the sensing space. Therefore, the three-dimensional coordinates in the acquired depth information form the motion displacement of the hand on the time axis, and the speed direction and the velocity in the velocity information are in the space. The direction of movement and speed of movement of the hand are constructed.
  • the gesture corresponding to the hand movement can be calculated; specifically, combined with the movement displacement of the hand and the movement direction and the movement speed, a gesture model of the hand occurring in the space can be constructed, and different gesture models correspond to different gestures.
  • Human-computer interaction instructions for example, selecting a three-dimensional model of the ornament from the three-dimensional model library of the jewelry, flipping the three-dimensional model of the ornament, and enlarging or reducing the three-dimensional model of the ornament, and the corresponding relationship between the specific gesture and the human-computer interaction command can be determined according to the actual situation of the game. This program is not limited.
  • the customer adjusts the size of the three-dimensional model of the jewelry by the above method, for example, using a mouse or a keyboard to input parameters to change the size of the three-dimensional model of the jewelry, and for example, the distance generated by the relative movement of the two fingers of the interactive hand.
  • the size changes to adjust the size of the 3D model of the jewelry, etc.; the advantage of this is that the customer can customize the size of the jewelry suitable for his hand according to the size of the hand, not limited to the size of the existing jewelry, thereby improving the customer's Purchase experience.
  • the user can complete the selection and purchase process of the jewelry by himself, thereby reducing the labor cost of the jewelry merchant.
  • the embodiment of the present invention further provides a human-computer interaction system for virtual jewelry trial, as shown in FIG. 7, including a depth sensor 1, a display unit 2, an import unit 3, and a physics.
  • the above system further comprises a building unit 5 and a setting unit 7; the building unit is used for constructing a three-dimensional model of the jewelry of the accessory and a three-dimensional model of the hand of the client.
  • the constructed three-dimensional hand model includes a hand model and a bone model in the hand model, and the control unit receives the depth information of the hand acquired by the depth sensor in the sensing space thereof, and is based on the depth information analysis of the hand.
  • the skeleton information of the hand associates the bone information with the skeleton model, and constructs a three-dimensional model of the hand of the hand; wherein the bone information includes bone width information and bone length information of the wrist, the palm, and each finger; specifically, the building unit Based on the bone information, the size of the skeleton model is stretched or contracted, and after the three-dimensional model of the ornament is displayed at a specified position of the hand three-dimensional model, the stoneware of the three-dimensional model of the ornament is adjusted based on the skeleton information, so that the three-dimensional model of the ornament is more realistic.
  • the sleeve is attached to the 3D model of the hand.
  • the setting unit 7 sets the three-dimensional model of the hand and the attributes of the three-dimensional model of the ornament, respectively sets the collider on the hand three-dimensional model and the three-dimensional model of the ornament, sets the collision condition of the collider, and establishes the three-dimensional model of the hand and the three-dimensional model of the ornament.
  • the parameters of the real hand wearing jewelry are based on these settings when simulating the customer's try-on jewelry.
  • the above system further comprises a three-dimensional model library 6 for storing the three-dimensional model of the jewelry for the customer, for the customer to select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry for virtual trial wear.
  • the customer can select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry by means of gesture control, and can also select, zoom, move or rotate the three-dimensional model of the jewelry after the import unit imports the three-dimensional model of the jewelry based on the gesture control manner; After receiving the depth information of the hand acquired by the depth sensor in the sensing space, analyzing the gesture corresponding to the hand based on the depth information of the hand, and controlling the zooming, moving, rotating or different jewelry of the three-dimensional model of the jewelry based on the difference of the gesture Switching between 3D models, etc.
  • the main control unit wears the 3D model of the ornament on the 3D model of the hand, specifically: selecting the position of the 3D model of the accessory to be worn on the 3D model of the hand; The model is shown at this location.
  • the three-dimensional model of the hand is constructed to include the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand.
  • the left hand wears the jewelry, and the right hand adjusts the position or angle of the jewelry, which can correspond to the wearing hand remaining, and the state of the interactive hand relative to the wearing hand changes; specifically, based on the acquired
  • the depth information of the hand determines whether the state of the wearing hand 3D model changes; if not, based on the acquired depth information of the hand, it is determined whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model;
  • the model applies force and calls the physics engine to simulate the collision and friction between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the ornament moves relative to the three-dimensional model of the hand.
  • the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have relative motion, and the moving hand 3D model can be moved relative to the finger or wrist direction of the three-dimensional model of the hand, and the finger or wrist in the three-dimensional model of the hand is worn.
  • the direction information is obtained based on the depth information of the hand, including the interactive hand (corresponding to the right hand) and the wearing hand (corresponding to the left hand); if it is judged that the interactive hand 3D model is translational movement relative to the direction of the finger or wrist in the wearing hand 3D model
  • the action is corresponding to adjusting the displacement of the three-dimensional model of the jewelry on the finger or the wrist in the three-dimensional model of the wearing hand, and displaying it; corresponding to the actual wearing situation, adjusting the position of the ring on the finger, adjusting the wristwatch on the wrist Positioning, etc.; translational movement includes translation of the entire hand, and translation of only the finger; in specific implementation, a force is applied on the three-dimensional model of the ornament, so that the three-dimensional model of the ornament is moved relative to the finger or wrist of the hand three-dimensional model, and at the same time,
  • the physics engine simulates between the 3D model of the ornament and the 3D model of the hand. Friction and collision make the three-dimensional model of the jewelry combined
  • the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have relative motion, and the three-dimensional model of the interactive hand can be rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand.
  • the hand three-dimensional model is rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, and the action is correspondingly adjusted to adjust the angle of the three-dimensional model of the accessory on the finger or the wrist in the three-dimensional model of the wearing hand, and is displayed; corresponding to the actual wearing In the case, it is to adjust the angle of the ring on the finger, adjust the angle of the watch on the wrist, etc.; in the specific implementation, apply on the three-dimensional model of the jewelry
  • the force causes the three-dimensional model of the ornament to move vertically relative to the finger or wrist direction of the hand three-dimensional model.
  • the physics engine is invoked to simulate the friction and collision between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the accessory combines the applied force and friction.
  • the customer can view the fitting effect from different angles by flipping or moving the wearing hand.
  • the most direct way is that according to the change of the hand depth information, Synchronize the display of the 3D model of the hand and the 3D model of the ornament; that is, synchronize the display of the 3D model of the ornament with the display of the 3D model of the hand, and then call the physics engine to simulate the friction and collision between the 3D model of the hand and the 3D model of the accessory.
  • the three-dimensional model of the jewelry is synchronously displayed by the frictional force and the three-dimensional model of the hand, including synchronous movement, synchronous rotation, etc.
  • the effect of the reaction is that when the customer adjusts the position and angle of the wearing hand, the accessory moves following the movement of the wearing hand. In order to observe the wearing effect of the jewelry and the hand at different angles.
  • the human-computer interaction method and system for virtual jewelry trials proposed in the embodiments of the present invention construct a three-dimensional model of the jewelry and a three-dimensional model of the hand of the client, and wear the three-dimensional model of the jewelry on the three-dimensional model of the hand, and adopt the jewelry.
  • the virtual try-on method of the hand realizes the effect of the real try-on jewelry; and realizes the change of the position or angle of the virtual control jewelry three-dimensional model by wearing the relative motion of the hand and the interactive hand, and simulates the real hand-adjusting adjustment of the hand And the position and angle of the jewelry, when the customer can not really try on the jewelry, through the virtual try-on, to achieve the real try-on effect, while introducing the physics engine to simulate the collision and friction between the hand 3D model and the 3D model of the jewelry, Make the virtual wear more realistic, and enable the customer to produce a sense of experience and experience consistent with the real try-on.

Abstract

A human-computer interaction method and system for trying on a virtual hand accessory, achieving the technical effect of improving the accessory purchasing experience of a customer. The method comprises: importing a three-dimensional hand model and a three-dimensional accessory model respectively (S21); displaying the three-dimensional accessory model at a designated position of the three-dimensional hand model (S22); receiving depth information, acquired by a depth sensor in a perception space thereof, about a hand (S23); and calling, based on the depth information about the hand, a physical engine to adjust displaying of the three-dimensional hand model and the three-dimensional accessory model (S24). A three-dimensional accessory model and a three-dimensional hand model of one hand of a customer are constructed, and the three-dimensional accessory model is worn on the three-dimensional hand model; by means of relative movement between a wearing hand and an interaction hand, in conjunction with a physical engine, change of the position or angle of the three-dimensional accessory model can be virtually controlled, and adjustment of the positions and angles of the hand and an accessory in true try-on is simulated; and when the customer cannot truly try on the accessory, the effect of truly trying on the accessory is achieved.

Description

手部虚拟饰品试戴的人机交互方法和系统Human-computer interaction method and system for hand virtual jewelry fitting 技术领域Technical field
本发明涉及虚拟现实技术领域,尤其涉及一种手部虚拟饰品试戴的人机交互方法和系统。The present invention relates to the field of virtual reality technology, and in particular, to a human-computer interaction method and system for hand-made virtual jewelry trials.
背景技术Background technique
购买饰品时,客户除了观察饰品的样式,更需要试戴饰品,以确定饰品的大小是否合适,以及佩戴的效果是否满意。When purchasing jewelry, in addition to observing the style of the jewelry, the customer needs to try on the jewelry to determine whether the size of the jewelry is appropriate and whether the wearing effect is satisfactory.
技术问题technical problem
对于贵重的饰品,将饰品拿出柜台供客户试戴时存在安全性的问题;因此,更多的贵重饰品并不存放于柜台,而是出示饰品的图片或者视频供客户观看,在客户有意购买时,再带领客户去饰品的存储地,通常是具有保险柜的安防较严格的地方专门试戴,这不但降低了客户的购买体验,也增加了商家的人力消耗成本。For valuable jewelry, there is a safety problem when the jewelry is taken out of the counter for the customer to try on; therefore, more expensive jewelry is not stored at the counter, but a picture or video of the jewelry is displayed for the customer to watch, and the customer intends to purchase At the time, the customer will go to the storage place of the jewelry, which is usually a special place where the security of the safe is more strict. This not only reduces the customer's purchasing experience, but also increases the labor cost of the merchant.
或者,即使不是贵重的饰品,由于商家的饰品款式众多,不可能全部摆在柜台上,也只能用图片或者视频的方式供客户挑选;尤其是在互联网普及的现今,通过网络出售饰品的销售方式增多,这种销售方式中,通常也是展示饰品的图片,或者展示模特佩戴饰品的佩戴效果图,客户通过图片资料和一些尺寸信息来衡量是否购买饰品,而这种方式购买回来的饰品通常会存在佩戴不合适、效果不满意的问题,这都降低了客户的购买体验。Or, even if it is not a valuable jewelry, because the merchant's jewelry style is numerous, it is impossible to put it on the counter, and it can only be used by customers for pictures or videos; especially in the current Internet, the sales of jewelry sold through the Internet. There are more ways. In this sales method, it is usually a picture showing the jewelry, or a wearing effect picture showing the wearing of the model. The customer uses the image data and some size information to measure whether to buy the jewelry, and the jewelry purchased in this way usually There are problems of improper wearing and unsatisfactory results, which all reduce the customer's buying experience.
问题的解决方案Problem solution
技术解决方案Technical solution
本发明的目的是提供一种手部虚拟饰品试戴的人机交互方法和系统,实现的是提高客户购买饰品的购买体验的技术效果。The object of the present invention is to provide a human-computer interaction method and system for hand-made virtual jewelry trials, which realizes the technical effect of improving the purchase experience of customers purchasing jewelry.
本发明的目的是通过以下技术方案实现的:The object of the invention is achieved by the following technical solutions:
提出一种手部虚拟饰品试戴的人机交互方法,包括:分别导入手部三维模型和饰品三维模型;将所述饰品三维模型显示于所述手部三维模型的指定位置上; 接收深度传感器在其感知空间内获取的手部的深度信息;基于所述手部的深度信息,调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示。A human-computer interaction method for hand virtual jewelry fitting is proposed, which comprises: respectively introducing a hand three-dimensional model and a three-dimensional model of the ornament; displaying the three-dimensional model of the accessory on the designated position of the hand three-dimensional model; Receiving depth information of the hand acquired by the depth sensor in the sensing space thereof; and calling the physics engine to adjust the display of the hand three-dimensional model and the jewelry three-dimensional model based on the depth information of the hand.
提出一种手部虚拟饰品试戴的人机交互系统,包括深度传感器、导入单元、显示单元、物理引擎和控制单元;所述导入单元,用于导入手部三维模型和饰品三维模型;所述深度传感器,用于在其感知空间内获取手部的深度信息;所述控制单元,用于将所述饰品三维模型显示于所述手部三维模型的指定位置上;并接收和基于手部的深度信息,调用所述物理引擎调整所述手部三维模型和所述饰品三维模型的显示;所述物理引擎,用于模拟所述手部三维模型和所述饰品三维模型之间的摩擦和碰撞;所述显示单元,用于显示所述手部三维模型和所述饰品三维模型。A man-machine interaction system for hand virtual jewelry fitting is proposed, comprising a depth sensor, an importing unit, a display unit, a physics engine and a control unit; the importing unit is configured to import a hand three-dimensional model and a three-dimensional model of the ornament; a depth sensor for acquiring depth information of the hand in the sensing space thereof; the control unit, configured to display the three-dimensional model of the accessory on a specified position of the three-dimensional model of the hand; and receiving and based on the hand Depth information, invoking the physics engine to adjust display of the hand three-dimensional model and the accessory three-dimensional model; the physics engine for simulating friction and collision between the hand three-dimensional model and the accessory three-dimensional model The display unit is configured to display the three-dimensional model of the hand and the three-dimensional model of the accessory.
发明的有益效果Advantageous effects of the invention
有益效果Beneficial effect
本发明提供的技术方案的有益效果或者优点是:采用手部虚拟饰品试戴的方式,在诸如电脑等智能主控设备中,构建饰品以及客户虚拟的手部三维模型和饰品三维模型,在客户想要试戴某个饰品时,导入并显示饰品的饰品三维模型以及客户手部的手部三维模型,并控制将虚拟饰品佩戴于虚拟手部上,随后采用深度传感器获取客户的手部的深度信息,基于手部的深度信息得到手部三维模型或者饰品三维模型的移动参数,驱动手部三维模型和饰品三维模型移动;在构建手部三维模型和饰品三维模型时,设置手部三维模型和饰品三维模型的参数,例如材质、重量、阻力、碰撞机制等,并在手部三维模型和饰品三维模型上设置碰撞器,对于饰品三维模型,根据移动参数对饰品三维模型施加力,使得饰品三维模型相对手部三维模型移动,并调用物理引擎模拟手部运动时与饰品之间的碰撞和摩擦,令虚拟世界的三维模型之间的运动符合真实世界的物理定律,从而实现调整手部三维模型和饰品三维模型的显示的效果,例如,根据手部的动作调整虚拟手部和虚拟饰品的显示角度,使客户能够了解饰品与自身手部的大小是否合适,饰品佩戴于自身的手部的效果是否好看等,由于调用了物理引擎模拟手部与饰品之间的碰撞和摩擦,使得手部三维模型和饰品三维模型的相对移动更加真实和符合实际,产生客户真实试戴饰品的效果,在客户不 能真实试戴饰品时,提高客户试戴饰品的购买体验感。The beneficial effects or advantages of the technical solution provided by the present invention are: using a hand virtual jewelry fitting method, in an intelligent master control device such as a computer, constructing a jewelry and a virtual hand 3D model and a 3D model of the jewelry, in the customer When you want to try on a certain accessory, import and display the 3D model of the jewelry and the 3D model of the hand of the customer's hand, and control the virtual jewelry to be worn on the virtual hand, and then use the depth sensor to obtain the depth of the customer's hand. Information, based on the depth information of the hand, obtains the movement parameters of the hand 3D model or the 3D model of the ornament, drives the 3D model of the hand and the 3D model movement of the ornament; when constructing the 3D model of the hand and the 3D model of the ornament, setting the 3D model of the hand and The parameters of the 3D model of the jewelry, such as material, weight, resistance, collision mechanism, etc., and set the collider on the 3D model of the hand and the 3D model of the ornament. For the 3D model of the ornament, the force is applied to the 3D model of the ornament according to the moving parameter, so that the 3D ornament is made. The model moves relative to the hand 3D model and calls the physics engine simulation The collision and friction between the movement and the accessories during the movement, so that the movement between the three-dimensional models of the virtual world conforms to the physical laws of the real world, thereby realizing the effect of adjusting the display of the three-dimensional model of the hand and the three-dimensional model of the jewelry, for example, according to the hand The action adjusts the display angle of the virtual hand and the virtual jewelry, so that the customer can understand whether the size of the jewelry and the hand is appropriate, whether the effect of the jewelry worn on the hand is good or not, etc., because the physical engine is used to simulate the hand and the jewelry. The collision and friction between the three-dimensional model of the hand and the relative movement of the three-dimensional model of the jewelry are more realistic and realistic, and the effect of the customer's real try-on jewelry is generated. When you can actually wear jewelry, you can improve the purchasing experience of customers trying on jewelry.
对附图的简要说明Brief description of the drawing
附图说明DRAWINGS
图1为深度传感器感知空间示意图;1 is a schematic view of a depth sensor sensing space;
图2为本发明实施例提出的手部虚拟饰品试戴的人机交互方法的方法流程图;2 is a flowchart of a method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention;
图3为本发明实施例中佩戴手与交互手相对运动示意图;3 is a schematic diagram of relative movement of a wearing hand and an interactive hand according to an embodiment of the present invention;
图4为本发明实施例中佩戴手与交互手相对运动示意图;4 is a schematic diagram of relative movement of a wearing hand and an interactive hand according to an embodiment of the present invention;
图5为本发明实施例提出的手部虚拟饰品试戴的人机交互方法的又一方法流程图;FIG. 5 is a flowchart of still another method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention; FIG.
图6为本发明实施例提出的手部虚拟饰品试戴的人机交互方法的又一方法流程图;FIG. 6 is a flowchart of still another method for human-computer interaction of a hand virtual jewelry trial according to an embodiment of the present invention; FIG.
图7为本发明实施例提出的手部虚拟饰品试戴的人机交互系统框图。FIG. 7 is a block diagram of a human-computer interaction system for hand virtual jewelry trials according to an embodiment of the present invention.
发明实施例Invention embodiment
本发明的实施方式Embodiments of the invention
本发明通过提供一种手部虚拟饰品试戴的人机交互方法和系统,采用虚拟试戴的方式,在系统中构建饰品三维模型和手部三维模型,也即构建了虚拟饰品和虚拟手部,采用虚拟手部佩戴虚拟饰品,并通过深度传感器获取手部的深度信息,基于该深度信息并调用物理引擎来调整虚拟手部佩戴虚拟饰品的显示关系,达到与真实手部试戴真实饰品相同的效果。The present invention constructs a three-dimensional model of a jewelry and a three-dimensional model of a hand by using a virtual try-on method by using a human-computer interaction method and system for hand-made virtual jewelry fitting, that is, constructing a virtual jewelry and a virtual hand. The virtual hand is used to wear the virtual jewelry, and the depth information of the hand is obtained through the depth sensor. Based on the depth information, the physical engine is invoked to adjust the display relationship of the virtual hand wearing the virtual jewelry, which is the same as the real hand wearing the real jewelry. Effect.
目前的深度传感器,可以获取到手部,包括手掌、手腕和各手指等部位的骨骼信息、空间三维坐标和速度等信息,以kinect传感器为例,其可以以每秒几十帧的频率获取手部的信息,而LeapMotion传感器更可以以超过每秒一百帧的频率获取。The current depth sensor can obtain information such as bone information, spatial three-dimensional coordinates and speed of the hand, including the palm, the wrist and each finger. For example, the kinect sensor can acquire the hand at a frequency of several tens of frames per second. The information, while the LeapMotion sensor can be acquired at a frequency of more than one hundred frames per second.
如图1中所示,以深度传感器1放置于电脑等装置的显示界面21前端为例,其能感知的范围在显示界面前方形成一个能感知手掌、手腕和各手指的感知空间4,客户在此感知空间内进行手部操作时,其手掌、手腕和各手指的三维坐标、速度信息(包括速率和速度方向)能够被该深度传感器感知,深度传感器基于这些信息计算出手部的骨骼信息供应用使用;骨骼信息中包括手掌、手腕、手指 以及各个手指节的骨骼尺寸、速度、方向等信息。当然,在深度传感器与电脑等装置实现无线连接的情况下,深度传感器不必限于放置在电脑等装置的周围,而是使其根据实际手部操作的空间位置放置,不必使手部局限于固定位置进行手势操作。显示界面可以是但不受限于电视屏幕、投影屏幕、电脑屏幕、头戴式3D显示系统等。As shown in FIG. 1 , the depth sensor 1 is placed on the front end of the display interface 21 of a device such as a computer, and the perceptible range forms a sensing space 4 in front of the display interface that can sense the palm, the wrist, and each finger. When the hand is operated in this perceptual space, the three-dimensional coordinates and speed information (including the velocity and speed direction) of the palm, wrist and each finger can be sensed by the depth sensor, and the depth sensor calculates the bone information supply of the hand based on the information. Use; bone information includes palm, wrist, finger And the bone size, speed, direction and other information of each finger section. Of course, in the case where the depth sensor is wirelessly connected to a device such as a computer, the depth sensor is not necessarily limited to being placed around the device such as a computer, but is placed according to the spatial position of the actual hand operation, and it is not necessary to limit the hand to a fixed position. Gesture operation. The display interface can be, but is not limited to, a television screen, a projection screen, a computer screen, a head mounted 3D display system, and the like.
本发明实施例中提及的基于深度传感器获取的手部深度信息,通常是指深度传感器获取到手部深度信息后计算得到的手部的骨骼信息。The depth information acquired by the depth sensor mentioned in the embodiment of the present invention generally refers to the bone information of the hand calculated by the depth sensor after acquiring the hand depth information.
本发明实施例中提到的饰品,包括但不受限于戒指、手表、手镯和手环等。The accessories mentioned in the embodiments of the present invention include, but are not limited to, rings, watches, bracelets, bracelets and the like.
下面将结合附图,对本发明实施例提供的技术方案进行详细描述。The technical solutions provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.
如图2所示,为本发明实施例提出的虚拟饰品试戴的人机交互方法的方法流程图,该方法包括以下步骤:FIG. 2 is a flowchart of a method for human-computer interaction of a virtual jewelry try-on according to an embodiment of the present invention, where the method includes the following steps:
步骤S21:分别导入手部三维模型和饰品三维模型;Step S21: respectively importing a three-dimensional model of the hand and a three-dimensional model of the jewelry;
在导入手部三维模型和饰品三维模型之前,首先要构建手部的三维模型和饰品的三维模型。Before importing the 3D model of the hand and the 3D model of the ornament, we must first construct the 3D model of the hand and the 3D model of the ornament.
饰品三维模型的构建,可以采用现有的任一种构建三维模型的方法进行;其可以按照实际存在的饰品去构建,也可以是按照饰品设计构思或图纸去构建的;在互联网电子商务中,客户甚至可以自己创意和构建饰品三维模型然后上传给供应商。The construction of the three-dimensional model of the jewelry can be carried out by any existing method for constructing the three-dimensional model; it can be constructed according to the actual existing jewelry, or can be constructed according to the jewelry design concept or drawing; in the Internet e-commerce, Customers can even create and build 3D models of their own jewelry and upload them to suppliers.
多个饰品,需要构建多个饰品三维模型,将所有构建的饰品三维模型存放于一个饰品三维模型库中,在导入饰品三维模型时,从该饰品三维模型库中选取目标饰品三维模型,并导入该目标饰品三维模型;客户可以采用现有的方法,例如鼠标点中拖动,或者手势控制等方式,从饰品三维模型库中选取中意饰品的三维模型。For multiple accessories, it is necessary to construct a three-dimensional model of multiple ornaments, and store all the three-dimensional models of the jewelry in a three-dimensional model library. When importing the three-dimensional model of the jewelry, the three-dimensional model of the target jewelry is selected from the three-dimensional model library of the jewelry and imported. The target three-dimensional model of the jewelry; the customer can use the existing methods, such as mouse point drag, or gesture control, etc., to select the three-dimensional model of the Italian jewelry from the jewelry three-dimensional model library.
由于客户是不断更换的,因此客户的手部三维模型是实时构建的,如图1所示,在深度传感器1的感知空间4中,客户的手部信息由深度传感器获取,这其中包括手部(包括手腕、手掌和各个手指)的骨骼信息,该骨骼信息包括骨骼宽度信息和骨骼长度信息,也即手腕骨骼的宽度、手掌骨骼的宽度和长度、各个手指的宽度和长度(包括各个指关节)等信息,基于深度传感器获取的这些骨 骼信息,可以实时构建客户手部的三维模型,当然,也可以为手部三维模型创建一个手部三维模型库,将构建的客户手部三维模型存储起来,当客户下次来试戴饰品时,不必再重新构建手部三维模型,这尤其适用于老客户,提高客户的购买体验。Since the customer is constantly changing, the customer's hand 3D model is constructed in real time. As shown in Figure 1, in the sensing space 4 of the depth sensor 1, the customer's hand information is acquired by the depth sensor, including the hand. Bone information (including wrists, palms, and fingers) that includes bone width information and bone length information, ie the width of the wrist bone, the width and length of the palm bone, the width and length of each finger (including the individual knuckles) ) and other information, based on the depth sensor acquired these bones The skeleton information can construct the 3D model of the client's hand in real time. Of course, a hand 3D model library can also be created for the hand 3D model, and the constructed 3D model of the client hand can be stored, when the customer tries to wear the jewelry next time. It is no longer necessary to rebuild the 3D model of the hand, which is especially suitable for old customers and enhance the customer's buying experience.
为使构建的手部三维模型更贴合客户的手部特征,在构建手部三维模型时,将手部三维模型分两步构建,首先构建手部模型,然后再在手部模型中建立骨骼模型,将手部模型与骨骼模型进行蒙皮处理,这样深度传感器可以捕捉感知空间中的手部的深度信息,经过处理得到相应的骨骼信息,并关联骨骼信息与骨骼模型,利用这个骨骼信息构建出手部三维模型。具体的,利用骨骼信息来驱动骨骼模型,这样,显示界面中的手部就可以与现实中的手部动作实现同步,包含手部的位移、旋转、手指的点击、伸缩等;同时,利用骨骼信息拉伸或者收缩骨骼模型的尺寸,使得骨骼模型更符合客户手部骨骼的个人特征。In order to make the hand 3D model more suitable for the customer's hand characteristics, when constructing the 3D model of the hand, the 3D model of the hand is constructed in two steps. First, the hand model is built, and then the bone is built in the hand model. The model processes the hand model and the bone model so that the depth sensor can capture the depth information of the hand in the perceptual space, process the corresponding bone information, and associate the bone information with the skeleton model to construct the bone information. The three-dimensional model of the hand. Specifically, the bone information is used to drive the skeleton model, so that the hand in the display interface can be synchronized with the actual hand motion, including the displacement, rotation, finger click, telescopic, etc. of the hand; The information stretches or shrinks the size of the bone model, making the bone model more in line with the personal characteristics of the customer's hand bone.
导入手部三维模型和饰品三维模型后,将他们在显示界面上显示出来。After importing the 3D model of the hand and the 3D model of the jewelry, they are displayed on the display interface.
步骤S22:将饰品三维模型显示于手部三维模型的指定位置上;Step S22: displaying the three-dimensional model of the ornament on the designated position of the three-dimensional model of the hand;
为模拟真实情况中手部试戴饰品的情况,在导入饰品三维模型和手部三维模型并显示后,模拟手部试戴饰品的情况,使饰品三维模型显示于手部三维模型的指定位置上。In order to simulate the situation of hand-wearing jewelry in the real situation, after importing the three-dimensional model of the ornament and the three-dimensional model of the hand and displaying it, the situation of the hand-trimmed jewelry is simulated, so that the three-dimensional model of the ornament is displayed at the designated position of the hand three-dimensional model. .
具体的一种实施方式是,在手部三维模型上选定需要佩戴饰品的位置,将饰品三维模型显示于这个位置上。例如,选定手部三维模型的其中一个手指,则将戒指的三维模型显示在手指部位;或者,选定手部三维模型中的手腕部位后,将手镯、手表等饰品的三维模型显示在手腕部位上。深度传感器能获取手腕、手掌和各个手指的骨骼信息,这其中除了骨骼的宽度和长度等信息,也包括手腕、手掌和各个手指的位置信息,则在佩戴手三维模型上选定了佩戴饰品三维模型的具体位置后,也即确定了佩戴位置的具体三维坐标,将饰品三维模型显示在这个位置上即可;具体的戒指、手镯、手表等饰品,可以采用将其三维模型的中心点位置与手腕骨骼或手指骨骼中心点位置重合的方式,实现将戒指和手镯套接在手指或手腕上的效果。A specific implementation manner is to select a position on the hand three-dimensional model that needs to be worn, and display the three-dimensional model of the jewelry at this position. For example, selecting one of the fingers of the hand three-dimensional model displays the three-dimensional model of the ring on the finger portion; or, after selecting the wrist portion in the three-dimensional model of the hand, displaying a three-dimensional model of the jewelry such as a bracelet or a watch on the wrist On the part. The depth sensor can obtain the bone information of the wrist, the palm and each finger. In addition to the information such as the width and length of the bone, including the position information of the wrist, the palm and each finger, the three-dimensional model of the wearing hand is selected to wear the three-dimensional jewelry. After the specific position of the model, the specific three-dimensional coordinates of the wearing position are determined, and the three-dimensional model of the jewelry can be displayed at this position; the specific ring, bracelet, watch and other accessories can adopt the center point position of the three-dimensional model and The way the wrist bones or the center of the finger bones coincide with each other to achieve the effect of attaching the ring and bracelet to the finger or wrist.
虽然将饰品三维模型显示于手部三维模型上之后,可以实现手部佩戴首饰的视 觉效果,但是手部三维模型与饰品三维模型之间没有发生实际的接触或者碰撞,饰品三维模型如同浮在手部三维模型上,使用户难以产生真实佩戴的感觉,若此时根据深度信息调整手部三维模型与饰品三维模型的显示时,容易发生手部三维模型与饰品三维模型的边缘发生重合的现象。Although the 3D model of the jewelry is displayed on the 3D model of the hand, the vision of the hand wearing jewelry can be realized. Sense effect, but there is no actual contact or collision between the 3D model of the hand and the 3D model of the ornament. The 3D model of the ornament floats on the 3D model of the hand, making it difficult for the user to feel the real wearing feeling. When the three-dimensional model of the hand and the three-dimensional model of the ornament are displayed, it is easy to occur that the three-dimensional model of the hand coincides with the edge of the three-dimensional model of the ornament.
为使虚拟模型之间展现佩戴的效果更真实和贴合实际,本发明实施例中引入物理引擎模拟手部三维模型与饰品三维模型之间的碰撞和摩擦,实现客户虚拟佩戴首饰的效果,能带来逼真的交互体验。物理引擎例如Nvidia公司的PhysX等,其使用CPU、GPU等资源准确模拟物体在三维空间中所受的重力、摩擦、碰撞等仿真效果。In order to make the effect of wearing the virtual model between the virtual models more realistic and realistic, the physics engine is used to simulate the collision and friction between the three-dimensional model of the hand and the three-dimensional model of the jewelry, so as to realize the effect of the virtual wearing of the jewelry by the customer. Bring a realistic interactive experience. Physical engines such as Nvidia's PhysX, etc., use CPU, GPU and other resources to accurately simulate the simulation effects of gravity, friction, collision, etc. of objects in three-dimensional space.
在构建了手部三维模型和饰品三维模型之后,分别设置手部三维模型和饰品三维模型的属性,该属性的设置包括设定模型的重量、阻力、碰撞机制、材质、环境变量、背景音效以及灯光等;并分别在手部三维模型和饰品三维模型上设置碰撞器,设定碰撞条件、建立手部三维模型和饰品三维模型的参数;完成上述的设置后,再导入手部三维模型和饰品三维模型,并将饰品三维模型显示于手部三维模型的指定位置上。After constructing the 3D model of the hand and the 3D model of the ornament, the attributes of the 3D model of the hand and the 3D model of the ornament are respectively set. The setting of the property includes setting the weight, resistance, collision mechanism, material, environment variable, background sound and the background sound of the model. Lights, etc.; and set up collision devices on the 3D model of the hand and the 3D model of the jewelry, set the collision conditions, establish the parameters of the 3D model of the hand and the 3D model of the jewelry; after completing the above settings, import the 3D model and accessories of the hand. The 3D model displays the 3D model of the ornament at a specified position on the 3D model of the hand.
将饰品三维模型显示于手部三维模型上之后,可以基于骨骼信息,也即根据客户手部的宽度等信息,对饰品三维模型的细节,例如戒指周长、手表表带长度等,进行细微的调整,使得饰品三维模型可以恰好套接在手部的指定位置上。After displaying the 3D model of the jewelry on the 3D model of the hand, the details of the 3D model of the jewelry, such as the circumference of the ring, the length of the watch strap, etc., can be subtle based on the bone information, that is, according to the width of the client's hand. Adjustment, so that the three-dimensional model of the jewelry can be just nested at the designated position of the hand.
步骤S23:接收深度传感器在其感知空间内获取的手部的深度信息;Step S23: receiving depth information of the hand acquired by the depth sensor in the sensing space thereof;
客户在试戴饰品时,不仅仅是为了试看饰品是否合适,更需要试看饰品与手部搭配是否具有美感,在真实试戴时,会调整手部或者饰品的角度,从各个角度观看饰品的佩戴效果。When the customer tries on the jewelry, it is not only to try to see if the jewelry is suitable, but also to see if the jewelry and the hand are aesthetically pleasing. When the real try-on, the angle of the hand or the jewelry is adjusted, and the jewelry is worn from all angles. effect.
针对于此,在导入了手部三维模型与饰品三维模型,并将饰品三维模型显示于手部三维模型指定位置之后,深度传感器实时获取手部的深度信息,这其中包括手部的三维坐标和速度等信息,客户的手部在深度传感器的感知空间内,像真实佩戴饰品一样调整手部的角度,以实现虚拟系统中模拟真实佩戴试看的效果。In response to this, after the hand 3D model and the 3D model of the ornament are imported, and the 3D model of the ornament is displayed at the designated position of the 3D model of the hand, the depth sensor acquires the depth information of the hand in real time, including the 3D coordinates of the hand and Speed and other information, the customer's hand in the depth sensor's perception space, like the real wear jewelry to adjust the angle of the hand, in order to achieve the virtual system simulation of the real wear test.
步骤S24:基于手部的深度信息,调用物理引擎调整手部三维模型与饰品三维 模型的显示。Step S24: Calling the physics engine to adjust the three-dimensional model of the hand and the three-dimensional ornament based on the depth information of the hand The display of the model.
深度传感器在其感知空间内获取手部的深度信息,包括手掌、手腕和各个手指的骨骼信息,这些骨骼信息能反应手部的特征信息;深度信息还包括手掌、手腕和各个手指的三维坐标以及速度信息,这可以精确捕获手部的位置、姿态和动作等;在深度传感器的感知空间内,以一定频率获取手部的移动、翻转等产生的深度信息,基于这些深度信息和上述的特征信息,反应到显示界面上即为虚拟仿真的手部进行相应的动作。The depth sensor acquires the depth information of the hand in its perceptual space, including the bone information of the palm, the wrist and each finger, and the bone information can reflect the characteristic information of the hand; the depth information also includes the three-dimensional coordinates of the palm, the wrist and each finger and Velocity information, which can accurately capture the position, posture and motion of the hand; in the sensing space of the depth sensor, acquire the depth information generated by the movement, flipping, etc. of the hand at a certain frequency, based on the depth information and the above characteristic information The reaction to the display interface is to perform the corresponding action for the hand of the virtual simulation.
基于深度传感器获取的深度信息,根据骨骼信息构建手部三维模型之后,以一定频率获取手部的运动信息,以此来控制显示界面中手部三维模型的运动,这样可以使得在感知空间内的手部特征信息、运动信息与显示界面中的手部三维模型特征信息、运动信息一一对应,以此来模拟真实手部运动的效果。Based on the depth information acquired by the depth sensor, after constructing the 3D model of the hand based on the bone information, the motion information of the hand is acquired at a certain frequency, thereby controlling the motion of the 3D model of the hand in the display interface, so that the motion can be made within the sensing space. The hand feature information, the motion information and the hand 3D model feature information and the motion information in the display interface are in one-to-one correspondence, thereby simulating the effect of the real hand motion.
同时,由于分别在手部三维模型和饰品三维模型中设置了碰撞器并进行了相关设置,此时调用物理引擎模拟手部三维模型与饰品三维模型之间的碰撞和摩擦,使得手部三维模型与饰品三维模型发生真实的接触,如同在现实中一样,饰品三维模型通过施加外力、重力、摩擦力等因素共同作用在手部三维模型的指定位置上,提供给客户一种通过虚拟试戴实现真实试戴的用户体验效果。At the same time, since the collider is set in the 3D model of the hand and the 3D model of the ornament, and the related settings are set respectively, the physics engine is called to simulate the collision and friction between the 3D model of the hand and the 3D model of the ornament, so that the 3D model of the hand is made. Real contact with the three-dimensional model of the jewelry, as in reality, the three-dimensional model of the jewelry acts on the specified position of the three-dimensional model of the hand by applying external force, gravity, friction and other factors, providing the customer with a virtual trial wear. User experience with real try-on.
例如,根据手部的动作调整手部三维模型和饰品三维模型的显示角度,使客户能够了解饰品佩戴于自身的手部的效果是否好看等,产生客户真实试戴饰品的效果,在客户不能真实试戴饰品时,提高客户试戴饰品的购买体验感。For example, according to the movement of the hand, the display angle of the three-dimensional model of the hand and the three-dimensional model of the ornament is adjusted, so that the customer can understand whether the effect of the jewelry worn on the hand is good or not, and the effect of the customer actually wearing the jewelry is generated, and the customer cannot be true. When you try on accessories, you can improve the purchasing experience of customers trying on jewelry.
客户可以通过设定来实现饰品是显示在左手还是右手上,亦或是手指上还是手腕上等,如图1所示。客户可以从饰品三维模型库中选择饰品三维模型,也可以在虚拟试戴过程中更换饰品三维模型;选择的方式可以采用例如键盘、鼠标或者触摸屏等现有的选择方式,也可以通过手势控制来选择和更换饰品三维模型;通过手势选择时,具体的,接收深度传感器在其感知空间内获取的手部的深度信息,并基于手部的深度信息分析手部对应的手势,例如,手掌在感知空间内向一个方向挥动,表示显示下一个饰品三维模型,向另一个方向挥动,则表示显示上一个饰品三维模型等。The customer can set whether the jewelry is displayed on the left or right hand, or on the finger or on the wrist, as shown in Figure 1. The customer can select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry, or replace the three-dimensional model of the jewelry during the virtual fitting process; the selection method can adopt an existing selection method such as a keyboard, a mouse or a touch screen, or can be controlled by gestures. Selecting and replacing the three-dimensional model of the jewelry; when selecting by gesture, specifically, receiving the depth information of the hand acquired by the depth sensor in the sensing space thereof, and analyzing the gesture corresponding to the hand based on the depth information of the hand, for example, the palm is sensing A space waving in one direction indicates that the next three-dimensional model of the ornament is displayed, and waving in the other direction indicates that the three-dimensional model of the previous ornament is displayed.
调用物理引擎调整手部三维模型和饰品三维模型的显示的一个具体实施例是, 根据手部深度信息的变化,同步手部三维模型的显示,使得手部三维模型与感知空间内客户的手部移动同步,然后调用物理引擎模拟手部三维模型与饰品三维模型之间的摩擦和碰撞,使得饰品三维模型受摩擦力的作用与手部三维模型同步显示,包括同步移动、同步旋转等,如此,实现现实中手部佩戴饰品的效果。A specific embodiment in which the physics engine is invoked to adjust the display of the hand 3D model and the 3D model of the jewelry is According to the change of the hand depth information, the display of the 3D model of the hand is synchronized, so that the hand 3D model is synchronized with the movement of the hand of the customer in the sensing space, and then the physics engine is invoked to simulate the friction between the 3D model of the hand and the 3D model of the accessory. Collision makes the three-dimensional model of the jewelry synchronously displayed by the frictional force and the three-dimensional model of the hand, including synchronous movement, synchronous rotation, etc., thus realizing the effect of wearing the jewelry in the hand.
具体的,客户的两只手都在深度传感器的感知空间内时,对应构建的手部三维模型,可以区别为佩戴手三维模型和交互手三维模型,如图3和图4所示,左手为佩戴手,右手为交互手。Specifically, when both hands of the client are in the sensing space of the depth sensor, the corresponding hand 3D model can be distinguished as the wearing hand 3D model and the interactive hand 3D model, as shown in FIG. 3 and FIG. 4, the left hand is Wear your hands and your right hand is an interactive hand.
则模拟真实手部佩戴饰品的以下情况:左手佩戴饰品,而右手调整饰品的位置或者角度,本发明实施例提出以下具体的方法;当然,也可以根据客户实际用手习惯对佩戴手和交互手进行设定,此处不予赘述。Then, the following situations are simulated: the left hand wears the jewelry, and the right hand adjusts the position or the angle of the jewelry. The following specific methods are proposed in the embodiment of the present invention; of course, the hand and the interactive hand can also be used according to the actual hand habit of the customer. Make settings, not to repeat them here.
基于手部的深度信息,调用物理引擎调整手部三维模型和饰品三维模型的显示,具体可以是如图5所示的步骤:Based on the depth information of the hand, the physics engine is called to adjust the display of the hand 3D model and the 3D model of the jewelry, which may be the steps shown in FIG. 5:
步骤S51:基于手部的深度信息,判断佩戴手三维模型的状态是否发生变化;Step S51: determining whether the state of wearing the three-dimensional model of the hand changes based on the depth information of the hand;
真实佩戴情况下,佩戴手通常保持不动,由另一只手来调整饰品的位置和角度。则相应的,设计为在虚拟系统中,若佩戴手三维模型的状态保持不变化,也即佩戴手的手部的深度信息没有发生变化,反应了客户的佩戴手保持不动的状态,说明客户即将调整饰品的位置或者角度。则In the case of real wear, the wearing hand is usually kept still, and the position and angle of the jewelry are adjusted by the other hand. Correspondingly, in the virtual system, if the state of wearing the hand three-dimensional model remains unchanged, that is, the depth information of the hand of the wearing hand does not change, reflecting the state in which the wearing hand of the customer remains stationary, indicating the customer The position or angle of the jewelry will be adjusted soon. then
步骤S52:基于手部的深度信息,判断佩戴手三维模型与交互手三维模型是否存在相对运动;Step S52: determining, according to the depth information of the hand, whether there is relative motion between the wearing hand three-dimensional model and the interactive hand three-dimensional model;
当佩戴手三维模型与交互手三维模型存在相对运动时,也即反映了佩戴手与交互手存在相对的运动;而在佩戴手保持不动的状态下,若佩戴手与交互手发生相对运动,则必然是交互手发生了运动,也即交互手的手部的深度信息发生了变化;而交互手发生的运动对应为对饰品位置或者角度的调整,则When there is relative motion between the wearing hand three-dimensional model and the interactive hand three-dimensional model, that is, the relative movement between the wearing hand and the interactive hand is reflected; and in the state in which the wearing hand remains stationary, if the wearing hand and the interactive hand are in relative motion, It is inevitable that the interaction hand moves, that is, the depth information of the hand of the interaction hand changes; and the movement of the interaction hand corresponds to the adjustment of the position or angle of the jewelry, then
步骤S53:向饰品三维模型施力,并调用物理引擎模拟手部三维模型与饰品三维模型之间的摩擦和碰撞,使得饰品三维模型相对手部三维模型移动。Step S53: Applying force to the three-dimensional model of the jewelry, and calling the physics engine to simulate the friction and collision between the three-dimensional model of the hand and the three-dimensional model of the ornament, so that the three-dimensional model of the ornament moves relative to the three-dimensional model of the hand.
真实佩戴时,交互手的不同运动对应对饰品不同的调整,则交互手三维模型发生运动时,对应需要根据运动状态的不同来调整饰品三维模型的位置并显示, 例如,移动饰品三维模型的位置,或者调整饰品三维模型的角度等。When the real wear is performed, the different movements of the interactive hand correspond to the different adjustments of the jewelry, and when the interactive hand three-dimensional model occurs, the position of the three-dimensional model of the accessory needs to be adjusted according to the different state of motion, and displayed. For example, moving the position of the three-dimensional model of the jewelry, or adjusting the angle of the three-dimensional model of the jewelry, and the like.
基于手部的深度信息,判断佩戴手三维模型与交互手三维模型是否存在相对运动的一种具体实施例如图3所示,基于手部的深度信息,包括交互手(对应右手)和佩戴手(对应左手)的深度信息,得到佩戴手三维模型中手指或者手腕的方向信息,并判断交互手三维模型是否相对于佩戴手三维模型中手指或手腕的方向平移移动,这对应为交互手相对佩戴手的手指或手腕方向平移移动;若判断得出交互手三维模型是相对于佩戴手三维模型中手指或手腕的方向平移移动的,则将该动作对应为调整饰品三维模型在佩戴手三维模型中手指或手腕上的位移,并显示出来;对应实际佩戴情况,则为调整戒指在手指上的位置,调整手表在手腕上的位置等;平移移动包括整个手部的平移,以及仅手指的平移;具体实施时,在饰品三维模型上施加力,使得饰品三维模型相对手部三维模型的手指或者手腕方向平移移动,同时,调用物理引擎模拟饰品三维模型与手部三维模型之间的摩擦和碰撞,使得饰品三维模型结合施加的力、摩擦以及碰撞等因素,模拟真实佩戴的情况进行平移移动,使得虚拟试戴与真实试戴的体验更加一致,提高客户的购买体验效果。Based on the depth information of the hand, a specific implementation for determining whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model is as shown in FIG. 3, based on the hand depth information, including the interactive hand (corresponding to the right hand) and the wearing hand ( Corresponding to the depth information of the left hand, the direction information of the finger or the wrist in the three-dimensional model of the wearing hand is obtained, and it is determined whether the three-dimensional model of the interactive hand is translationally moved relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, which corresponds to the relative hand of the interactive hand. The finger or wrist direction shifts and moves; if it is judged that the interactive hand 3D model is moved relative to the direction of the finger or wrist in the 3D model of the wearing hand, the action is correspondingly adjusted to adjust the jewelry 3D model in the wearing hand 3D model finger Or the displacement on the wrist and display it; corresponding to the actual wearing situation, adjust the position of the ring on the finger, adjust the position of the watch on the wrist, etc.; the translational movement includes the translation of the entire hand, and the translation of only the finger; When implemented, the force is applied to the three-dimensional model of the ornament, so that the three-dimensional model of the jewelry is relatively The three-dimensional model moves in the direction of the finger or wrist. At the same time, the physics engine is invoked to simulate the friction and collision between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the accessory combines the applied force, friction and collision to simulate the real wearing. The situation is translated and moved, which makes the virtual try-on and the real try-on experience more consistent, and improves the customer's purchase experience.
基于手部的深度信息,判断佩戴手三维模型与交互手三维模型是否存在相对运动的又一种具体实施例如图4所示,基于手部的深度信息,包括交互手(对应右手)三维模型相对佩戴手(对应左手)的深度信息,得到佩戴手三维模型中手指或者手腕的方向信息,并判断交互手三维模型是否相对于佩戴手三维模型中的手指或手腕的方向进行旋转,这对应为旋转手腕或是手指上的饰品;若判断得出交互手三维模型是相对于佩戴手三维模型中手指或手腕的方向进行旋转,则将该动作对应为调整饰品三维模型在佩戴手三维模型中手指或手腕上的角度,并显示出来;对应实际佩戴情况,则为调整戒指在手指上的角度,调整手表在手腕上的角度等;具体实施时,在饰品三维模型上施加力,使得饰品三维模型相对手部三维模型的围绕手指或者手腕方向旋转,同时,调用物理引擎模拟饰品三维模型与手部三维模型之间的摩擦和碰撞,使得饰品三维模型结合施加的力、摩擦以及碰撞等因素,模拟真实佩戴的情况进行垂直移动,使得虚拟试戴与真实试戴的体验更加一致,提高客户的购买体验效果。 Based on the depth information of the hand, another specific implementation for determining whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model is as shown in FIG. 4, based on the hand depth information, including the interactive hand (corresponding to the right hand) 3D model. Wearing the depth information of the hand (corresponding to the left hand), obtaining the direction information of the finger or the wrist in the three-dimensional model of the wearing hand, and determining whether the three-dimensional model of the interactive hand is rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, which corresponds to rotation Wrist or jewelry on the finger; if it is judged that the interactive hand 3D model is rotated relative to the direction of the finger or wrist in the 3D model of the wearing hand, the action is corresponding to the adjustment of the jewelry 3D model in the wearing hand 3D model in the finger or The angle on the wrist is displayed; corresponding to the actual wearing situation, the angle of the ring on the finger is adjusted, and the angle of the watch on the wrist is adjusted; in the specific implementation, the force is applied on the three-dimensional model of the ornament, so that the three-dimensional model of the accessory is relatively The three-dimensional model of the hand rotates around the finger or wrist, and at the same time, the caller The engine simulates the friction and collision between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the accessory combines the force, friction and collision factors, and simulates the real wearing situation for vertical movement, so that the virtual try-on and the real try-on The experience is more consistent and improves the customer's buying experience.
客户在虚拟佩戴饰品之前,还可以只选择导入饰品三维模型,并通过鼠标、键盘等输入设备的操作来调节饰品三维模型的显示,例如翻转、缩放等。Before the virtual wear jewelry, the customer can only choose to import the three-dimensional model of the jewelry, and adjust the display of the three-dimensional model of the jewelry through operations of the input device such as a mouse or a keyboard, such as flipping, zooming, and the like.
客户也可以基于深度传感器,通过手势来实现控制饰品三维模型的翻转或者缩放,具体的如图6所示:The customer can also control the flipping or zooming of the 3D model of the jewelry based on the depth sensor based on the gesture, as shown in Figure 6:
步骤S61:接收深度传感器在其感知空间内获取的手部的深度信息;Step S61: receiving depth information of the hand acquired by the depth sensor in the sensing space thereof;
步骤S62:基于手部的深度信息,分析得到手部对应的手势;Step S62: analyzing, according to the depth information of the hand, a gesture corresponding to the hand;
步骤S63:基于手势,控制饰品三维模型的选择、旋转、移动或者缩放。Step S63: Control selection, rotation, movement or zooming of the three-dimensional model of the ornament based on the gesture.
基于手部的深度信息,得到手部的三维坐标和速度信息;并根据手部的三维坐标,分析手部的位移,以及根据手部的速度信息,分析手部的运动方向。Based on the depth information of the hand, the three-dimensional coordinates and velocity information of the hand are obtained; and the displacement of the hand is analyzed according to the three-dimensional coordinates of the hand, and the moving direction of the hand is analyzed according to the speed information of the hand.
深度传感器采集其感知空间内手部变化的深度信息,因此,获取到的深度信息中的三维坐标在时间轴上形成了手部的运动位移,而速度信息中的速度方向和速率则在空间中构建出了手部的运动方向和运动速度。The depth sensor collects the depth information of the hand change in the sensing space. Therefore, the three-dimensional coordinates in the acquired depth information form the motion displacement of the hand on the time axis, and the speed direction and the velocity in the velocity information are in the space. The direction of movement and speed of movement of the hand are constructed.
基于手部的运动,可以推算得到手部运动对应的手势;具体的,结合手部的运动位移以及运动方向和运动速度,可以构建出手部在空间发生的手势模型,不同的手势模型对应不同的人机交互指令,例如,从饰品三维模型库中选择饰品三维模型、翻转饰品三维模型、放大或者缩小饰品三维模型等,而具体的手势与人机交互指令的对应关系可以依据游戏实际情况确定,本方案不予限制。Based on the movement of the hand, the gesture corresponding to the hand movement can be calculated; specifically, combined with the movement displacement of the hand and the movement direction and the movement speed, a gesture model of the hand occurring in the space can be constructed, and different gesture models correspond to different gestures. Human-computer interaction instructions, for example, selecting a three-dimensional model of the ornament from the three-dimensional model library of the jewelry, flipping the three-dimensional model of the ornament, and enlarging or reducing the three-dimensional model of the ornament, and the corresponding relationship between the specific gesture and the human-computer interaction command can be determined according to the actual situation of the game. This program is not limited.
客户在虚拟试戴饰品时,通过上述方式来调整饰品三维模型的大小,例如用鼠标或键盘输入参数的方式来改变饰品三维模型的大小,又例如,基于交互手的两指相对运动产生的距离的大小变化来调整饰品三维模型大小的变化等;这样做的好处是,客户可以根据手部的大小,定制适合自身手部的饰品尺寸,而不局限于现有饰品的大小,进而提高客户的购买体验。而且用户可以自行完成饰品的选择购买过程,降低了饰品商家的人力成本。When the virtual try-on jewelry, the customer adjusts the size of the three-dimensional model of the jewelry by the above method, for example, using a mouse or a keyboard to input parameters to change the size of the three-dimensional model of the jewelry, and for example, the distance generated by the relative movement of the two fingers of the interactive hand. The size changes to adjust the size of the 3D model of the jewelry, etc.; the advantage of this is that the customer can customize the size of the jewelry suitable for his hand according to the size of the hand, not limited to the size of the existing jewelry, thereby improving the customer's Purchase experience. Moreover, the user can complete the selection and purchase process of the jewelry by himself, thereby reducing the labor cost of the jewelry merchant.
基于上述虚拟饰品试戴的人机交互方法,本发明实施例还提出一种虚拟饰品试戴的人机交互系统,如图7所示,包括深度传感器1、显示单元2、导入单元3、物理引擎4和主控单元5;深度传感器用于在其感知空间内获取手部的深度信息;导入单元用于分别导入手部三维模型和饰品三维模型;主控单元将饰品三维模型显示于手部三维模型的指定位置上,并接收深度传感器在其感知空间内获 取的手部的深度信息,基于手部的深度信息,调用物理引擎调整手部三维模型和饰品三维模型的显示;显示单元显示手部三维模型和饰品三维模型;物理引擎用于模拟手部三维模型和饰品三维模型之间的摩擦和碰撞。Based on the human-computer interaction method of the virtual jewelry trial, the embodiment of the present invention further provides a human-computer interaction system for virtual jewelry trial, as shown in FIG. 7, including a depth sensor 1, a display unit 2, an import unit 3, and a physics. The engine 4 and the main control unit 5; the depth sensor is used to acquire the depth information of the hand in the sensing space; the importing unit is used to respectively introduce the hand three-dimensional model and the three-dimensional model of the jewelry; the main control unit displays the three-dimensional model of the jewelry on the hand The specified position of the 3D model, and the receiving depth sensor is obtained in its perceptual space Taking the depth information of the hand, based on the depth information of the hand, calling the physics engine to adjust the display of the hand 3D model and the 3D model of the ornament; the display unit displays the 3D model of the hand and the 3D model of the ornament; the physics engine is used to simulate the 3D of the hand Friction and collision between the model and the 3D model of the ornament.
上述系统还包括构建单元5和设置单元7;构建单元用于构建饰品的饰品三维模型和客户的手部三维模型。具体的,构建的手部三维模型包括手部模型和手部模型中的骨骼模型,控制单元接收深度传感器在其感知空间内获取的手部的深度信息,并基于手部的深度信息分析得到的手部的骨骼信息,构建单元关联骨骼信息与骨骼模型,构建出手部的手部三维模型;这其中,骨骼信息包括手腕、手掌和各个手指的骨骼宽度信息和骨骼长度信息;具体的,构建单元基于骨骼信息,拉伸或者收缩骨骼模型的尺寸,以及,在将饰品三维模型显示于手部三维模型的指定位置上之后,基于骨骼信息,调整饰品三维模型的石村,使得饰品三维模型更符合实际的套接在手部三维模型上。The above system further comprises a building unit 5 and a setting unit 7; the building unit is used for constructing a three-dimensional model of the jewelry of the accessory and a three-dimensional model of the hand of the client. Specifically, the constructed three-dimensional hand model includes a hand model and a bone model in the hand model, and the control unit receives the depth information of the hand acquired by the depth sensor in the sensing space thereof, and is based on the depth information analysis of the hand. The skeleton information of the hand, the construction unit associates the bone information with the skeleton model, and constructs a three-dimensional model of the hand of the hand; wherein the bone information includes bone width information and bone length information of the wrist, the palm, and each finger; specifically, the building unit Based on the bone information, the size of the skeleton model is stretched or contracted, and after the three-dimensional model of the ornament is displayed at a specified position of the hand three-dimensional model, the stoneware of the three-dimensional model of the ornament is adjusted based on the skeleton information, so that the three-dimensional model of the ornament is more realistic. The sleeve is attached to the 3D model of the hand.
设置单元7,设置手部三维模型和饰品三维模型的属性,分别在手部三维模型和饰品三维模型上设置碰撞器,并设定碰撞器的碰撞条件,以及建立手部三维模型和饰品三维模型的参数;在模拟客户试戴饰品时,基于这些设定,调用物理引擎来模拟真实手部佩戴饰品的效果。The setting unit 7 sets the three-dimensional model of the hand and the attributes of the three-dimensional model of the ornament, respectively sets the collider on the hand three-dimensional model and the three-dimensional model of the ornament, sets the collision condition of the collider, and establishes the three-dimensional model of the hand and the three-dimensional model of the ornament. The parameters of the real hand wearing jewelry are based on these settings when simulating the customer's try-on jewelry.
相应于饰品三维模型,上述系统还包括饰品三维模型库6,用于存储饰品的饰品三维模型,以供客户从饰品三维模型库中选择中意的饰品三维模型进行虚拟试戴。Corresponding to the three-dimensional model of the jewelry, the above system further comprises a three-dimensional model library 6 for storing the three-dimensional model of the jewelry for the customer, for the customer to select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry for virtual trial wear.
客户可以采用手势控制的方式从饰品三维模型库中选取饰品三维模型,还可以基于手势控制的方式在导入单元导入饰品三维模型后,控制饰品三维模型的选择、缩放、移动或者旋转;具体为,在接收深度传感器在其感知空间内获取的手部的深度信息后,基于手部的深度信息,分析手部对应的手势,并基于手势的不同控制饰品三维模型的缩放、移动、旋转或者不同饰品三维模型间的切换等。The customer can select the three-dimensional model of the jewelry from the three-dimensional model library of the jewelry by means of gesture control, and can also select, zoom, move or rotate the three-dimensional model of the jewelry after the import unit imports the three-dimensional model of the jewelry based on the gesture control manner; After receiving the depth information of the hand acquired by the depth sensor in the sensing space, analyzing the gesture corresponding to the hand based on the depth information of the hand, and controlling the zooming, moving, rotating or different jewelry of the three-dimensional model of the jewelry based on the difference of the gesture Switching between 3D models, etc.
主控单元在导入手部三维模型和饰品三维模型后,将饰品三维模型佩戴于手部三维模型上,具体为:在手部三维模型上选定需要佩戴饰品三维模型的位置;并将饰品三维模型显示于该位置上。 After importing the 3D model of the hand and the 3D model of the jewelry, the main control unit wears the 3D model of the ornament on the 3D model of the hand, specifically: selecting the position of the 3D model of the accessory to be worn on the 3D model of the hand; The model is shown at this location.
模拟真实试戴饰品的场景中区分的佩戴饰品的佩戴手和调整饰品位置和角度的交互手,则构建手部三维模型相应的包括佩戴手三维模型和交互手三维模型。To simulate the wearing hand of the jewelry and the interactive hand of adjusting the position and angle of the jewelry in the scene of the real try-on jewelry, the three-dimensional model of the hand is constructed to include the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand.
则模拟真实手部佩戴饰品的以下情况:左手佩戴饰品,而右手调整饰品的位置或者角度,可以对应为佩戴手保持不动,而交互手相对佩戴手的状态发生变化;具体的,基于获取的手部的深度信息,判断佩戴手三维模型的状态是否发生变化;若否,则基于获取的手部的深度信息,判断佩戴手三维模型与交互手三维模型是否存在相对运动;若是,向饰品三维模型施力,并调用物理引擎模拟饰品三维模型与手部三维模型之间的碰撞和摩擦,使得饰品三维模型相对手部三维模型移动。Then simulate the following situation of real hand wearing jewelry: the left hand wears the jewelry, and the right hand adjusts the position or angle of the jewelry, which can correspond to the wearing hand remaining, and the state of the interactive hand relative to the wearing hand changes; specifically, based on the acquired The depth information of the hand determines whether the state of the wearing hand 3D model changes; if not, based on the acquired depth information of the hand, it is determined whether there is relative motion between the wearing hand 3D model and the interactive hand 3D model; The model applies force and calls the physics engine to simulate the collision and friction between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the ornament moves relative to the three-dimensional model of the hand.
相应于交互手调整饰品的位置,佩戴手三维模型与交互手三维模型存在相对运动,可以为交互手三维模型相对佩戴手三维模型的手指或手腕方向的平移移动,佩戴手三维模型中手指或者手腕的方向信息是基于手部的深度信息得到,包括交互手(对应右手)和佩戴手(对应左手);若判断得出交互手三维模型是相对于佩戴手三维模型中手指或手腕的方向平移移动的,则将该动作对应为调整饰品三维模型在佩戴手三维模型中手指或手腕上的位移,并显示出来;对应实际佩戴情况,则为调整戒指在手指上的位置,调整手表在手腕上的位置等;平移移动包括整个手部的平移,以及仅手指的平移;具体实施时,在饰品三维模型上施加力,使得饰品三维模型相对手部三维模型的手指或者手腕方向平移移动,同时,调用物理引擎模拟饰品三维模型与手部三维模型之间的摩擦和碰撞,使得饰品三维模型结合施加的力、摩擦以及碰撞等因素,模拟真实佩戴的情况进行平移移动,使得虚拟试戴与真实试戴的体验更加一致,提高客户的购买体验效果。Corresponding to the position of the interactive hand to adjust the jewelry, the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have relative motion, and the moving hand 3D model can be moved relative to the finger or wrist direction of the three-dimensional model of the hand, and the finger or wrist in the three-dimensional model of the hand is worn. The direction information is obtained based on the depth information of the hand, including the interactive hand (corresponding to the right hand) and the wearing hand (corresponding to the left hand); if it is judged that the interactive hand 3D model is translational movement relative to the direction of the finger or wrist in the wearing hand 3D model The action is corresponding to adjusting the displacement of the three-dimensional model of the jewelry on the finger or the wrist in the three-dimensional model of the wearing hand, and displaying it; corresponding to the actual wearing situation, adjusting the position of the ring on the finger, adjusting the wristwatch on the wrist Positioning, etc.; translational movement includes translation of the entire hand, and translation of only the finger; in specific implementation, a force is applied on the three-dimensional model of the ornament, so that the three-dimensional model of the ornament is moved relative to the finger or wrist of the hand three-dimensional model, and at the same time, The physics engine simulates between the 3D model of the ornament and the 3D model of the hand. Friction and collision make the three-dimensional model of the jewelry combined with the applied force, friction and collision factors to simulate the real wearing situation for translational movement, which makes the virtual try-on and the real try-on experience more consistent, and improves the customer's purchasing experience.
相应于交互手调整饰品的角度,佩戴手三维模型与所述交互手三维模型存在相对运动,可以为交互手三维模型相对佩戴手三维模型中围绕手指或手腕的方向进行旋转,若判断得出交互手三维模型是相对于佩戴手三维模型中围绕手指或手腕的方向旋转的,则将该动作对应为调整饰品三维模型在佩戴手三维模型中手指或手腕上的角度,并显示出来;对应实际佩戴情况,则为调整戒指在手指上的角度,调整手表在手腕上的角度等;具体实施时,在饰品三维模型上施加 力,使得饰品三维模型相对手部三维模型的手指或者手腕方向垂直移动,同时,调用物理引擎模拟饰品三维模型与手部三维模型之间的摩擦和碰撞,使得饰品三维模型结合施加的力、摩擦以及碰撞等因素,模拟真实佩戴的情况进行旋转,使得虚拟试戴与真实试戴的体验更加一致,提高客户的购买体验效果。Corresponding to the angle of the interactive hand adjustment ornament, the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have relative motion, and the three-dimensional model of the interactive hand can be rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand. The hand three-dimensional model is rotated relative to the direction of the finger or the wrist in the three-dimensional model of the wearing hand, and the action is correspondingly adjusted to adjust the angle of the three-dimensional model of the accessory on the finger or the wrist in the three-dimensional model of the wearing hand, and is displayed; corresponding to the actual wearing In the case, it is to adjust the angle of the ring on the finger, adjust the angle of the watch on the wrist, etc.; in the specific implementation, apply on the three-dimensional model of the jewelry The force causes the three-dimensional model of the ornament to move vertically relative to the finger or wrist direction of the hand three-dimensional model. At the same time, the physics engine is invoked to simulate the friction and collision between the three-dimensional model of the ornament and the three-dimensional model of the hand, so that the three-dimensional model of the accessory combines the applied force and friction. As well as collision and other factors, the simulation of the real wearing situation to rotate, making the virtual try-on and the real try-on experience more consistent, improve the customer's purchase experience.
在客户只将佩戴手置于深度传感器的感知空间内时,客户通过翻转或者移动佩戴手来实现从不同角度观看试戴效果,则最直接的一种方式是,根据手部深度信息的变化,同步手部三维模型和饰品三维模型的显示;也即,将饰品三维模型的显示与手部三维模型的显示同步起来,然后调用物理引擎模拟手部三维模型与饰品三维模型之间的摩擦和碰撞,使得饰品三维模型受摩擦力的作用与手部三维模型同步显示,包括同步移动、同步旋转等,反应的效果是,客户调整佩戴手的位置和角度时,饰品跟随佩戴手的运动而运动,以实现观察饰品与手部在不同角度的佩戴效果。When the customer only places the wearing hand in the sensing space of the depth sensor, the customer can view the fitting effect from different angles by flipping or moving the wearing hand. The most direct way is that according to the change of the hand depth information, Synchronize the display of the 3D model of the hand and the 3D model of the ornament; that is, synchronize the display of the 3D model of the ornament with the display of the 3D model of the hand, and then call the physics engine to simulate the friction and collision between the 3D model of the hand and the 3D model of the accessory. The three-dimensional model of the jewelry is synchronously displayed by the frictional force and the three-dimensional model of the hand, including synchronous movement, synchronous rotation, etc. The effect of the reaction is that when the customer adjusts the position and angle of the wearing hand, the accessory moves following the movement of the wearing hand. In order to observe the wearing effect of the jewelry and the hand at different angles.
具体虚拟饰品试戴的人机交互系统的工作方法,已经在上述虚拟饰品试戴的人机交互方法中详述,此处不予赘述。The working method of the human-computer interaction system tried by the specific virtual jewelry has been detailed in the human-computer interaction method of the virtual jewelry trial, and will not be described here.
本发明实施例提出的虚拟饰品试戴的人机交互方法和系统,构建饰品的饰品三维模型以及客户手部的手部三维模型,将饰品三维模型佩戴于手部三维模型上,采用这种饰品与手部虚拟的试戴的方式,实现真实试戴饰品的效果;并通过佩戴手和交互手的相对运动来实现虚拟控制饰品三维模型的位置或角度的变化,模拟真实试戴中调整手部和饰品的位置和角度,在客户不能真实试戴饰品时,通过虚拟试戴的方式,达到真实试戴的效果,同时引入物理引擎模拟手部三维模型与饰品三维模型之间的碰撞和摩擦,使得虚拟佩戴更真实,能使客户产生与真实试戴一致的体验感和体验效果。 The human-computer interaction method and system for virtual jewelry trials proposed in the embodiments of the present invention construct a three-dimensional model of the jewelry and a three-dimensional model of the hand of the client, and wear the three-dimensional model of the jewelry on the three-dimensional model of the hand, and adopt the jewelry. The virtual try-on method of the hand realizes the effect of the real try-on jewelry; and realizes the change of the position or angle of the virtual control jewelry three-dimensional model by wearing the relative motion of the hand and the interactive hand, and simulates the real hand-adjusting adjustment of the hand And the position and angle of the jewelry, when the customer can not really try on the jewelry, through the virtual try-on, to achieve the real try-on effect, while introducing the physics engine to simulate the collision and friction between the hand 3D model and the 3D model of the jewelry, Make the virtual wear more realistic, and enable the customer to produce a sense of experience and experience consistent with the real try-on.

Claims (1)

  1. 手部虚拟饰品试戴的人机交互方法,其特征在于,包括:The human-computer interaction method for the hand virtual jewelry trial is characterized by comprising:
    分别导入手部三维模型和饰品三维模型;Import the hand 3D model and the 3D model of the jewelry separately;
    将所述饰品三维模型显示于所述手部三维模型的指定位置上;Displaying the three-dimensional model of the ornament on a specified position of the three-dimensional model of the hand;
    接收深度传感器在其感知空间内获取的手部的深度信息;Receiving depth information of the hand acquired by the depth sensor in its perceptual space;
    基于所述手部的深度信息,调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示。Based on the depth information of the hand, the physics engine is invoked to adjust the display of the three-dimensional model of the hand and the three-dimensional model of the accessory.
    根据权利要求1所述的手部虚拟饰品试戴的人机交互方法,其特征在于,在分别导入并显示手部三维模型和饰品三维模型之前,所述方法包括:The human-computer interaction method of the hand virtual jewelry fitting according to claim 1, wherein before the manual introduction and display of the three-dimensional model of the hand and the three-dimensional model of the ornament, the method comprises:
    分别构建所述手部三维模型和所述饰品三维模型;Constructing the hand three-dimensional model and the three-dimensional model of the jewelry respectively;
    设置所述手部三维模型和所述饰品三维模型的属性;Setting the three-dimensional model of the hand and the attributes of the three-dimensional model of the accessory;
    分别在所述手部三维模型和所述饰品三维模型上设置碰撞器;Providing a collider on the hand three-dimensional model and the jewelry three-dimensional model respectively;
    设定碰撞器的碰撞条件,和建立所述手部三维模型与所述饰品三维模型的参数。Setting a collision condition of the collider, and establishing parameters of the hand three-dimensional model and the three-dimensional model of the accessory.
    根据权利要求2所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述手部三维模型包括手部模型和建立于所述手部模型中的骨骼模型;The human-computer interaction method for hand virtual jewelry fitting according to claim 2, wherein the hand three-dimensional model comprises a hand model and a skeleton model built in the hand model;
    所述构建手部三维模型,具体为:The three-dimensional model of the hand is constructed, specifically:
    接收深度传感器在其感知空间内获取的手部的深度信息;Receiving depth information of the hand acquired by the depth sensor in its perceptual space;
    基于获取的手部的深度信息,得到手部的骨骼信息;其中,所述骨骼信息包括手腕、手掌和各手指的骨骼宽度信息和骨骼长度信息;Obtaining bone information of the hand based on the obtained depth information of the hand; wherein the bone information includes bone width information and bone length information of the wrist, the palm, and each finger;
    关联所述骨骼信息与所述骨骼模型,构建出所述手部的手部三维模型。A three-dimensional model of the hand of the hand is constructed by associating the bone information with the skeleton model.
    根据权利要求3所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述关联所述骨骼信息与所述骨骼模型,具体为:The human-computer interaction method of the hand virtual jewelry fitting according to claim 3, wherein the associating the skeleton information with the skeleton model is specifically:
    基于骨骼信息,拉伸或收缩所述骨骼模型的尺寸。 Stretches or shrinks the size of the bone model based on bone information.
    根据权利要求3所述的手部虚拟饰品试戴的人机交互方法,其特征在于,将所述饰品三维模型显示于所述手部三维模型的指定位置上之后,所述方法还包括:The human-computer interaction method of the hand virtual jewelry fitting according to claim 3, wherein after the three-dimensional model of the accessory is displayed on the designated position of the hand three-dimensional model, the method further includes:
    基于所述骨骼信息,调整所述饰品三维模型的尺寸。The size of the three-dimensional model of the ornament is adjusted based on the bone information.
    根据权利要求2所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,具体为:The human-computer interaction method of the hand virtual jewelry fitting according to claim 2, wherein the calling physics engine adjusts the display of the hand three-dimensional model and the three-dimensional model of the accessory, specifically:
    根据所述手部的深度信息的变化,同步所述手部三维模型的显示;Synchronizing the display of the three-dimensional model of the hand according to the change of the depth information of the hand;
    调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型与所述手部三维模型同步显示。The physics engine is invoked to simulate friction and collision between the hand three-dimensional model and the jewelry three-dimensional model, so that the jewelry three-dimensional model is displayed synchronously with the hand three-dimensional model.
    根据权利要求1所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述手部三维模型包括佩戴手三维模型和交互手三维模型;The human-computer interaction method for hand virtual jewelry fitting according to claim 1, wherein the hand three-dimensional model comprises a three-dimensional model of wearing a hand and a three-dimensional model of an interactive hand;
    则基于所述手部的深度信息,调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,具体为:Then, based on the depth information of the hand, the physics engine is invoked to adjust the display of the three-dimensional model of the hand and the three-dimensional model of the accessory, specifically:
    基于所述手部的深度信息,判断所述佩戴手三维模型的状态是否发生变化;若否,Determining whether the state of the three-dimensional model of the wearing hand changes based on the depth information of the hand; if not,
    基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相互运动;Determining, according to the depth information of the hand, whether the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have mutual motion;
    若是,向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述手部三维模型移动。If yes, applying a force to the three-dimensional model of the ornament, and calling the physics engine to simulate friction and collision between the three-dimensional model of the hand and the three-dimensional model of the accessory, so that the three-dimensional model of the accessory is compared with the three-dimensional model of the hand mobile.
    根据权利要求7所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相对运动,具体为:The human-computer interaction method of the hand virtual jewelry fitting according to claim 7, wherein the determining whether the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand exist according to the depth information of the hand Relative movement, specifically:
    基于所述手部的深度信息,得到所述佩戴手三维模型中手指或手 腕的方向信息;Obtaining a finger or a hand in the three-dimensional model of the wearing hand based on the depth information of the hand Direction information of the wrist;
    判断所述交互手三维模型是否相对于所述佩戴手三维模型中手指或手腕的方向平移移动;若是,则Determining whether the interactive hand three-dimensional model is translationally moved relative to a direction of a finger or a wrist in the three-dimensional model of the wearing hand; if yes,
    所述调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,,具体为:向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述佩戴手三维模型中手指或手腕上的方向平移移动。The calling physics engine adjusts the display of the three-dimensional model of the hand and the three-dimensional model of the accessory, specifically: applying a force to the three-dimensional model of the accessory, and calling the physics engine to simulate the three-dimensional model of the hand and the The friction and collision between the three-dimensional models of the jewelry causes the three-dimensional model of the ornament to move in translation relative to the direction on the finger or wrist in the three-dimensional model of the wearing hand.
    根据权利要求7所述的手部虚拟饰品试戴的人机交互方法,其特征在于,所述基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相对运动,具体为:The human-computer interaction method of the hand virtual jewelry fitting according to claim 7, wherein the determining whether the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand exist according to the depth information of the hand Relative movement, specifically:
    基于所述手部的深度信息,得到所述佩戴手三维模型中手指或手腕的方向信息;Obtaining direction information of a finger or a wrist in the three-dimensional model of the wearing hand based on the depth information of the hand;
    判断所述交互手三维模型是否相对于所述佩戴手三维模型中的手指或手腕进行旋转;若是,则Determining whether the interactive hand three-dimensional model is rotated relative to a finger or a wrist in the wearing hand three-dimensional model; if yes,
    所述调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,具体为:向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述佩戴手三维模型中手指或手腕旋转。The calling physics engine adjusts the display of the three-dimensional model of the hand and the three-dimensional model of the accessory, specifically: applying a force to the three-dimensional model of the accessory, and calling the physics engine to simulate the three-dimensional model of the hand and the accessory The friction and collision between the three-dimensional models causes the three-dimensional model of the ornament to rotate relative to the finger or wrist in the three-dimensional model of the wearing hand.
    根据权利要求1所述的手部虚拟饰品试戴的人机交互方法,其特征在于,在导入所述饰品三维模型之后,所述方法还包括:The method for human-computer interaction of the hand-crafted virtual accessory according to claim 1, wherein after the introduction of the three-dimensional model of the accessory, the method further comprises:
    接收所述深度传感器在其感知空间内获取的手部的深度信息;Receiving depth information of the hand acquired by the depth sensor in its sensing space;
    基于所述手部的深度信息,分析所述手部对应的手势;And analyzing the gesture corresponding to the hand based on the depth information of the hand;
    基于手势控制所述饰品三维模型的选择、缩放、移动或旋转。The selection, scaling, movement or rotation of the three-dimensional model of the ornament is controlled based on the gesture.
    手部虚拟饰品试戴的人机交互系统,其特征在于,包括深度传感器、导入单元、显示单元、物理引擎和控制单元;A human-computer interaction system in which a hand virtual jewelry is tried, characterized in that it comprises a depth sensor, an introduction unit, a display unit, a physics engine and a control unit;
    所述导入单元,用于导入手部三维模型和饰品三维模型; The introduction unit is configured to introduce a three-dimensional model of the hand and a three-dimensional model of the jewelry;
    所述深度传感器,用于在其感知空间内获取手部的深度信息;The depth sensor is configured to acquire depth information of the hand in the sensing space thereof;
    所述控制单元,用于将所述饰品三维模型显示于所述手部三维模型的指定位置上;并接收和基于手部的深度信息,调用所述物理引擎调整所述手部三维模型和所述饰品三维模型的显示;The control unit is configured to display the three-dimensional model of the accessory on a specified position of the three-dimensional model of the hand; and receive and based on the depth information of the hand, invoke the physics engine to adjust the three-dimensional model and the hand The display of the three-dimensional model of the ornament;
    所述物理引擎,用于模拟所述手部三维模型和所述饰品三维模型之间的摩擦和碰撞;The physics engine is configured to simulate friction and collision between the three-dimensional model of the hand and the three-dimensional model of the accessory;
    所述显示单元,用于显示所述手部三维模型和所述饰品三维模型。The display unit is configured to display the three-dimensional model of the hand and the three-dimensional model of the accessory.
    根据权利要求11所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述系统还包括构建单元和设置单元;所述构建单元,用于在所述导入单元导入所述手部三维模型和所述饰品三维模型之前,构建所述手部三维模型和所述饰品三维模型;The human-computer interaction system of the hand virtual jewelry fitting according to claim 11, wherein the system further comprises a building unit and a setting unit; the building unit is configured to import the hand in the importing unit Before the three-dimensional model and the three-dimensional model of the ornament, constructing the three-dimensional model of the hand and the three-dimensional model of the accessory;
    所述设置单元,设置所述手部三维模型和所述饰品三维模型的属性,并分别在所述手部三维模型和所述饰品三维模型上设置碰撞器,并设定碰撞器的碰撞条件,和建立所述手部三维模型与所述饰品三维模型的参数。The setting unit sets the three-dimensional model of the hand and the attribute of the three-dimensional model of the accessory, and respectively sets a collider on the hand three-dimensional model and the three-dimensional model of the accessory, and sets a collision condition of the collider, And establishing parameters of the hand three-dimensional model and the three-dimensional model of the accessory.
    根据权利要求12所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述构建单元构建的手部三维模型包括手部模型和和所述手部模型中的骨骼模型,所述控制单元接收所述深度传感器在其感知空间内获取的手部的深度信息,并基于获取的手部的深度信息,得到手部的骨骼信息;所述构建单元关联所述骨骼信息与所述骨骼模型,构建出所述手部的手部三维模型;其中,所述骨骼信息包括手腕、手掌和各手指的骨骼宽度信息和骨骼长度信息。The human-computer interaction system of the hand virtual jewelry fitting according to claim 12, wherein the hand three-dimensional model constructed by the building unit comprises a hand model and a skeleton model in the hand model, The control unit receives the depth information of the hand acquired by the depth sensor in the sensing space thereof, and obtains the bone information of the hand based on the acquired depth information of the hand; the building unit associates the skeleton information with the The skeleton model constructs a three-dimensional model of the hand of the hand; wherein the bone information includes bone width information and bone length information of the wrist, the palm, and each finger.
    根据权利要求13所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述构建单元关联所述骨骼信息与所述骨骼模型,具体为:The human-computer interaction system of the hand virtual jewelry fitting according to claim 13, wherein the building unit associates the skeleton information with the skeleton model, specifically:
    所述构建单元基于所述骨骼信息,拉伸或者收缩所述骨骼模型的 尺寸。The building unit stretches or contracts the skeleton model based on the bone information size.
    根据权利要求13所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述控制单元将所述饰品三维模型显示于所述手部三维模型的指定位置上之后,所述控制单元还用于:基于所述骨骼信息,调整所述饰品三维模型的尺寸。The human-computer interaction system of the hand virtual jewelry fitting according to claim 13, wherein the control unit displays the three-dimensional model of the accessory on the designated position of the hand three-dimensional model, the control The unit is further configured to: adjust a size of the three-dimensional model of the accessory based on the bone information.
    根据权利要求12所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述控制单元调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,具体为:The human-computer interaction system of the hand virtual jewelry fitting according to claim 12, wherein the control unit calls the physics engine to adjust the display of the hand three-dimensional model and the three-dimensional model of the accessory, specifically:
    根据所述手部的深度信息的变化,同步所述手部三维模型的显示;Synchronizing the display of the three-dimensional model of the hand according to the change of the depth information of the hand;
    调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型与所述手部三维模型同步显示。The physics engine is invoked to simulate friction and collision between the hand three-dimensional model and the jewelry three-dimensional model, so that the jewelry three-dimensional model is displayed synchronously with the hand three-dimensional model.
    根据权利要求12所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述构建单元构建的手部三维模型包括佩戴手三维模型和交互手三维模型;The human-computer interaction system of the hand virtual jewelry fitting according to claim 12, wherein the hand three-dimensional model constructed by the building unit comprises a three-dimensional model of wearing a hand and a three-dimensional model of an interactive hand;
    则所述控制单元基于所述手部的深度信息,调用物理引擎调整所述手部三维模型和所述饰品三维模型的显示,具体为:Then, the control unit calls the physics engine to adjust the display of the three-dimensional model of the hand and the three-dimensional model of the accessory based on the depth information of the hand, specifically:
    基于所述手部的深度信息,判断所述佩戴手三维模型的状态是否发生变化;若否,Determining whether the state of the three-dimensional model of the wearing hand changes based on the depth information of the hand; if not,
    基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相互运动;Determining, according to the depth information of the hand, whether the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand have mutual motion;
    若是,向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述手部三维模型移动。If yes, applying a force to the three-dimensional model of the ornament, and calling the physics engine to simulate friction and collision between the three-dimensional model of the hand and the three-dimensional model of the accessory, so that the three-dimensional model of the accessory is compared with the three-dimensional model of the hand mobile.
    根据权利要求17所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述控制单元基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相对运动,具体为: 基于所述手部的深度信息,得到所述佩戴手三维模型中手指或手腕的方向信息;The human-computer interaction system of the hand virtual jewelry fitting according to claim 17, wherein the control unit determines the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand based on the depth information of the hand Whether there is relative movement, specifically: Obtaining direction information of a finger or a wrist in the three-dimensional model of the wearing hand based on the depth information of the hand;
    判断所述交互手三维模型是否相对于所述佩戴手三维模型中手指或手腕的方向平移移动;若是,则Determining whether the interactive hand three-dimensional model is translationally moved relative to a direction of a finger or a wrist in the three-dimensional model of the wearing hand; if yes,
    向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述佩戴手三维模型中手指或手腕上的方向平移移动。Applying force to the three-dimensional model of the ornament, and calling the physics engine to simulate friction and collision between the three-dimensional model of the hand and the three-dimensional model of the accessory, so that the three-dimensional model of the accessory is opposite to the finger in the three-dimensional model of the wearing hand Or move in the direction of the wrist.
    根据权利要求17所述的手部虚拟饰品试戴的人机交互系统,其特征在于,所述控制单元基于所述手部的深度信息,判断所述佩戴手三维模型与所述交互手三维模型是否存在相对运动,具体为:基于所述手部的深度信息,得到所述佩戴手三维模型中手指或手腕的方向信息;The human-computer interaction system of the hand virtual jewelry fitting according to claim 17, wherein the control unit determines the three-dimensional model of the wearing hand and the three-dimensional model of the interactive hand based on the depth information of the hand Whether there is relative motion, specifically: obtaining direction information of a finger or a wrist in the three-dimensional model of the wearing hand based on the depth information of the hand;
    判断所述交互手三维模型是否相对于所述佩戴手三维模型中的手指或手腕进行旋转;若是,则Determining whether the interactive hand three-dimensional model is rotated relative to a finger or a wrist in the wearing hand three-dimensional model; if yes,
    向所述饰品三维模型施力,并调用所述物理引擎模拟所述手部三维模型与所述饰品三维模型之间的摩擦和碰撞,使得所述饰品三维模型相对所述佩戴手三维模型中手指或手腕旋转。Applying force to the three-dimensional model of the ornament, and calling the physics engine to simulate friction and collision between the three-dimensional model of the hand and the three-dimensional model of the accessory, so that the three-dimensional model of the accessory is opposite to the finger in the three-dimensional model of the wearing hand Or the wrist rotates.
    根据权利要求11所述的手部虚拟饰品试戴的人机交互系统,其特征在于,在所述导入单元导入所述饰品三维模型之后,所述控制单元还用于:The human-computer interaction system of the virtual hand-stitched hand-picked according to claim 11, wherein after the importing unit imports the three-dimensional model of the accessory, the control unit is further configured to:
    接收所述深度传感器在其感知空间内获取的手部的深度信息;Receiving depth information of the hand acquired by the depth sensor in its sensing space;
    基于所述手部的深度信息,分析所述手部对应的手势;And analyzing the gesture corresponding to the hand based on the depth information of the hand;
    基于手势控制所述饰品三维模型的选择、缩放、移动或旋转。 The selection, scaling, movement or rotation of the three-dimensional model of the ornament is controlled based on the gesture.
PCT/CN2015/078927 2015-05-14 2015-05-14 Human-computer interaction method and system for trying on virtual hand accessory WO2016179819A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078927 WO2016179819A1 (en) 2015-05-14 2015-05-14 Human-computer interaction method and system for trying on virtual hand accessory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/078927 WO2016179819A1 (en) 2015-05-14 2015-05-14 Human-computer interaction method and system for trying on virtual hand accessory

Publications (1)

Publication Number Publication Date
WO2016179819A1 true WO2016179819A1 (en) 2016-11-17

Family

ID=57248424

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078927 WO2016179819A1 (en) 2015-05-14 2015-05-14 Human-computer interaction method and system for trying on virtual hand accessory

Country Status (1)

Country Link
WO (1) WO2016179819A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113496168A (en) * 2020-04-02 2021-10-12 百度在线网络技术(北京)有限公司 Sign language data acquisition method, sign language data acquisition equipment and storage medium
WO2024051063A1 (en) * 2022-09-09 2024-03-14 阿里巴巴(中国)有限公司 Information display method and apparatus and electronic device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256655A (en) * 2007-02-28 2008-09-03 尹红伟 Real human body three-dimensional tridimensional virtual fitting system
US20120331422A1 (en) * 2011-06-22 2012-12-27 Gemvision Corporation, LLC Custom Jewelry Configurator
CN103514350A (en) * 2012-06-27 2014-01-15 富泰华工业(深圳)有限公司 Electronic device with virtual fit function and virtual fit method
CN103530903A (en) * 2013-10-28 2014-01-22 智慧城市系统服务(中国)有限公司 Realizing method of virtual fitting room and realizing system thereof
CN104091269A (en) * 2014-06-30 2014-10-08 京东方科技集团股份有限公司 Virtual fitting method and virtual fitting system
CN104820498A (en) * 2015-05-14 2015-08-05 周谆 Man-machine interactive method and system for trying on virtual hand accessories

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101256655A (en) * 2007-02-28 2008-09-03 尹红伟 Real human body three-dimensional tridimensional virtual fitting system
US20120331422A1 (en) * 2011-06-22 2012-12-27 Gemvision Corporation, LLC Custom Jewelry Configurator
CN103514350A (en) * 2012-06-27 2014-01-15 富泰华工业(深圳)有限公司 Electronic device with virtual fit function and virtual fit method
CN103530903A (en) * 2013-10-28 2014-01-22 智慧城市系统服务(中国)有限公司 Realizing method of virtual fitting room and realizing system thereof
CN104091269A (en) * 2014-06-30 2014-10-08 京东方科技集团股份有限公司 Virtual fitting method and virtual fitting system
CN104820498A (en) * 2015-05-14 2015-08-05 周谆 Man-machine interactive method and system for trying on virtual hand accessories

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113496168A (en) * 2020-04-02 2021-10-12 百度在线网络技术(北京)有限公司 Sign language data acquisition method, sign language data acquisition equipment and storage medium
WO2024051063A1 (en) * 2022-09-09 2024-03-14 阿里巴巴(中国)有限公司 Information display method and apparatus and electronic device

Similar Documents

Publication Publication Date Title
CN104820498B (en) The man-machine interaction method and system that the virtual ornaments of hand are tried on
US11164381B2 (en) Clothing model generation and display system
JP6906580B6 (en) Viewport-based augmented reality tactile effects systems, methods and non-transitory computer-readable media
US9911243B2 (en) Real-time customization of a 3D model representing a real product
CA2675999C (en) System and method for the interactive display of data in a motion capture environment
CN116324703A (en) Method for interacting with virtual controls and/or affordances for moving virtual objects in a virtual environment
US20160196694A1 (en) System and method for controlling immersiveness of head-worn displays
US20240004513A1 (en) Devices, Methods, and Graphical User Interfaces for Providing Computer-Generated Experiences
TW202101172A (en) Arm gaze-driven user interface element gating for artificial reality systems
CN108259496A (en) The generation of special efficacy program file packet and special efficacy generation method and device, electronic equipment
CN109690447A (en) Information processing method, for making computer execute the program and computer of the information processing method
WO2019020608A1 (en) Method and system for providing virtual reality experience based on ultrasound data
KR20220018561A (en) Artificial Reality Systems with Personal Assistant Element for Gating User Interface Elements
KR20220018562A (en) Gating Edge-Identified Gesture-Driven User Interface Elements for Artificial Reality Systems
US20110080273A1 (en) Sensation Presenting System and Sensation Presenting Device
WO2016123769A1 (en) Human interaction method and system for trying on virtual accessory
WO2016179819A1 (en) Human-computer interaction method and system for trying on virtual hand accessory
US11720171B2 (en) Methods for navigating user interfaces
Caruso et al. Interactive augmented reality system for product design review
KR102009400B1 (en) Method for providing realistic type image contents and server using the same
KR20230037054A (en) Systems, methods, and graphical user interfaces for updating a display of a device relative to a user's body
JP2018094396A (en) Apparatus and method for reversibly modifying optical appearance of piece of apparel
JP2022025461A (en) Animation creation system
US20230093979A1 (en) Devices, methods, and graphical user interfaces for content applications
CN108885523A (en) Information processing equipment, display control method and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15891522

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15891522

Country of ref document: EP

Kind code of ref document: A1