Skeleton correction method for avatar, virtual reality system, and computer readable medium

The method and system enhance VR full-body tracking by fusing sensor and image-based skeletal information, addressing camera limitations and improving immersion and realism.

JP2024155679AActive Publication Date: 2024-10-31WISTRON CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2023159292
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-20
Filing Date
2023-09-23
Publication Date
2024-10-31
Estimated Expiration
2043-09-23

AI Technical Summary

Technical Problem

Current VR HMDs struggle to accurately track the full body of a user, limiting immersion and realism in virtual environments due to camera limitations and the complexity or cost of existing tracking technologies.

Method used

A method and system that utilizes image-based and sensor-based skeletal information fusion to estimate and correct the position of avatar joints, combining sensor data with image processing to enhance tracking accuracy and realism.

Benefits of technology

Improves the accuracy and realism of full-body tracking in VR environments by fusing sensor and image-based skeletal information, enhancing the user's immersive experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155679000001_ABST
    Figure 2024155679000001_ABST
Patent Text Reader

Abstract

To provide a skeleton correction method for an avatar, a virtual reality system, and a computer readable medium for improving tracking accuracy of a skeleton.SOLUTION: In this method, first skeleton information is acquired. A first type joint of the first skeleton information is estimated based on a second type joint. Second skeleton information is acquired. First and second type joints of the second skeleton information are determined based on an image. The first skeleton information is compared with the second skeleton information to acquire a comparison result. The first skeleton information and the second skeleton information are merged based on the comparison result, and a position of the first type joint of the first skeleton information is corrected.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to virtual reality (VR) technology, and in particular to an avatar skeleton correction method, a virtual reality system, and a computer-readable medium. [Background technology]

[0002] With the rapid development of science and technology, metaverse-related products are available everywhere, and VR head-mounted displays (HMDs) are becoming increasingly popular as the entry interface of the metaverse. By wearing a VR HMD, users can immerse themselves in the virtual world. However, the "immersion" that HMDs bring is limited to the user's vision and hearing. In other words, most users only experience immersion with their upper body, not their whole body.

[0003] When a user puts on a VR HMD and enters a VR social platform, they need to create an avatar that represents themselves. However, current technology can only display the upper body of the virtual avatar. The camera in a VR HMD can track the position of the head and hands to estimate the position of the arms and chest, but the VR HMD does not know the position of the user's feet, so the tracking range is limited. For example, the abdomen or other obstacles may block the camera's view, and when the user tilts or rotates his or her head, the camera cannot capture the lower body. To solve this problem, current VR HMD positioning technologies can be divided into two types: outside-in and inside-out.

[0004] Outside-in technology can provide more accurate and extensive tracking effects, but the system is complex and expensive, and is usually suitable for enterprises. For example, the tracker attached to the limb or object (e.g., tennis racket) needs to be equipped with a positioning device, so the system is complex and inefficient. Currently, full-body motion capture suits are being developed. This suit can achieve excellent motion capture effects, but it is expensive.

[0005] Inside-out technology can provide a positioning method without the need for a positioning device, so it is more suitable for everyday entertainment and moving scenes, and the system is simpler and less costly as the usage opportunities increase. However, the effect of motion capture is not accurate. Nevertheless, companies have found solutions. For example, the movement of other parts can be estimated based on the head movement detected by the HMD. However, it is still impossible to accurately estimate all the movements of a particular user, and as a result, the movements reproduced by the avatar look unnatural. In addition, a certain amount of resources is required to collect a large amount of walking pattern data.

[0006] In order to popularize VR social networking and promote VR, it is necessary to make VR easier to use and present more realistic looking physical performances. Summary of the Invention [Problem to be solved by the invention]

[0007] SUMMARY OF THE DISCLOSURE Embodiments of the present invention provide a method for avatar skeletal correction, a virtual reality system, and a computer-readable medium, and provide a new system architecture for improved tracking capabilities. [Means for solving the problem]

[0008] A method for correcting an avatar's skeleton in one embodiment of the present invention includes the steps of acquiring first skeletal information and estimating first type joints of the first skeletal information based on second type joints, acquiring second skeletal information and determining the first type joints and second type joints of the second skeletal information based on an image, comparing the first skeletal information and the second skeletal information to obtain a comparison result, and fusing the first skeletal information and the second skeletal information based on the comparison result to correct the positions of the first type joints of the first skeletal information (however, the present invention is not limited to this).

[0009] A virtual reality system in an embodiment of the present invention includes an imaging device, a sensor, and a processor (although the present invention is not limited thereto). The imaging device is configured to capture an image. The sensor is configured to detect a motion state. The processor communicates with the imaging device and the sensor. The processor is configured to execute the steps of acquiring first skeletal information, estimating a first type joint of the first skeletal information based on a second type joint, and determining the second type joint of the first skeletal information based on the sensor data, acquiring second skeletal information, determining the first type joint and the second type joint of the second skeletal information based on an image, comparing the first skeletal information with the second skeletal information to obtain a comparison result, and fusing the first skeletal information with the second skeletal information based on the comparison result to correct the position of the first type joint of the first skeletal information.

[0010] A non-transitory computer-readable medium in an embodiment of the present invention loads program code through a processor, and executes the steps of acquiring first skeletal information and estimating a first type joint of the first skeletal information based on a second type joint; acquiring second skeletal information and determining the first type joint and the second type joint of the second skeletal information based on an image; comparing the first skeletal information and the second skeletal information to obtain a comparison result; and fusing the first skeletal information and the second skeletal information based on the comparison result, and correcting the position of the first type joint of the first skeletal information. Effect of the Invention

[0011] As described above, the avatar skeleton correction method, virtual reality system, and computer-readable medium in the embodiments of the present invention compare skeleton information based on sensory data with skeleton information based on images, and modify the skeleton information based on the comparison result.

[0012] In order to make the above features and advantages of the present invention more comprehensible, specific examples accompanied with the accompanying drawings are described in detail below. [Brief description of the drawings]

[0013] [Figure 1] FIG. 1 is a block diagram of components of a virtual reality system according to one embodiment of the present invention. [Diagram 2] 1 is a flowchart of an avatar skeleton correction method according to an embodiment of the present invention. [Diagram 3] FIG. 1 is a schematic diagram of a skeletal joint according to one embodiment of the present invention. [Figure 4] 4 is a flowchart of a method for obtaining first skeleton information according to an embodiment of the present invention. [Diagram 5] 1 is a flowchart for determining a lower body skeleton according to one embodiment of the present invention. [Figure 6] 1 is a flowchart for comparing skeleton information according to an embodiment of the present invention. [Figure 7] FIG. 2 is a schematic diagram of cosine similarity according to one embodiment of the present invention; [Figure 8] FIG. 2 is a schematic diagram of coordinate system transformation according to one embodiment of the present invention. [Figure 9A] FIG. 1 is a schematic diagram of a T-pose according to one embodiment of the present invention. [Figure 9B] FIG. 1 is a schematic diagram of the Phi pose according to one embodiment of the present invention. [Figure 10] 4 is a flow chart of correction determination according to one embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0014] 1 is a block diagram of components of a virtual reality system 1 according to one embodiment of the present invention. Referring to FIG. 1, the virtual reality system 1 includes a mobile device 10 and a virtual reality device 20 (although the present invention is not limited thereto).

[0015] The mobile device 10 may be a smartphone, a tablet computer, a notebook computer, an intelligent assistant device, or a wearable device.

[0016] The mobile device 10 includes an imager 11, a communication transceiver 12, a memory 13, and a processor 14 (although the invention is not so limited).

[0017] The imaging device 11 may be a camera or a video camera. In one embodiment, the imaging device 11 is configured to capture an image within a specified field of view. In one application scenario, the imaging device 11 takes a picture of a user wearing or holding a virtual reality device 20, a wearable device, or a sensor.

[0018] The communication transceiver 12 may support, for example, fourth generation (4G) or other generation mobile communications, Wi-Fi, Bluetooth, infrared, radio frequency identification (RFID), Ethernet, fiber optic networks, or may be a universal serial bus (USB), Thunderbolt, or other communication transmission interface. In one embodiment, the communication transceiver 12 is configured to transmit and receive data to and from other electronic devices (e.g., virtual reality device 20, a wearable device, or a sensor).

[0019] Memory 13 may be any type of fixed or removable random access memory (RAM), read-only memory (ROM), flash memory, hard disk drive (HDD), solid-state drive (SSD), or similar component. In one embodiment, memory 13 is configured to store program code, software modules, configurations, data (e.g., images, skeletal information, sensory data, etc.), or files, an embodiment of which is described in more detail below.

[0020] The processor 14 is connected to the imaging device 11, the communication transceiver 12, and the memory 13. The processor 14 may be a central processing unit (CPU), a graphic processing unit (GPU), or other programmable general-purpose or special-purpose microprocessor, a digital signal processor (DSP), a programmable controller, a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), a neural network accelerator, or other similar components, or a combination thereof. In one embodiment, the processor 14 is configured to perform all or part of the operations of the mobile device 10, and can load and execute various program codes, software modules, files, and data stored in the memory 13. In some embodiments, the functions of the processor 14 can be realized by software or chips.

[0021] The virtual reality device 20 may be a head-mounted display (HMD), a handheld controller, a wearable sensor, a computing computer, or a combination thereof.

[0022] The virtual reality device 20 includes a sensor 21, a communication transceiver 22, a memory 23, and a processor 24 (although the invention is not limited in this respect).

[0023] The sensor 21 may be an image sensor, an inertial sensor, an accelerometer, a gyroscope, a magnetic sensor, a 6-axis or 9-axis motion sensor, etc. In one embodiment, the sensor 21 is configured to detect a motion state and obtains sensing data such as image, intensity, speed, acceleration, direction, etc.

[0024] The implementation and functionality of the communication transceiver 22, memory 23 and processor 24 can be derived from the description of the communication transceiver 12, memory 13 and processor 14, respectively, and therefore will not be repeated here.

[0025] In one embodiment, the processor 24 is configured to perform all or part of the operations of the virtual reality device 20, and can load and execute various program codes, software modules, files, and data (e.g., sensory data, skeletal information, or comparison results) stored in the memory 23. In some embodiments, the functions of the processor 24 can be realized by software or a chip.

[0026] In one embodiment, the sensor 21 can be separate from the body of the virtual reality device 20. In one embodiment, communication between separate devices or components can be achieved via communication transceivers 12 and 22, so that multiple devices and / or components can communicate with each other to complete signal or data transmission. For example, the virtual reality device 20 sends transformation coefficients to the mobile device 10. In another example, the mobile device 10 sends skeletal information to the virtual reality device 20.

[0027] Hereinafter, the method described in the embodiment of the present invention will be described using various devices, parts, and modules of the virtual reality system 1. Each process of the method can be adjusted according to the implementation situation, so the present invention is not limited thereto. It should also be noted that, based on different design requirements, the method described in the embodiment of the present invention can be implemented by one or both of the processor 14 or the processor 24. The processing / analysis / calculation results of the processor 14 and the processor 24 can be transmitted to the other through the communication transceiver 12 and the communication transceiver 22, respectively, and the subsequent steps can be continued based on it. Therefore, the data transmission between the execution body and the two devices will not be described repeatedly.

[0028] 2 is a flow chart of an avatar skeleton correction method according to an embodiment of the present invention. Referring to FIG. 2, the processor 14 / 24 obtains first skeleton information (step S210). Specifically, the first skeleton information includes a first type joint and a second type joint. According to different target objects and application scenarios, the first type joint and the second type joint respectively correspond to different parts or joints of the target object, and the joints can also be called feature points.

[0029] For example, FIG. 3 is a schematic diagram of a skeletal joint according to one embodiment of the present invention. Referring to FIG. 3, for example, taking a human as an example, the processor 14 / 24 can define 33 skeletal joints P0 to P32. The skeletal joint P0 corresponds to the nose, the skeletal joint P1 corresponds to the inside of the right eye, the skeletal joint P2 corresponds to the center of the right eye, the skeletal joint P3 corresponds to the outside of the right eye, and so on, but detailed explanations are omitted here. If the skeletal joints P0 to P32 are divided into the upper body and the lower body, the skeletal joints P25 to P32 can be used as the first type joint FTP, and the skeletal joints P0 to P24 can be used as the second type joint STP. That is, the first type joint FTP corresponds to the lower body, and the second type joint STP corresponds to the upper body.

[0030] It should be noted that the classification of skeletal joints can be further modified according to actual needs. In another embodiment, the skeletal joints can be finger joints or facial key joints. There are also various types of skeletal joints, such as short skeletal joints, elongated skeletal joints, or large skeletal joints. Therefore, the position and number of skeletal joints are not limited to the embodiment shown in FIG. 3.

[0031] The position of the first type joint of the first skeletal information is estimated by the second type joint. The second type joint is determined based on the sensing data of the sensor 21. That is, the sensing result of the sensor 21 is for the second type joint, not for the first type joint. The processor 14 / 24 can directly determine the position of the second type joint based on the sensing result of the sensor 21. For example, the sensing result of the inertial sensor on the HMD can determine the motion information of the head, and based on that, the position of the head and its skeletal joints (e.g., coordinates in three-dimensional space) can be determined. However, the position of the leg or its skeletal joints cannot be determined by directly adopting this motion information.

[0032] FIG. 4 is a flowchart of a method for acquiring first skeletal information according to one embodiment of the present invention. Referring to FIG. 4, the classification of the first type joints and the second type joints is as shown in FIG. 3, for example. The processor 14 / 24 can acquire the position of the head based on the sensing data of the sensor 21 on the HMD (step S410). For example, the angular velocity, acceleration, and magnetic direction acquired by the six-axis sensor determine the position and posture. The processor 14 / 24 can map skeletal joints such as the neck, waist, and spine, for example, the skeletal joints P0-P10 and P23-P24 in FIG. 3, based on the position of the head (step S420).

[0033] Meanwhile, the processor 14 / 24 can obtain the positions of both hands based on the sensing data of the sensor 21 on the handheld controller (step S430), and can map skeletal joints such as arms, shoulders, and elbows, for example, skeletal joints P11 to P22 in FIG. 3, based on the positions of the hands (step S440). The skeletal joints obtained in steps S420 and S440 belong to the second type joints. It should be noted that the above steps take the sensors 21 on the head and both hands as examples, but the sensors 21 may be installed on the legs, chest, or back, and the embodiment of the present invention does not limit the placement position of the sensors 21.

[0034] For mapping of skeletal joints, in one embodiment, the processor 14 / 24 can determine the positions of one or more skeletal joints based on a predetermined reference position (of a parent node) and inverse kinematics (IK). A parent-child hierarchy between skeletal joints can form a body part, e.g., arm, head, neck, etc. Using IK, the motion trajectories of various body parts can be defined and limits can be set to ensure the consistency of the motion trajectories on the actual human body, such as curvature, rotation angle, etc. The predetermined reference position can be provided or determined via the sensory data of the sensor 21. Similarly, the processor 14 / 24 can estimate the positions of the shoulders, upper body, head, and other parts based on IK, but detailed description is omitted here.

[0035] Next, the processor 14 / 24 can determine the first type joints (step S450). Specifically, FIG. 5 is a flowchart for determining the skeleton of the lower body according to one embodiment of the present invention. Referring to FIG. 5, the processor 14 / 24 can input the positions of the second type joints into a pose AI model (e.g., BlazePose) or other models related to pose estimation to predict the positions of the first type joints (step S510). Next, the processor 14 / 24 can maintain the feasibility and rationality of the body movement by making a constrained correction to the positions of the first type joints based on IK (step S520), and then determine the positions of the first type joints.

[0036] Referring to Fig. 4, the processor 14 / 24 determines first skeletal information based on the positions of the first type joints and the second type joints (step S460). Taking Fig. 3 as an example, the first skeletal information includes the positions of all skeletal joints P0 to P32 on the body. The processor 14 / 24 can then manipulate the avatar based on the first skeletal information (step S470), so that the pose of the avatar is the same as the first skeletal information.

[0037] However, since the positions of the first type joints are generated by estimation, the accuracy of the positions of the first type joints may be lower than that of the second type joints. To improve the accuracy, the embodiment of the present invention further refers to other skeletal information.

[0038] Referring to FIG. 2, the processor 14 / 24 acquires the second skeletal information (step S220). Specifically, the first type joints and the second type joints in the second skeletal information are determined based on the image of the imaging device 11. The image can capture the first type joints and the second type joints. For example, the field of view of the imaging device 11 includes the entire body of the person. For image-based positioning, the processor 14 / 24 can acquire the positions of the first type joints and the second type joints by identifying the positions of the skeletal joints in the image using machine learning techniques (e.g., deep learning, artificial neural network (ANN), or support vector machine (SVM)). For example, a pose AI model can be utilized to infer the position in space of the object in the image. However, there are many image-based positioning techniques, and therefore are not limited to the embodiments of the present invention.

[0039] Referring to FIG. 2, the processor 14 / 24 compares the first skeletal information with the second skeletal information to generate a comparison result (step S230). Specifically, the second skeletal information obtained based on an image may be misrecognized, so the position of the second type joint in the first skeletal information may be more accurate than the position of the second type joint in the second skeletal information. To verify whether the second skeletal information can be used as a reference, the first skeletal information may be compared to whether it is consistent with the second skeletal information. That is, the consistency between the two skeletal information is verified.

[0040] In one embodiment, the processor 14 / 24 can obtain a first spatial position of the second type joint from the first skeletal information, and obtain a second spatial position of the second type joint from the second skeletal information. The first and second spatial positions can be coordinates or relative positions, that is, positions of the skeletal joints. The relevant description of steps S210 and S220 has already been provided, so it will not be repeated here. Then, the processor 14 / 24 can compare the first and second spatial positions. That is, it compares whether the first and second spatial positions are consistent. Since the position of the second type joint in the first skeletal information is more accurate than the first type joint, the position of the second type joint in the first skeletal information can be used as a reference to determine whether the two skeletal information are consistent or consistent with each other.

[0041] The second type joint includes one or more target joints. The target joints are, for example, left / right hands, left / right feet, heads, or other feature points. The above-mentioned comparison is a comparison between the spatial positions of the target joints. FIG. 6 is a flowchart when comparing skeletal information according to one embodiment of the present invention. Referring to FIG. 6, the processor 14 / 24 determines one or more first connection lines between the reference joints and one or more target joints in the first skeletal information based on the first spatial positions (step S610). The reference joints are, for example, hip joint centers, necks, left / right knees, left / right hip joints, left / right elbows, left / right shoulders, or other skeletal joints. The first connection lines are connections between the reference joints and one or more target joints in the first skeletal information, for example, connection lines from the hip joint centers to the hands and heads.

[0042] The processor 14 / 24 can determine one or more second connection lines between the reference joint and one or more target joints in the second skeletal information based on the second spatial position (step S620). The second connection lines are connections between the reference joint and one or more target joints of the second skeletal information.

[0043] Next, the processor 14 / 24 may compare the first and second connection lines (step S630), i.e., compare whether the first and second connection lines match or whether the first and second connection lines are consistent.

[0044] In one embodiment, the one or more first connecting lines form one or more first vectors, respectively, and the one or more second connecting lines form one or more second vectors, respectively. Compared with connecting lines, vectors further include directionality, which helps the processor 14 / 24 understand the direction of the connecting lines between multiple joints (corresponding to the direction of the body parts). The processor 14 / 24 can determine a similarity between the first vectors and the corresponding second vectors, and determine whether the first vector of the first skeletal information is consistent with the second vector of the second skeletal information.

[0045] In one embodiment, the processor 12 / 24 can determine the cosine similarity between the first vector and the second vector. Figure 7 is a schematic diagram of the cosine similarity according to one embodiment of the present invention. Referring to Figure 7, the coordinates of the reference joint O are (x0, y0, z0), the coordinates of the target joint A are (x1, y1, z1), and the coordinates of the target joint B are (x2, y2, z2). For example, the first type joint belongs to the lower body, the second type joint belongs to the upper body, the reference joint O is a hip joint center joint, and the target joints A and B may be the left wrist joint, the right wrist joint, or the head joint. The formula of the cosine similarity is as follows:

[0046]

number

[0047] In one embodiment, the processor 14 / 24 can determine a comparison result based on a comparison of one or more first connection lines with one or more corresponding second connection lines. For example, the comparison result is a similarity. In another embodiment, the comparison result may be a difference, a mean square error (MSE), a root-mean-square error (RMSE), or a least-mean-square error (LMSE).

[0048] In one embodiment, the processor 14 / 24 can transform the second skeletal information into the coordinate system to which the first skeletal information belongs. Since the second skeletal information includes positions obtained based on an image, the original positions of the skeletal joints belong to the camera coordinate system. Also, the coordinate systems used by the mobile device 10 and the virtual reality device 20 may be different. To compare the first skeletal information and the second skeletal information, the processor 14 / 24 can perform coordinate system transformation.

[0049] 8 is a schematic diagram of coordinate system transformation according to one embodiment of the present invention. Referring to FIG. 8, the skeletal joints of the second skeletal information belong to a coordinate system C1, and the skeletal joints of the first skeletal information belong to a coordinate system C2. The coordinate P of the skeletal joint of the second skeletal information is (x, y, z). After the skeletal joint P is mapped to the coordinate system C2 by the (coordinate system / base) transformation coefficient R, a new coordinate P' is obtained.

[0050]

number

[0051] r 11 ~r 13 , r 21 ~r 23 , r 31 ~r 33 are the elements of the transform coefficients R in matrix form.

[0052] In one embodiment, the processor 14 / 24 can determine the coordinate correspondence between the first skeletal information and the second skeletal information under the reference pose. The coordinate conversion of the second skeletal information is based on the correspondence of the coordinates. That is, the coordinates on the second skeletal information can be mapped to the coordinate system to which the first skeletal information belongs based on the correspondence between the coordinates. The correspondence between the coordinates is, for example, the above-mentioned (coordinate system / base) conversion coefficient R or other coordinate conversion function. The reference pose is, for example, the T pose or the Phi pose. For example, FIG. 9A is a schematic diagram of the T pose according to one embodiment of the present invention, and FIG. 9B is a schematic diagram of the Phi pose according to one embodiment of the present invention.

[0053] FIG. 9A illustrates a step of determining the correspondence between coordinates. The mobile device 10 or the virtual reality device 20 can prompt the user to assume the T-pose posture shown in FIG. 9A via video or audio. The processor 14 / 24 can define a reference joint (e.g., hip joint center) and a target joint (e.g., head, left hand, and / or right hand). After the processor 14 / 24 obtains the second skeletal information corresponding to the T-pose, it can obtain other second vectors such as hip joint center to head, hip joint center to left hand, and hip joint center to right hand. The processor 14 / 24 can normalize one or more second vectors and determine (coordinate system / base) conversion coefficients based thereon.

[0054]

number

[0055] where I is the identity matrix, v is the product of two vectors, [v] represents the skew-symmetric cross-product matrix, s represents the sine of the angle between the two vectors, and c represents the cosine of the angle between the two vectors.

[0056] It should be noted that in some application scenarios, errors may occur when using machine learning models to infer coordinate points in three-dimensional space. Under such circumstances, the Kabsch algorithm or other algorithms for optimizing rotation matrices can be adopted to search for the optimization of the transformation matrix through multiple sets of vector pairs, and can be extended to more sets of vector pairs according to the computing power. In addition, image-based skeleton information extracts three-dimensional information from two-dimensional images. By using this reference pose to reduce errors caused by optical effects, it is possible to effectively reduce optical errors. However, the reference pose is not limited to the T pose or Phi pose.

[0057] In one embodiment, before comparing the first skeletal information with the second skeletal information, the processor 14 / 24 may determine whether the second skeletal information has undergone coordinate transformation and / or whether coordinate correspondence or (coordinate system / basis) transformation coefficients are present. If the coordinate transformation and / or coordinate correspondence or transformation coefficients are not obtained, the processor 14 / 24 may first perform these operations before comparing the skeletal information.

[0058] Referring to FIG. 2, the processor 14 / 24 merges the first skeletal information and the second skeletal information based on the comparison result, and modifies the position of the first type joint in the first skeletal information (step S240). Specifically, the processor 14 / 24 determines whether to use the second skeletal information to modify the first skeletal information based on the consistency between the first skeletal information and the second skeletal information. In one embodiment, if the comparison result indicates that the comparison between the first connecting line and the corresponding second connecting line is less than a threshold, the processor 14 / 24 can adopt the second skeletal information to modify the first skeletal information. If the comparison result indicates that the comparison between the first connecting line and the corresponding second connecting line is equal to or greater than a threshold, the processor 14 / 24 can reject the second skeletal information.

[0059] The comparison result is exemplified by cosine similarity, and the processor 14 / 24 can compare whether the cosine similarity is smaller than a threshold. If the cosine similarity is smaller than the threshold, the processor 14 / 24 can determine that some skeletal joints in the first skeletal information match the corresponding skeletal joints in the second skeletal information, and can adopt the second skeletal information based on this. If the cosine similarity is equal to or larger than the threshold, the processor 14 / 24 can determine that some skeletal joints in the first skeletal information do not match the corresponding skeletal joints in the second skeletal information, and can deny / reject / ignore the second skeletal information based on this.

[0060] For example, Fig. 10 is a flow chart of correction determination according to one embodiment of the present invention. Referring to Fig. 10, the reference joint is the hip joint center, and the target joints are the head, the right hand, and the left hand. The processor 14 / 24 calculates the cosine distances of the first vector (i.e., the vector from the hip joint center to the head, the vector from the hip joint center to the right hand, and the vector from the hip joint center to the left hand in the first skeletal information) and the second vector (i.e., the vector from the hip joint center to the head, the vector from the hip joint center to the right hand, and the vector from the hip joint center to the left hand in the second skeletal information) (steps S1001, S1002, S1003), and determines whether these cosine distances are smaller than the corresponding thresholds (steps S1004, S1005, S1006).

[0061] Next, the processor 14 / 24 determines whether these cosine distances are all smaller than the corresponding thresholds (step S1007). If these cosine distances are all smaller than the corresponding thresholds, the processor 14 / 24 can determine that some skeletal joints of the first skeletal information match the corresponding skeletal joints of the second skeletal information, and employ the skeletal joints of the second skeletal information to correct or amend the positions of the first type joints in the first skeletal information (e.g., the skeletal joints P25-P32 of the lower body in FIG. 3 or corresponding to the target portion indicated by the other sensor 21) (step S1008). If any one of these cosine distances is equal to or greater than the threshold, the processor 14 / 24 can determine that some skeletal joints of the first skeletal information do not match the corresponding skeletal joints of the second skeletal information, and calculate and simulate the positions of the first type joints (e.g., the skeletal joints P25-P32 of the lower body in FIG. 3 or corresponding to the target portion indicated by the other sensor 21) based on step S450 in FIG. 4 (step S1009). For example, the positions of the skeletal joints in the lower body are predicted via a Pose AI model.

[0062] It should be noted that the steps in Fig. 10 are used only as an example, and different reference joints, target joints, and comparison results may be adopted in other embodiments, such as a vector from the neck to the head, a vector from the left / right knee to the left / right foot, a vector from the left / right hip to the left / right knee, a vector from the left / right elbow to the left / right hand, or a vector from the left / right shoulder to the left / right elbow, etc.

[0063] In fusing / correcting the skeletal information, in one embodiment, the processor 14 / 24 can extend from the first joint in the first skeletal information and correct the position of the second joint in the first skeletal information based on the reference vectors of the first and second joints in the second skeletal information. Specifically, the human skeleton is an articulated structure. Assuming that the first joint is the origin (i.e., the parent node) of the articulated structure, the position of the second joint (i.e., the child node) in the second skeletal information is defined as follows:

[0064]

number

[0065]

number

[0066] In one embodiment, after obtaining the vector, the position where the first joint in the first skeletal information extends outward by a certain distance is the position where the second joint in the first skeletal information is corrected.

[0067]

number

[0068]

number

[0069] If the center of the hip joint is the starting point of the joint structure, the calculation order of the skeletal joints is, for example, 1. left / right hip joint, 2. left / right knee joint, 3. left / right ankle joint, 4. left / right shoulder joint, 5. left / right elbow joint, 6. left / right wrist joint, 7. neck, 8. head. In other words, the parent joints are switched in order based on this order, and the corresponding child joints are determined based on that. In this way, the position of the first type fulcrum and even the position of the second type fulcrum can be corrected. However, the starting point and the order are not limited to this.

[0070] In one embodiment, the processor 14 / 24 can convert the modified / fused skeletal information into avatar body proportions and determine the avatar's pose based thereon.

[0071] In one embodiment, the processor 14 / 24 can determine a length conversion coefficient between the first skeletal information and the second skeletal information in the reference pose. The description of the reference pose can be derived from the description of the conversion coefficient, so a detailed description is omitted here. The processor 14 / 24 can define a comparison connection line. For example, the length from the head (e.g., the midpoint between both ears) to the neck (e.g., the midpoint between both shoulders), the length from the neck to the left / right shoulder, the length from the left / right shoulder to the left / right elbow, the length from the left / right elbow to the left / right wrist, the length from the left / right shoulder to the left / right hip joint, the midpoint of the length from the center of the hip joint (e.g., the midpoint between both hip joints) to the left / right hip joint, the length from the left / right hip joint to the left / right knee joint, and / or the length from the left / right knee joint to the left / right ankle joint. The length conversion coefficient C connect The formula is as follows:

[0072]

number

[0073]

number

[0074] Take the lengths of the four body parts corresponding to the two arms in Figure 9A as an example, these lengths are the length from the left / right shoulder to the left / right elbow, and the length from the left / right elbow to the left / right wrist. The calculation method of the length conversion coefficient is as follows:

[0075]

number

[0076]

number

[0077] In a similar manner, the length conversion coefficients of other comparison lengths can be obtained. In some application scenarios, the mobile device 10 and / or the virtual reality device 20 can further prompt the user to take other reference poses (e.g., Phi poses) so that tracking of a particular comparison length (e.g., elbow-to-wrist length or hip-to-knee length) becomes more accurate.

[0078] In one embodiment, the processor 14 / 24 can determine whether the length conversion factor is present. If the length conversion factor is not present, the user can be guided to assume a reference pose based on which the length conversion factor can be calculated.

[0079] In another embodiment of the present invention, a computer-readable medium is provided for recording a computer program loaded into a processor to execute each step of the above-mentioned bone correction method (the embodiment shown in Figures 2 to 10). The computer program may include a plurality of program codes, and after the processor 14 / 24 loads and executes these program codes, it is possible to achieve the above-mentioned bone correction method and realize the functions of the virtual reality system 1.

[0080] As described above, the avatar skeleton correction method, virtual reality system, and computer-readable medium according to the embodiment of the present invention corrects the skeleton information based on the consistency of two pieces of skeleton information on some skeleton joints, which can improve the accuracy of positioning of human body parts.

[0081] Although the present invention has been disclosed in the above embodiments, these embodiments are not intended to limit the present invention. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. The protection scope of the present invention should be defined by the attached claims. [Industrial Applicability]

[0082] The avatar skeleton correction method, virtual reality system, and computer-readable medium of the present invention can be applied to virtual reality (VR) technology. [Explanation of symbols]

[0083] 1 Virtual reality system 10. Mobile Devices 11 Imaging device 12, 22 Communication transceiver 13, 23 Memory 14, 24 processors 20 Virtual Reality Devices 21 Sensors S210~S240, S410~S470, S510~S520, S610~S630, S1001~S1009 Step P0~P32 Skeletal joints FTP Type 1 joint STP type 2 joint O Reference joint A, B Target joint (x0,y0,z0), (x1,y1,z1), (x2,y2,z2), (x,y,z), P, P' coordinates R conversion factor r 11 ~r 13 , r 21 ~r 23 , r 31 ~r 33 Elements of the conversion coefficients in matrix form C1, C2 target joints

Claims

1. acquiring first skeletal information, in which a first type joint of the first skeletal information is estimated based on a second type joint; acquiring second skeletal information, the first type joints and the second type joints of the second skeletal information being determined based on an image; comparing the first skeletal information with the second skeletal information to obtain a comparison result; fusing the first skeletal information with the second skeletal information based on the comparison result, and modifying the positions of the first type joints in the first skeletal information; A method for correcting avatar bone structure, including:

2. The step of comparing the first skeletal information with the second skeletal information includes: obtaining a first spatial position of the second type joint from the first skeletal information; obtaining a second spatial position of the second type joint from the second skeletal information; comparing the first spatial location and the second spatial location, the second type joint including at least one target joint; Including, The step of comparing the first spatial location and the second spatial location comprises: determining at least one first connection line between a reference joint and the at least one target joint in the first skeletal information based on the first spatial position; determining at least one second connection line between the reference joint and the at least one target joint in the second skeletal information based on the second spatial position; - comparing said at least one first connecting line with said at least one second connecting line, said at least one first connecting line forming at least one first vector and said at least one second connecting line forming at least one second vector; Including, the step of comparing the at least one first connection line with the at least one second connection line comprises: Determining a similarity between the at least one first vector and the at least one second vector, wherein the first type joint belongs to a lower body, the second type joint belongs to an upper body, the reference joint is a hip joint center, the at least one target joint includes a left wrist joint, a right wrist joint and a head joint, and the similarity is a cosine similarity; or The step of comparing the first skeletal information with the second skeletal information includes: determining the comparison result based on the comparison between the at least one first connection line and the at least one second connection line; adopting the second skeleton information to modify the first skeleton information when the comparison result indicates that the comparison between the at least one first connecting line and the at least one second connecting line is less than a threshold value; rejecting the second skeleton information if the comparison result indicates that a comparison between the at least one first connecting line and the at least one second connecting line is greater than or equal to the threshold value; The avatar skeleton correction method according to claim 1 , comprising:

3. a step of fusing the first skeletal information and the second skeletal information based on the comparison result, or a step of extending from the first joint in the first skeletal information and correcting a position of the second joint in the first skeletal information based on reference vectors of the first joint and the second joint in the second skeletal information, wherein a position where the first joint in the first skeletal information extends outward by a certain distance is the position for correcting the second joint in the first skeletal information, the distance is a product of the reference vector in the second skeletal information and a length conversion coefficient, and the length conversion coefficient is a length ratio between the first skeletal information and the second skeletal information; The step of comparing the first skeletal information with the second skeletal information includes: transforming the second skeletal information into a coordinate system to which the first skeletal information belongs; The step of transforming the second skeletal information into the coordinate system to which the first skeletal information belongs includes:

3. The avatar skeleton correction method of claim 1, further comprising a step of determining a coordinate correspondence between the first skeletal information and the second skeletal information in a reference pose, the coordinate transformation of the second skeletal information being based on the coordinate correspondence, and the reference pose being a T pose or a Phi pose.

4. an imaging device configured to capture an image; a sensor configured to detect an operating condition; configured to communicate with the imaging device and the sensor; an operation of acquiring first skeletal information, in which a first type joint of the first skeletal information is estimated based on a second type joint, and the second type joint of the first skeletal information is determined based on sensed data of the sensor; an operation of acquiring second skeletal information, the first type joints and the second type joints of the second skeletal information being determined based on the image; comparing the first skeletal information with the second skeletal information to obtain a comparison result; an operation of combining the first skeletal information and the second skeletal information based on a result of the comparison, and correcting a position of the first type joint of the first skeletal information; A processor configured to execute Virtual reality systems including:

5. Loading the program code through the processor An operation for acquiring first skeletal information, in which a first type joint of the first skeletal information is estimated based on a second type joint; an operation of acquiring second skeletal information, the first type joints and the second type joints of the second skeletal information being determined based on an image; comparing the first skeletal information with the second skeletal information to obtain a comparison result; an operation of combining the first skeletal information and the second skeletal information based on a result of the comparison, and correcting a position of the first type joint of the first skeletal information; A non-transitory computer-readable medium for executing

Citation Information

Patent Citations

  • Information processor and processing method, and program

    JP2009015671A

  • Joint position acquisition device and method

    JP2022061910A

  • Identification program, identification method and information processing device

    JP2022176481A

  • Kinematic analysis method and device

    JP2023035981A

  • Method and apparatus for deriving customized feed recipe based on companion animal information

    KR102336839B1