Azure-Kinect-Sensor-SDK icon indicating copy to clipboard operation
Azure-Kinect-Sensor-SDK copied to clipboard

Body tracking converted to screen coordinates

Open TomitaTseng opened this issue 5 years ago • 4 comments

I'm sorry to bother you.

I use C# for program development. I want to convert body tracking to screen coordinates.

How to draw a point on the screen after getting the position coordinates of the Head joint.

Could you please tell me, thank you very much.

TomitaTseng avatar Nov 11 '20 23:11 TomitaTseng

Look at the body tracking viewer sample code here.

qm13 avatar Nov 12 '20 19:11 qm13

Thank you for your guidance I use C# for program development. Are there any C# examples? Could you please tell me, thank you very much.

TomitaTseng avatar Nov 12 '20 22:11 TomitaTseng

Just look into the API Reference: TransformTo2D

RoseFlunder avatar Nov 12 '20 22:11 RoseFlunder

Just look into the API Reference: [TransformTo2D]

Thank you for your guidance. I tested TransformTo2D to convert the screen's x and y coordinates, but the coordinate error is large. Is there a C# program example for TransformTo2D? Could you please tell me, thank you very much.

TomitaTseng avatar Nov 16 '20 03:11 TomitaTseng