openpose_unity_plugin icon indicating copy to clipboard operation
openpose_unity_plugin copied to clipboard

How to Use Custom Input and Output Class in Unity?

Open pavchavan opened this issue 5 years ago • 5 comments

How to Use the Custom Datum ,Input and Output class for the OpenPose in Unity?

Please some one Help me with this? Explain how to achieve this using unity plug in..

pavchavan avatar Feb 18 '19 05:02 pavchavan

The struct Datum is transformed from openpose op::Datum, where the full explanation can be found.

In Unity, the usage can be found in OpenPoseUserScript as an example.

ZiuTinyat avatar Feb 18 '19 05:02 ZiuTinyat

Thank you for the Reply,

but i am confused how to create Custom Datum and Custom Input Class and Set it as Worker for the Openpose Wrapper?

pavchavan avatar Feb 18 '19 06:02 pavchavan

In this Unity plugin, we cannot have custom Datum for OpenPose.

One way you can try is to build your own OpenPose dll (with UnitySupport flag on, and your custom Datum) and come back to Unity using your dll.

That way you may need to modify OPBind, OPWrapper and Datum to fit your dll.

ZiuTinyat avatar Feb 20 '19 00:02 ZiuTinyat

Thank you Sure . i will try that and Update here.

pavchavan avatar Feb 20 '19 04:02 pavchavan

@pavchavan No results to share yet?

JalalJaberi avatar May 07 '19 23:05 JalalJaberi