vzense_rust

Module frame

source
Expand description

Reading frames, creating data arrays.

Enums§

  • The available frame types, Depth and RGB (optical). IR frame is not implemented yet.

Functions§

  • Checks if the number of pixels in frame equals pixel_count.
  • Creates bgr data array from frame.
  • Returns the image data in frame for the current frame from device. Before invoking this API, invoke read_next_frame() to capture one image frame from the device. frame_ready is a pointer to a buffer storing the signal for the frame availability set in read_next_frame(). The image frame_type is either FrameType::Depth or FrameType::RGB.
  • Creates normalized_depth data array from frame.
  • Captures the next image frame from device. This API must be invoked before capturing frame data using get_frame(). frame_ready is a pointer to a buffer storing the signal for the frame availability.

Type Aliases§

  • Depth/IR/RGB image frame data.
  • Flag signaling if a frame is available