Skip to main content Link Search Menu Expand Document (external link)

skeltodepth method

:electric_plug: dp.kinect2
:information_source: signature
skeltodepth X Y Z [X Y Z...]
:house: values
:bulb: examples
skeltodepth 150 100 2.4

Transform real-world XYZ coordinates to depth UVZ coordinates where U is column, V is row, and Z is depth. The result is affected by the values of: @distmeter, @flipx, @align, @position, @quat, @rotate, @rotatexyz, and @scale.


# single real-world coordinate
skeltodepth -1.1 0.4 2.4    <- one XYZ real-world coordinate sent to inlet
skeltodepth 150 100 2.4     <- one UVZ depth coordinate received from outlet

# multiple real-world coordinates
skeltodepth -1.1 0.4 2.4 3.1 5.0 3.7  <- multiple XYZ real-world coordinates sent to inlet
skeltodepth 150 100 2.4 350 28 3.7    <- multiple UVZ depth coordinates received from outlet