pupil_recording_interface.VideoReader.load_raw_frame

VideoReader.load_raw_frame(idx=None)

Load a single un-processed video frame.

Parameters

idx (int or Timestamp, optional) – The index of the frame. If not specified, will load the next frame. If Timestamp, will load the frame with the closest timestamp.

Returns

The loaded frame.

Return type

numpy.ndarray