This commit is contained in:
gocivici 2023-10-27 12:17:36 +03:00
parent 4a169f884c
commit d03e9adab9

View File

@ -41,7 +41,7 @@ if cam.isOpened():
fontBIG = ImageFont.truetype("HalloweenFont.ttf", 350)
fontSmall = ImageFont.truetype("HalloweenFont.ttf", 60)
if TIMER>0:
draw.text((130, 340), str(TIMER), font=fontBIG,fill=(255,0,0,255))
draw.text((130, 300), str(TIMER), font=fontBIG,fill=(255,0,0,255))
else:
draw.text((30, 480), "ANALYZING...", font=fontSmall,fill=(255,0,0,255))
img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)