From 2d35100050aca92bf547726e59c51031940e00f5 Mon Sep 17 00:00:00 2001 From: gocivici Date: Sat, 21 Oct 2023 15:06:08 +0300 Subject: [PATCH] no printer debug test --- main.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.py b/main.py index b366679..717ba32 100644 --- a/main.py +++ b/main.py @@ -79,15 +79,15 @@ if cam.isOpened(): imgCrop = imgCrop.resize((basewidth,hsize), Image.Resampling.LANCZOS) imgCrop = imgCrop.save("cropScared.jpg") # cv2.waitKey(2000) - printer.set(align='center',font='b',width=2,height=2) + # printer.set(align='center',font='b',width=2,height=2) - printer.image("cropScared.jpg",impl="bitImageRaster") - printer.text("Fear Level: \n" + str(round(fearPoint,2))+"/100\n") - printer.text("(Scream Queen)\n") + # printer.image("cropScared.jpg",impl="bitImageRaster") + # printer.text("Fear Level: \n" + str(round(fearPoint,2))+"/100\n") + # printer.text("(Scream Queen)\n") + # printer.text("\n\n\n\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) #print(30+math.floor(int(fearPoint)*580/100))