This commit is contained in:
gocivici 2023-10-21 14:39:00 +03:00
parent c618e6d483
commit 771b8f6c1b

View File

@ -70,14 +70,14 @@ if cam.isOpened():
# cv2.waitKey(2000)
printer.set(align='center',font='b',width=2,height=2)
printer.image("cropScared.jpg",impl="bitImageColumn")
printer.image("cropScared.jpg",impl="bitImageRaster")
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)