cleanup
This commit is contained in:
parent
1dd40a7499
commit
fd52ba8bcc
|
@ -38,7 +38,7 @@ while True:
|
||||||
else:
|
else:
|
||||||
print("Failed to capture image")
|
print("Failed to capture image")
|
||||||
|
|
||||||
# Wait for 5 seconds
|
# Wait for 2 seconds
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
|
||||||
# Release the camera and close all windows
|
# Release the camera and close all windows
|
||||||
|
|
1
judge.py
1
judge.py
|
@ -47,7 +47,6 @@ def analyze_posture(base64_image):
|
||||||
{
|
{
|
||||||
"type": "image_url",
|
"type": "image_url",
|
||||||
"image_url": f"data:image/jpeg;base64,{base64_image}",
|
"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"
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue