location update

This commit is contained in:
gocivici 2023-10-27 12:16:29 +03:00
parent b41778bc94
commit 4a169f884c

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((170, 380), str(TIMER), font=fontBIG,fill=(255,0,0,255))
draw.text((130, 340), 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)