From 8eb5c5e15bac1e58b13c8871a8abfc4d4db4a3b4 Mon Sep 17 00:00:00 2001 From: gocivici Date: Sat, 21 Oct 2023 14:29:48 +0300 Subject: [PATCH] fixed imgcrop --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 2d31bc8..8f80095 100644 --- a/main.py +++ b/main.py @@ -70,14 +70,14 @@ if cam.isOpened(): # cv2.waitKey(2000) printer.set(align='center',font='b',width=2,height=2) - printer.image(imgCrop,impl="bitImageColumn") + printer.image("cropScared.jpg",impl="bitImageColumn") printer.text("Fear Level: \n" + str(round(fearPoint,2))+"/100\n") printer.text("(Scream Queen)\n") #printer.set(align='center',font='b',width=1,height=1) #printer.text("Spooky Night 2023") #printer.text("2023\n") printer.text("\n\n\n\n") - cv2.waitKey(5000) + # cv2.waitKey(5000) img = cv2.cvtColor(img,cv2.COLOR_BGR2RGB) img = Image.fromarray(img) draw = ImageDraw.Draw(img)