We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd346a1 commit 12a4cbaCopy full SHA for 12a4cba
colour_checker_detection/detection/segmentation.py
@@ -1115,7 +1115,7 @@ def detect_colour_checkers_segmentation(
1115
settings.swatches_achromatic_slice,
1116
]:
1117
swatch_std_mean = as_float_array(swatch_colours[slice_])
1118
- swatch_std_mean /= swatch_std_mean[..., 1][..., np.newaxis]
+ swatch_std_mean /= swatch_std_mean[..., 1][..., None]
1119
std_means.append(np.mean(np.std(swatch_std_mean, 0)))
1120
if std_means[0] < std_means[1]:
1121
usage_warning(
0 commit comments