analysis text size
This commit is contained in:
parent
dd1067ad11
commit
4e7006a999
1
main.py
1
main.py
@ -41,6 +41,7 @@ if cam.isOpened():
|
|||||||
if TIMER>0:
|
if TIMER>0:
|
||||||
draw.text((180, 400), str(TIMER), font=font,fill=(255,0,0,255))
|
draw.text((180, 400), str(TIMER), font=font,fill=(255,0,0,255))
|
||||||
else:
|
else:
|
||||||
|
font_size = 60
|
||||||
draw.text((30, 400), "ANALYZING...", font=font,fill=(255,0,0,255))
|
draw.text((30, 400), "ANALYZING...", font=font,fill=(255,0,0,255))
|
||||||
img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)
|
img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR)
|
||||||
img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)
|
img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)
|
||||||
|
Loading…
Reference in New Issue
Block a user