From 899bb437d8b509ca9f6295e1678ae9aab3841d09 Mon Sep 17 00:00:00 2001 From: Charlie Holtz Date: Tue, 7 Nov 2023 10:36:57 -0500 Subject: [PATCH] update judge --- judge.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/judge.py b/judge.py index 2900e50..4f04c73 100644 --- a/judge.py +++ b/judge.py @@ -73,7 +73,6 @@ def summarize_analysis(analysis): def main(): while True: - print("🧘 Judging posture...") # path to your image image_path = os.path.join(os.getcwd(), "./frames/frame.jpg") @@ -82,9 +81,11 @@ def main(): base64_image = encode_image(image_path) # analyze posture + print("🧘 Looking at your posture...") analysis = analyze_posture(base64_image) # summarize analysis + print("🧘 Judging your posture...") result = summarize_analysis(analysis) result_json = json.loads(result)