videolib.cvt_color.linear_bgr2yuv

linear_bgr2yuv(linear_bgr, standard, range=None)[source]

Converts Linear BGR to YUV. :type linear_bgr: ndarray :param linear_bgr: Linear BGR 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:

YUV array of shape (R, C, 3)