Intel Realsense D435 python wrapper pyrealsense.pipeline_profile类 (管道配置文件)

# encoding: utf-8
# module pyrealsense2.pyrealsense2
# from D:\Yolov3_Tensorflow\python\lib\site-packages\pyrealsense2\pyrealsense2.cp36-win_amd64.pyd
# by generator 1.147
"""
LibrealsenseTM Python Bindings
        ==============================
        Library for accessing Intel RealSenseTM cameras
"""

# imports
import pybind11_builtins as __pybind11_builtins


class pipeline_profile(__pybind11_builtins.pybind11_object):
    """
    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.
    (流可能属于该设备的多个传感器。)
    """
    def get_device(self): # real signature unknown; restored from __doc__
        """
        get_device(self: pyrealsense2.pyrealsense2.pipeline_profile) -> pyrealsense2.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.
        
        【检索管道使用的设备。
         设备类使应用程序可以访问控制摄像机的其他设置-获取设备信息,传感器选项信息,选项值查询和设置,传感器特定的扩展名。
         由于管道控制设备流的配置,激活状态和帧读取,因此调用执行这些操作的设备API函数会导致意外行为。
         在管道start()期间选择了管道流设备。 流水线的start()或get_active_profile()未返回的profile文件的设备不能保证被流水线使用。】
        """
        pass

    def get_stream(self, stream_type, stream_index=-1): # real signature unknown; restored from __doc__
        """
        get_stream(self: pyrealsense2.pyrealsense2.pipeline_profile, stream_type: pyrealsense2.pyrealsense2.stream, stream_index: int=-1) -> pyrealsense2.pyrealsense2.stream_profile
        
        Return the stream profile that is enabled for the specified stream in this profile.
        【返回为此配置文件中的指定流启用的流配置文件。返回config?】
        """
        pass

    def get_streams(self): # real signature unknown; restored from __doc__
        """
        get_streams(self: pyrealsense2.pyrealsense2.pipeline_profile) -> List[pyrealsense2.pyrealsense2.stream_profile]
        
        Return the selected streams profiles, which are enabled in this profile.
        【返回所选的流配置文件,该概要文件已启用。】
        """
        return []

    def __init__(self): # real signature unknown; restored from __doc__
        """ __init__(self: pyrealsense2.pyrealsense2.pipeline_profile) -> None """
        pass



profile详细解释:

参考文章1:What does profile mean in get_active_profile in pipeline.py? #5600

参考文章2:pyrealsense2——classes

参考文章3:librealsense/include/librealsense2/hpp/rs_pipeline.hpp

你可能感兴趣的:(Intel,RealSense)