pupil_recording_interface.OpticalFlowReader.read_optical_flow
- OpticalFlowReader.read_optical_flow(start=None, end=None)
Generator for optical flow frames.
- Parameters
start (int or Timestamp, optional) – If specified, start the generator at this frame index or timestamp.
end (int or Timestamp, optional) – If specified, stop the generator at this frame index or timestamp.
- Yields
numpy.ndarray – The loaded optical flow frame.