Human Pose Estimation and 3D posing on Unity: Step 3

Step 3: Moving the particles based on HPE key points

In this step, I try to move the spheres on Unity based on the key points which are come from the MQTT message. For changing the position a game object I will use the transform.position code. In the python code which is run.py (image body estimation) I change the output of the pose_3d because it separates the value x,y,z but I needed the separate the key points value therefore I took the transpose of pose_3d

This gave me the ınduvudally point then I sent this value using mqtt with below codes.


In the Unity side, I receive these value and separate them. After that, I update the position of spheres ;

x0,y0,z0 is the first keypoint ‘s positions address.

Full Code of Unity side is the bellow of this page.

When the start code for image output like these.

Estimation Vectors
3D values of the photo
Unity 3D key points

In next step, I will send real-time values and real-time 3D pose on Unity and communicate these two with the Internet.

FULL CODE C#

 

One thought on “Human Pose Estimation and 3D posing on Unity: Step 3

  1. Hello there,

    My name is Aly and I would like to know if you would have any interest to have your website here at ylmzcmlttn.com promoted as a resource on our blog alychidesign.com ?

    We are in the midst of updating our broken link resources to include current and up to date resources for our readers. Our resource links are manually approved allowing us to mark a link as a do-follow link as well
    .
    If you may be interested please in being included as a resource on our blog, please let me know.

    Thanks,
    Aly

Leave a Reply

Your email address will not be published. Required fields are marked *