pyrealsense2.pipeline_profile¶
- class pyrealsense2.pipeline_profile¶
The pipeline profile includes a device and a selection of active streams, with specific profiles. The profile is a selection of the above under filters and conditions defined by the pipeline. Streams may belong to more than one sensor of the device.
- __init__(self: pyrealsense2.pipeline_profile) None ¶
Methods
__init__
(self)get_device
(self)Retrieve the device used by the pipeline.
get_stream
(self, stream_type[, stream_index])Return the stream profile that is enabled for the specified stream in this profile.
get_streams
(self)Return the selected streams profiles, which are enabled in this profile.
- get_device(self: pyrealsense2.pipeline_profile) pyrealsense2.device ¶
Retrieve the device used by the pipeline. The device class provides the application access to control camera additional settings - get device information, sensor options information, options value query and set, sensor specific extensions. Since the pipeline controls the device streams configuration, activation state and frames reading, calling the device API functions, which execute those operations, results in unexpected behavior. The pipeline streaming device is selected during pipeline start(). Devices of profiles, which are not returned by pipeline start() or get_active_profile(), are not guaranteed to be used by the pipeline.
- get_stream(self: pyrealsense2.pipeline_profile, stream_type: pyrealsense2.stream, stream_index: int = -1) pyrealsense2.stream_profile ¶
Return the stream profile that is enabled for the specified stream in this profile.
- get_streams(self: pyrealsense2.pipeline_profile) List[pyrealsense2.stream_profile] ¶
Return the selected streams profiles, which are enabled in this profile.