meshonline / kinect-openni-bvh-saver

This project is based on OpenNI2, NITE2, and OpenCV2, it will automatically save many skeleton animation clips to bvh files.
MIT License
209 stars 57 forks source link

Convert already saved files to bvh #13

Open kohjun3 opened 8 months ago

kohjun3 commented 8 months ago

Hello, I want to use two Azure Kinect to supplement joint information, and create a bvh file based on the supplemented information.I have a QAnonian value obtained from Azure Kinect, but I'm not sure how I can use it to change it to the Euler angle used by the bvh file.The stored data I have is as follows.

Joint 0: Position(268.236115, -157.712402, 2427.859375), Orientation(0.413214, -0.504269, 0.703975, -0.281754), Confidence: 2 Joint 1: Position(247.701263, -313.107239, 2386.042725), Orientation(0.385435, -0.58872, 0.635684, -0.317418), Confidence: 2 ...... Joint 30: Position(142.640549, -796.591797, 2293.299072), Orientation(0.323261, 0.000664, 0.945807, 0.030828), Confidence: 2 Joint 31: Position(188.568863, -777.496338, 2401.559326), Orientation(0.250379, -0.668318, 0.669256, -0.206781), Confidence: 2

How can I use this information for bvh format?