From d15109746b45f80f22ea2ca036cae5ea2aef03ef Mon Sep 17 00:00:00 2001 From: pantheraleo-7 <159872817+pantheraleo-7@users.noreply.github.com> Date: Thu, 12 Dec 2024 08:26:23 +0530 Subject: [PATCH] import `Image` class not the module --- picamera2/picamera2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/picamera2/picamera2.py b/picamera2/picamera2.py index 72f57e42..2ea37316 100644 --- a/picamera2/picamera2.py +++ b/picamera2/picamera2.py @@ -18,7 +18,7 @@ import libcamera import numpy as np from libcamera import controls -from PIL import Image +from PIL.Image import Image import picamera2.formats as formats import picamera2.platform as Platform