@type attribute
🔌dp.kinect dp.kinect2 dp.kinect3 dp.oak
- signature
type TYPE_STRING- values
long- signed integer default
float32- 32-bit floating point
float64- 64-bit floating point
- 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.
-
longvalues are signed integers; 32-bit with Max 32-bit, 64-bit with Max 64-bit -
float32andfloat64values [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.