pyrealsense2读取 infrared

import pyrealsense2 as rs
pipeline = rs.pipeline()
config = rs.config()
config.enable_stream(rs.stream.infrared)
pipeline.start(config)
frames = pipeline.wait_for_frames()
ir = frames.first(rs.stream.infrared) # also I think this is possible: ir = frames[0]

猜你喜欢

转载自www.cnblogs.com/ahuzcl/p/11228733.html