pyrealsense2.stream_profile¶
- class pyrealsense2.stream_profile¶
Stores details about the profile of a stream.
- __init__(self: pyrealsense2.stream_profile) None ¶
Methods
__init__
(self)as_motion_stream_profile
(self)as_pose_stream_profile
(self)as_stream_profile
(self)as_video_stream_profile
(self)bytes_per_pixel
(self)clone
(self, type, index, format)Clone the current profile and change the type, index and format to input parameters
format
(self)The stream's format
fps
(self)The streams framerate
get_extrinsics_to
(self, to)Get the extrinsic transformation between two profiles (representing physical sensors)
is_default
(self)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)is_pose_stream_profile
(self)is_stream_profile
(self)is_video_stream_profile
(self)register_extrinsics_to
(self, to, extrinsics)Assign extrinsic transformation parameters to a specific profile (sensor).
stream_index
(self)The stream's index
stream_name
(self)The stream's human-readable name.
stream_type
(self)The stream's type
unique_id
(self)Unique index assigned whent the stream was created
- as_motion_stream_profile(self: pyrealsense2.stream_profile) rs2::motion_stream_profile ¶
- as_pose_stream_profile(self: pyrealsense2.stream_profile) rs2::pose_stream_profile ¶
- as_stream_profile(self: pyrealsense2.stream_profile) pyrealsense2.stream_profile ¶
- as_video_stream_profile(self: pyrealsense2.stream_profile) rs2::video_stream_profile ¶
- bytes_per_pixel(self: pyrealsense2.stream_profile) int ¶
- 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_pose_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