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

Step 2: Communicate between Unity and Python using MQTT

In Step 1 of this series run the code for human body pose estimation and find the key points of the body. In this step, we send this key points on the internet. Firstly, we must create the broker(server) of the MQTT system. I am using Node.js for MQTT server but you can use any other languages.

Server.js (Broker) code

Client sides of this communication are python and C# therefore we must prepare two code for sending and receiving the messages. On the python side I use this code for sending the messages.

In the C#

I will use these example codes for the making connection. Human Body Estimation Code is pretty long so that I share this example codes.

Leave a Reply

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