From 4e7006a999f48070bc1ae2401a671c3c133dfa96 Mon Sep 17 00:00:00 2001 From: gocivici Date: Sat, 21 Oct 2023 15:38:01 +0300 Subject: [PATCH] analysis text size --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 152d78b..17c1b3a 100644 --- a/main.py +++ b/main.py @@ -41,6 +41,7 @@ if cam.isOpened(): if TIMER>0: draw.text((180, 400), str(TIMER), font=font,fill=(255,0,0,255)) else: + font_size = 60 draw.text((30, 400), "ANALYZING...", font=font,fill=(255,0,0,255)) img = cv2.cvtColor(np.array(img), cv2.COLOR_RGB2BGR) img = cv2.rotate(img, cv2.ROTATE_90_CLOCKWISE)