videolib.cvt_color.yuv2rgb

yuv2rgb(yuv, standard, range=None)[source]

Converts YUV to RGB. :type yuv: ndarray :param yuv: YUV array of shape (R, C, 3) :type standard: Standard :param standard: Color standard to which the data conforms. :type range: Union[int, float, None] :param range: Range of pixel values (Default: None - inferred from standard).

Return type:

ndarray

Returns:

RGB array of shape (R, C, 3)