def __init__(self, name='infrared', width=640, height=480, fps=30):
self.native = True
self.stream = rs_stream.RS_STREAM_INFRARED
self.format = rs_format.RS_FORMAT_Y8
self.shape = (height, width)
self.dtype = ctypes.c_uint8
super(InfraredStream, self).__init__(name, self.native, self.stream, width, height, self.format, fps)
评论列表
文章目录