pupil_recording_interface.VideoReader.convert_color

VideoReader.convert_color(frame)

Convert color format of a video frame.

Parameters

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

Returns

The converted frame.

Return type

numpy.ndarray