This commit is contained in:
Charlie Holtz 2023-11-07 12:41:34 -05:00
parent 1dd40a7499
commit fd52ba8bcc
2 changed files with 1 additions and 2 deletions

View File

@ -38,7 +38,7 @@ while True:
else:
print("Failed to capture image")
# Wait for 5 seconds
# Wait for 2 seconds
time.sleep(2)
# Release the camera and close all windows

View File

@ -47,7 +47,6 @@ def analyze_posture(base64_image):
{
"type": "image_url",
"image_url": f"data:image/jpeg;base64,{base64_image}",
# "image_url": "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg"
},
],
}