Intel Realsense D435 python sensor类

# encoding: utf-8
# module pyrealsense2.pyrealsense2
# from D:\20191031_tensorflow_yolov3\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


from .options import options

class sensor(options):
    # no doc
    def as_depth_sensor(self): # real signature unknown; restored from __doc__
        """ as_depth_sensor(self: pyrealsense2.pyrealsense2.sensor) -> rs2::depth_sensor """
        pass

    def as_pose_sensor(self): # real signature unknown; restored from __doc__
        """ as_pose_sensor(self: pyrealsense2.pyrealsense2.sensor) -> rs2::pose_sensor """
        pass

    def as_roi_sensor(self): # real signature unknown; restored from __doc__
        """ as_roi_sensor(self: pyrealsense2.pyrealsense2.sensor) -> rs2::roi_sensor """
        pass

    def as_wheel_odometer(self): # real signature unknown; restored from __doc__
        """ as_wheel_odometer(self: pyrealsense2.pyrealsense2.sensor) -> rs2::wheel_odometer """
        # 作为车轮里程表?
        pass

    def close(self): # real signature unknown; restored from __doc__
        """
        close(self: pyrealsense2.pyrealsense2.sensor) -> None
        
        Close sensor for exclusive access.
        关闭传感器以进行独占访问。
        """
        pass

    def get_info(self, info): # real signature unknown; restored from __doc__
        """
        get_info(self: pyrealsense2.pyrealsense2.sensor, info: pyrealsense2.pyrealsense2.camera_info) -> str
        
        Retrieve camera specific information, like versions of various internal components.
        检索相机特定的信息,例如各种内部组件的版本。
        """
        return ""

    def get_recommended_filters(self): # real signature unknown; restored from __doc__
        """
        get_recommended_filters(self: pyrealsense2.pyrealsense2.sensor) -> List[pyrealsense2.pyrealsense2.filter]
        
        Return the recommended list of filters by the sensor.
        返回传感器推荐的过滤器列表。
        """
        return []

    def get_stream_profiles(self): # real signature unknown; restored from __doc__
        """
        get_stream_profiles(self: pyrealsense2.pyrealsense2.sensor) -> List[pyrealsense2.pyrealsense2.stream_profile]
        
        Retrieves the list of stream profiles supported by the sensor.
        检索传感器支持的流配置文件列表。
        """
        return []

    def is_depth_sensor(self): # real signature unknown; restored from __doc__
        """ is_depth_sensor(self: pyrealsense2.pyrealsense2.sensor) -> bool """
        return False

    def is_pose_sensor(self): # real signature unknown; restored from __doc__
        """ is_pose_sensor(self: pyrealsense2.pyrealsense2.sensor) -> bool """
        return False

    def is_roi_sensor(self): # real signature unknown; restored from __doc__
        """ is_roi_sensor(self: pyrealsense2.pyrealsense2.sensor) -> bool """
        return False

    def is_wheel_odometer(self): # real signature unknown; restored from __doc__
        """ is_wheel_odometer(self: pyrealsense2.pyrealsense2.sensor) -> bool """
        return False

    def open(self, *args, **kwargs): # real signature unknown; restored from __doc__
        """
        open(*args, **kwargs)
        Overloaded function.
        
        1. open(self: pyrealsense2.pyrealsense2.sensor, profile: pyrealsense2.pyrealsense2.stream_profile) -> None
        
        Open sensor for exclusive access, by commiting to a configuration
        通过提交配置打开传感器以进行独占访问
        
        2. open(self: pyrealsense2.pyrealsense2.sensor, profiles: List[pyrealsense2.pyrealsense2.stream_profile]) -> None
        
        Open sensor for exclusive access, by committing to a composite configuration, specifying one or more stream profiles.
        通过承诺复合配置,指定一个或多个流配置文件,打开传感器以进行独占访问。
        """
        pass

    def set_notifications_callback(self, callback, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        set_notifications_callback(self: pyrealsense2.pyrealsense2.sensor, callback: Callable[[pyrealsense2.pyrealsense2.notification], None]) -> None
        
        Register Notifications callback 注册通知回调
        """
        pass

    def start(self, *args, **kwargs): # real signature unknown; restored from __doc__
        """
        start(*args, **kwargs)
        Overloaded function.
        
        1. start(self: pyrealsense2.pyrealsense2.sensor, callback: Callable[[pyrealsense2.pyrealsense2.frame], None]) -> None
        
        Start passing frames into user provided callback.
        开始将帧传递到用户提供的回调中。
        
        2. start(self: pyrealsense2.pyrealsense2.sensor, syncer: pyrealsense2.pyrealsense2.syncer) -> None
        
        Start passing frames into user provided syncer.
        开始将帧传递到用户提供的同步器中。
        
        3. start(self: pyrealsense2.pyrealsense2.sensor, queue: pyrealsense2.pyrealsense2.frame_queue) -> None
        
        start passing frames into specified frame_queue
        开始将帧传递到指定的frame_queue
        """
        pass

    def stop(self): # real signature unknown; restored from __doc__
        """
        stop(self: pyrealsense2.pyrealsense2.sensor) -> None
        
        Stop streaming. 停止流式传输。
        """
        pass

    def supports(self, *args, **kwargs): # real signature unknown; restored from __doc__
        """
        supports(*args, **kwargs)
        Overloaded function.
        
        1. supports(self: pyrealsense2.pyrealsense2.sensor, arg0: pyrealsense2.pyrealsense2.camera_info) -> bool
        
        info
        
        2. supports(self: pyrealsense2.pyrealsense2.sensor, arg0: pyrealsense2.pyrealsense2.option) -> bool
        
        info
        """
        pass

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

    def __nonzero__(self): # real signature unknown; restored from __doc__
        """ __nonzero__(self: pyrealsense2.pyrealsense2.sensor) -> bool """
        return False

    profiles = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """The list of stream profiles supported by the sensor. Identical to calling get_stream_profiles 传感器支持的流配置文件列表。 与调用get_stream_profiles相同"""




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