Intel Realsense D435 python 如何获取(打印)所有摄像头序列号信息?

mac2022-06-30  22

import pyrealsense2 as rs ctx = rs.context() if len(ctx.devices) > 0: for d in ctx.devices: print('Found device: ', d.get_info(rs.camera_info.name), ' ', d.get_info(rs.camera_info.serial_number)) else: print("No Intel Device connected") # 接了两个D435摄像头,显示结果: # Found device: Intel RealSense D435 827312071726 # Found device: Intel RealSense D435 838212074152

参考文章1:ModuleNotFoundError: No module named ‘pybackend2’

参考文章2:Device List doesnot work with python bindings #2332

最新回复(0)