add crop coordinates to state report messages for camera connections
All checks were successful
Build Backend Application and Docker Image / build-docker (push) Successful in 8m43s

This commit is contained in:
Siwat Sirichai 2025-07-13 23:59:51 +07:00
parent 1ff6108d08
commit 8e14897a69

View file

@ -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.