no printer debug test

This commit is contained in:
gocivici 2023-10-21 15:06:08 +03:00
parent 073bd1c018
commit 2d35100050

10
main.py
View File

@ -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))