pupil_recording_interface.VideoReader.convert_to_uint8

static VideoReader.convert_to_uint8(frame)

Convert a video frame to uint8 dtype.

Parameters

frame (numpy.ndarray) – The frame to convert.

Returns

The converted frame.

Return type

numpy.ndarray