Streams¶
- class hsi.Stream(iter, header)¶
Stream type
- __iter__()¶
Implement iter(self).
- __next__()¶
Implement next(self).
- get_frame()¶
Get a single frame from the stream.
- Returns:
A tuple containing the frame index and the frame data as a 2D Numpy array.
- Return type:
tuple[hsi.FrameMeta, ndarray]
- header()¶
- stop()¶
Stop the stream.