首页 > 技术文章 > pyrealsense2读取 infrared

ahuzcl 2019-07-22 21:54 原文

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]

推荐阅读