diff --git a/rpi/blinkingTest.py b/rpi/blinkingTest.py index 5b0beeb..9e18a0d 100644 --- a/rpi/blinkingTest.py +++ b/rpi/blinkingTest.py @@ -23,7 +23,7 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)): def image_interpolation(image1, image2, alpha): # Ensure both images have the same size - assert image1.shape == image2.shape, "Input images must have the same shape" + assert image1.size == image2.size, "Input images must have the same shape" # Normalize the alpha value alpha = max(0, min(1, alpha))