From e1f5bfc491584628d2460a1790b7e217d32966ee Mon Sep 17 00:00:00 2001 From: Laurent Date: Wed, 31 Dec 2025 14:29:45 +0100 Subject: [PATCH] ... --- rpi/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpi/main.py b/rpi/main.py index 7cdf5be5..2ae12ef0 100644 --- a/rpi/main.py +++ b/rpi/main.py @@ -65,7 +65,7 @@ def start_party(): def make_move(): try: frame, fen = game_service.make_move() - encoded_frame = cv2.imencode('.jpg', frame, [int(cv2.IMWRITE_JPEG_QUALITY), 80]) + encoded_frame = cv2.imencode('.jpg', frame, [int(cv2.IMWRITE_JPEG_QUALITY), 80])[1].tobytes() print(fen) headers = {'Content-Type': 'image/jpeg'}