pyrealsense2.points

class pyrealsense2.points

Extends the frame class with additional point cloud related attributes and functions.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: pyrealsense2.points) -> None
  2. __init__(self: pyrealsense2.points, arg0: pyrealsense2.frame) -> None

Methods

__init__(*args, **kwargs) Overloaded function.
as_depth_frame(...)
as_frame(...)
as_frameset(...)
as_motion_frame(...)
as_points(...)
as_pose_frame(...)
as_video_frame(...)
export_to_ply((self: pyrealsense2.points, ...) Export the point cloud to a PLY file
get_data(...) Retrieve data from the frame handle.
get_data_size((self: pyrealsense2.frame) -> int) Retrieve data size from frame handle.
get_frame_metadata(...) Retrieve the current value of a single frame_metadata.
get_frame_number(...) Retrieve the frame number.
get_frame_timestamp_domain(...) Retrieve the timestamp domain.
get_profile(...) Retrieve stream profile from frame handle.
get_texture_coordinates(...) Retrieve the texture coordinates (uv map) for the point cloud
get_timestamp(...) Retrieve the time at which the frame was captured
get_vertices((self: pyrealsense2.points, ...) Retrieve the vertices of the point cloud
is_depth_frame(...)
is_frame((self: pyrealsense2.frame) -> bool)
is_frameset((self: pyrealsense2.frame) -> bool)
is_motion_frame(...)
is_points((self: pyrealsense2.frame) -> bool)
is_pose_frame((self: pyrealsense2.frame) -> bool)
is_video_frame(...)
keep((self: pyrealsense2.frame) -> None) Keep the frame, otherwise if no refernce to the frame, the frame will be released.
size((self: pyrealsense2.points) -> int)
supports_frame_metadata(...) Determine if the device allows a specific metadata to be queried.
swap((self: pyrealsense2.frame, ...) Swap the internal frame handle with the one in parameter

Attributes

data Data from the frame handle.
frame_number The frame number.
frame_timestamp_domain The timestamp domain.
profile Stream profile from frame handle.
timestamp Time at which the frame was captured.
export_to_ply(self: pyrealsense2.points, arg0: str, arg1: pyrealsense2.video_frame) → None

Export the point cloud to a PLY file

get_texture_coordinates(self: pyrealsense2.points, dims: int=1) → pyrealsense2.BufData

Retrieve the texture coordinates (uv map) for the point cloud

get_vertices(self: pyrealsense2.points, dims: int=1) → pyrealsense2.BufData

Retrieve the vertices of the point cloud

size(self: pyrealsense2.points) → int