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

@type attribute

:electric_plug: dp.kinect dp.kinect2 dp.kinect3 dp.oak
:information_source: signature
:house: values
signed integer default
32-bit floating point
64-bit floating point
:bulb: examples
@type float32

Depthmap value in signed integer, 32-bit float, or 64-bit float. This type combined with @depthmap together define the exact memory layout of depth data. The values for depth are affected by @distmeter and some combinations may not be useful.

  • long values are signed integers; 32-bit with Max 32-bit, 64-bit with Max 64-bit
  • float32 and float64 values [0.0…1.0] are for computation efficiency; not increased accuracy

The plugin can convert sensor data to supported types efficiently. Consider how the data is later consumed to choose the best data type.