Function rs2_get_frame_labeled_points_count

Function Documentation

int rs2_get_frame_labeled_points_count(const rs2_frame *frame, rs2_error **error)

When called on Labeled Points frame type, this method returns the number of vertices in the frame

Parameters:
  • frame[in] Labeled Points frame

  • error[out] If non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

Number of vertices