Urgh
This commit is contained in:
@@ -29,5 +29,9 @@ class GameService:
|
||||
encoded_frame = cv2.imencode('.jpg', img)
|
||||
image_bytes = encoded_frame[1].tobytes()
|
||||
headers = {'Content-Type': 'image/jpeg'}
|
||||
response = requests.post("https://192.168.15.125:1880/party/image", data=image_bytes, headers=headers)
|
||||
response = requests.post(
|
||||
"https://192.168.15.125:1880/party/image",
|
||||
data=image_bytes,
|
||||
headers=headers,
|
||||
verify=False)
|
||||
print(response.status_code)
|
||||
Reference in New Issue
Block a user