From 8e14897a696e1fc33a181a28a7f00464e95c7bca Mon Sep 17 00:00:00 2001 From: Siwat Sirichai Date: Sun, 13 Jul 2025 23:59:51 +0700 Subject: [PATCH] add crop coordinates to state report messages for camera connections --- worker.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/worker.md b/worker.md index c7ad37e..ee3eb67 100644 --- a/worker.md +++ b/worker.md @@ -58,12 +58,17 @@ This message is crucial for the backend to monitor your worker's health and stat "subscriptionIdentifier": "display-001;cam-001", "modelId": 101, "modelName": "General Object Detection", - "online": true + "online": true, + "cropX": 100, + "cropY": 200 } ] } ``` +> **Note:** +> - `cropX` and `cropY` (optional, integer) should be included in each camera connection to indicate the initial crop coordinates for that subscription. + ### 4.2. Image Detection Sent when the worker detects a relevant object. The `detection` object should be flat and contain key-value pairs corresponding to the detected attributes.