Module frame

Source
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 and device.max_depth_mm = 255 stored in a u8 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 using get_..._frame(). max_wait_time_ms is the maximum waiting time for the next frame in milliseconds. The recommended value is 2000 / fps.