darsia.find_colorchecker#

find_colorchecker(img, strategy, update=0.8)[source]#

Detect colorchecker in corner.

Search for position and colors.

Parameters:
imgdarsia.Image

Image to search in.

strategystr, optional

Strategy to target corner. Defaults to “upper_right”.

updatefloat, optional

Update factor for the search window. Defaults to 0.8.

Returns:
Colorchecker (darsia.CustomColorChecker): Colorchecker.
Global_voxels (np.ndarray): Voxels of the colorchecker.