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

@playermap attribute

:electric_plug: dp.kinect dp.kinect2 dp.kinect3
:information_source: signature
playermap PLAYEROUT_INT
:house: values
0
no playermap output default
1
playermap output
:bulb: examples
@playermap 1

Player indices for each pixel output on the fourth outlet. Pixels are a signed integer and align with the identical (row, column) pixel in other matrices. This integer is the same playerID that is used throughout the plugin data to uniquely identify skeletons seen by the sensor.

This playermap can be used to mask and filter matrix data. A common use is to mask the depthmap, colormap, or pointcloud based on skeletons detected. This can be done automatically using @onlyplayers.

The depthmap, IR, playermap, and pointcloud matrices align with each other by default. Use @align to also align and match the color data.

:memo: dp.kinect requires @depthmap 2 to calculate this playermap.