Expand description
Reading frames, retrieving data.
Functionsยง
- get_
color_ frame - Color data as 24 bit stored in consecutive
u8
. - get_
depth_ mm_ u16_ frame - Raw depth data in mm as
u16
. - get_
depth_ scaled_ u8_ frame - Depth data scaled according to
device.min_depth_mm
= 0 anddevice.max_depth_mm
= 255 stored in au8
array. - get_
ir_ frame - Raw IR data as
u8
. - read_
next_ frame - Captures the next image frame from
device
. This function must be called before getting frame data usingget_..._frame()
.max_wait_time_ms
is the maximum waiting time for the next frame in milliseconds. The recommended value is 2000 / fps.