openpose_unity_plugin
openpose_unity_plugin copied to clipboard
Its not an issue but Please don't mind.
I really appreciate your work.
I would like to you to thankyou peoples for free support.
I'm a student of computer science and working on a college project can you people guide me on how can we achieve that following thing?
How can I find key point number lists (like knee=keypoint1, leftshoulder=keypoint2, etc..) and after finding these key points number, I want to find angles between key points?
Is that possible that we can calculate the angle between the 2 bones with the help of your unity plugin like that in the following image:
Use Vector3.Angle
to get the angle between two vectors in [0,pi],then use Vector3.Cross
get the direction of the rotation.
Vector3 v1 = i1-i2
Vector3 v2 = i3-i2
float alpha = Vector3.Angle(v1,v2) //get the angle between two vectors
Vector3 cross_data = Vector3.Cross(v,1v2) //get the direction
final_theta = Mathf.sign(cross_data.z)*alpha