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(self)

as_frame(self)

as_frameset(self)

as_motion_frame(self)

as_points(self)

as_pose_frame(self)

as_video_frame(self)

export_to_ply(self, arg0, arg1)

Export the point cloud to a PLY file

get_data(self)

Retrieve data from the frame handle.

get_data_size(self)

Retrieve data size from frame handle.

get_frame_metadata(self, frame_metadata)

Retrieve the current value of a single frame_metadata.

get_frame_number(self)

Retrieve the frame number.

get_frame_timestamp_domain(self)

Retrieve the timestamp domain.

get_profile(self)

Retrieve stream profile from frame handle.

get_texture_coordinates(self[, dims])

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

get_timestamp(self)

Retrieve the time at which the frame was captured

get_vertices(self[, dims])

Retrieve the vertices of the point cloud

is_depth_frame(self)

is_frame(self)

is_frameset(self)

is_motion_frame(self)

is_points(self)

is_pose_frame(self)

is_video_frame(self)

keep(self)

Keep the frame, otherwise if no refernce to the frame, the frame will be released.

size(self)

supports_frame_metadata(self, frame_metadata)

Determine if the device allows a specific metadata to be queried.

swap(self, other)

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