vuba.bgr

vuba.bgr(frame)[source]

Convert a frame to BGR format.

Parameters

frame (ndarray) – Frame to convert.

Returns

frame – Frame of BGR format.

Return type

ndarray

Raises

ValueError – If the supplied image is not grayscale.

See also

gray, hsv