diff --git a/test/assets/assetlib.py b/test/assets/assetlib.py index 6def64f2..8d3b8917 100644 --- a/test/assets/assetlib.py +++ b/test/assets/assetlib.py @@ -349,8 +349,8 @@ def histogram_compare_color( for channel in range(min_channels): # 0: Blue, 1: Green, 2: Red # Compute histograms - hist1 = cv2.calcHist([img1], [channel], None, [256], [0, 256]) - hist2 = cv2.calcHist([img2], [channel], None, [256], [0, 256]) + hist1 = cv2.calcHist([img1], [channel], None, [256], [0, 256]) # type: ignore[list-item] + hist2 = cv2.calcHist([img2], [channel], None, [256], [0, 256]) # type: ignore[list-item] # Normalize histograms hist1 = cv2.normalize(hist1, hist1).flatten()