Intel Realsense D435 python wrapper pyrealsense.context类

# 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 context(__pybind11_builtins.pybind11_object):
    """ Librealsense context class. Includes realsense API version. 
    Librealsense上下文类。 包括realsense API版本。"""
    # 获取传感器对象的所属设备
    def get_sensor_parent(self, s): # real signature unknown; restored from __doc__
        """ get_sensor_parent(self: pyrealsense2.pyrealsense2.context, s: pyrealsense2.pyrealsense2.sensor) -> pyrealsense2.pyrealsense2.device """
        pass

    def load_device(self, filename): # real signature unknown; restored from __doc__
        """
        load_device(self: pyrealsense2.pyrealsense2.context, filename: str) -> pyrealsense2.pyrealsense2.playback
        
        Creates a devices from a RealSense file. 
        从RealSense文件创建设备。
        On successful load, the device will be appended to the context and a devices_changed event triggered.
        成功加载后,设备将被附加到上下文并触发devices_changed事件。
        """
        pass

    def query_all_sensors(self): # real signature unknown; restored from __doc__
        """
        query_all_sensors(self: pyrealsense2.pyrealsense2.context) -> List[pyrealsense2.pyrealsense2.sensor]
        
        Generate a flat list of all available sensors from all RealSense devices.
        生成所有RealSense设备中所有可用传感器的平铺列表。
        """
        return []

    def query_devices(self): # real signature unknown; restored from __doc__
        """
        query_devices(self: pyrealsense2.pyrealsense2.context) -> pyrealsense2.pyrealsense2.device_list
        
        Create a static snapshot of all connected devices at the time of the call.
        在调用时为所有连接的设备创建静态快照。
        """
        pass

    def set_devices_changed_callback(self, callback, *args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
        """
        set_devices_changed_callback(self: pyrealsense2.pyrealsense2.context, callback: Callable[[pyrealsense2.pyrealsense2.event_information], None]) -> None
        
        Register devices changed callback. 注册设备已更改的回调。(回调是啥玩意?)
        """
        pass

    def unload_device(self, filename): # real signature unknown; restored from __doc__
        """ unload_device(self: pyrealsense2.pyrealsense2.context, filename: str) -> None """
        pass

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

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

    devices = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """A static snapshot of all connected devices at time of access. 
    Identical to calling query_devices. 
    访问时所有已连接设备的静态快照。 与调用query_devices相同。
"""
    sensors = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """A flat list of all available sensors from all RealSense devices. Identical to calling query_all_sensors. 
    所有RealSense设备中所有可用传感器的平铺列表。 与调用query_all_sensors相同。"""




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