pyorbbecsdk
pyorbbecsdk copied to clipboard
如何同步多摄像头
我在使用多个摄像头同步录制数据(未使用同步线),我希望同步多个摄像头的时间戳,在viewer里面我看到有个同步摄像头时间戳。在python中应该如何实现这个功能。
我在pyi里面搜索“syn”里面找到了
def enable_multi_device_sync(self, arg0: int) -> None:
"""
Activates the multi-device synchronization function to synchronize the clock of the created device (the device needs to support this function).repeat_interval: The synchronization time interval (unit: ms; if repeatInterval=0, it means that it will only be synchronized once and will not be executed regularly).
"""
这个函数能否实现多摄像头同步功能?
参考一下这个实例
File "pyorbbecsdk/examples/two_devices_sync.py", line 178, in main sync_config_json = multi_device_sync_config[serial_number] KeyError: 'CL8S93P007M'