diff --git a/rpi/roy-test.py b/rpi/roy-test.py index eb18ff9..f17e231 100644 --- a/rpi/roy-test.py +++ b/rpi/roy-test.py @@ -21,7 +21,7 @@ def pure_pil_alpha_to_color_v2(image, color=(0, 0, 0)): background.paste(image, mask=image.split()[3]) # 3 is the alpha channel return background -image = Image.open("../prootface.bmp") +image = Image.open("faces/prootface3.bmp") image.thumbnail((128, 32), Image.ANTIALIAS) RGBImage = pure_pil_alpha_to_color_v2(image) @@ -83,4 +83,4 @@ client.loop_start() while True: - time.sleep(0.005) \ No newline at end of file + time.sleep(0.005)