pyrealsense2.stream_profile

class pyrealsense2.stream_profile

Stores details about the profile of a stream.

__init__(self: pyrealsense2.stream_profile) → None

Methods

__init__(...)
as_motion_stream_profile(...)
as_stream_profile(...)
as_video_stream_profile(...)
clone((self: pyrealsense2.stream_profile, ...) Clone the current profile and change the type, index and format to input parameters
format(...) The stream’s format
fps((self: pyrealsense2.stream_profile) -> int) The streams framerate
get_extrinsics_to(...) Get the extrinsic transformation between two profiles (representing physical sensors)
is_default(...) Checks if the stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards.
is_motion_stream_profile(...)
is_stream_profile(...)
is_video_stream_profile(...)
register_extrinsics_to(...) Assign extrinsic transformation parameters to a specific profile (sensor).
stream_index(...) The stream’s index
stream_name(...) The stream’s human-readable name.
stream_type(...) The stream’s type
unique_id(...) Unique index assigned whent the stream was created
as_motion_stream_profile(self: pyrealsense2.stream_profile) → rs2::motion_stream_profile
as_stream_profile(self: pyrealsense2.stream_profile) → pyrealsense2.stream_profile
as_video_stream_profile(self: pyrealsense2.stream_profile) → rs2::video_stream_profile
clone(self: pyrealsense2.stream_profile, type: pyrealsense2.stream, index: int, format: pyrealsense2.format) → pyrealsense2.stream_profile

Clone the current profile and change the type, index and format to input parameters

format(self: pyrealsense2.stream_profile) → pyrealsense2.format

The stream’s format

fps(self: pyrealsense2.stream_profile) → int

The streams framerate

get_extrinsics_to(self: pyrealsense2.stream_profile, to: pyrealsense2.stream_profile) → pyrealsense2.extrinsics

Get the extrinsic transformation between two profiles (representing physical sensors)

is_default(self: pyrealsense2.stream_profile) → bool

Checks if the stream profile is marked/assigned as default, meaning that the profile will be selected when the user requests stream configuration using wildcards.

is_motion_stream_profile(self: pyrealsense2.stream_profile) → bool
is_stream_profile(self: pyrealsense2.stream_profile) → bool
is_video_stream_profile(self: pyrealsense2.stream_profile) → bool
register_extrinsics_to(self: pyrealsense2.stream_profile, to: pyrealsense2.stream_profile, extrinsics: pyrealsense2.extrinsics) → None

Assign extrinsic transformation parameters to a specific profile (sensor). The extrinsic information is generally available as part of the camera calibration, and librealsense is responsible for retrieving and assigning these parameters where appropriate. This specific function is intended for synthetic/mock-up (software) devices for which the parameters are produced and injected by the user.

stream_index(self: pyrealsense2.stream_profile) → int

The stream’s index

stream_name(self: pyrealsense2.stream_profile) → str

The stream’s human-readable name.

stream_type(self: pyrealsense2.stream_profile) → pyrealsense2.stream

The stream’s type

unique_id(self: pyrealsense2.stream_profile) → int

Unique index assigned whent the stream was created