colour_hdri.utilities.is_opencv_installed#

colour_hdri.utilities.is_opencv_installed(raise_exception: bool = False) bool[source]#

Return whether OpenCV is installed and available.

Parameters:

raise_exception (bool) – Whether to raise an exception if OpenCV is unavailable.

Returns:

Whether OpenCV is installed.

Return type:

bool

Raises:

ImportError – If OpenCV is not installed.