From 746081ba06a0bdaa25a62c46dd04a2abb788ea79 Mon Sep 17 00:00:00 2001 From: gocivici Date: Sat, 21 Oct 2023 14:10:36 +0300 Subject: [PATCH] testing intervals --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f450264..8f80095 100644 --- a/main.py +++ b/main.py @@ -67,7 +67,7 @@ if cam.isOpened(): hsize = int((float(imgCrop.size[1])*float(wpercent))) imgCrop = imgCrop.resize((basewidth,hsize), Image.Resampling.LANCZOS) imgCrop = imgCrop.save("cropScared.jpg") - cv2.waitKey(2000) + # cv2.waitKey(2000) printer.set(align='center',font='b',width=2,height=2) printer.image("cropScared.jpg",impl="bitImageColumn") @@ -77,7 +77,7 @@ if cam.isOpened(): #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)