@skeldepth attribute
![:electric_plug: :electric_plug:](https://github.githubassets.com/images/icons/emoji/unicode/1f50c.png)
dp.kinect2
-
signature
skeldepth INT
-
values
0
- off default
1
- output joints in depthmap coordinates
-
examples
@skeldepth 1
Skeleton joint output from the fifth outlet in depthmap coordinates.
This output does not provide orientation.
Output format (native Max messages, OSC protocol, etc.) is determined by
@skeletonformat
.
# @skeletonformat 0
/skeldepth/playerId/jointname column row depth confidence
# @skeletonformat 1
skeldepth playerId jointname column row depth confidence
-
playerId
,jointname
, andconfidence
are the same as@skeleton
output -
column, row
are integers that represent the column and row in the depthmap image -
depth
is z-depth at that pixel in units chosen by@distmeter
Examples
# @skeletonformat 0 @distmeter 0
/skeldepth/2/r_shoulder 105 342 3712 0.5
# @skeletonformat 1 @distmeter 1
skeldepth 2 r_shoulder 105 342 3.712 0.5