no printer debug test
This commit is contained in:
parent
073bd1c018
commit
2d35100050
10
main.py
10
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))
|
||||
|
Loading…
Reference in New Issue
Block a user