Customize regions grid overlay API (#8668)

* Customize regions grid overlay

* Update http.py

Fix
This commit is contained in:
tpjanssen authored and GitHub committed 2023-11-19 14:51:54 +00:00
1 parent 934b16723b
commit 8864e33d1c
2 files changed
+26 -7

No files matched your search

+5
View File
@@ -267,6 +267,11 @@ Returns the snapshot image from the specific point in that cameras recordings.
Returns the latest camera image with the regions grid overlaid.
| param | Type | Description |
| ------------ | ----- | ------------------------------------------------------------------------------------------ |
| `color` | str | The color of the grid (red,green,blue,black,white). Defaults to "green". |
| `font_scale` | float | Font scale. Can be used to increase font size on high resolution cameras. Defaults to 0.5. |
### `GET /clips/<camera>-<id>.jpg`
JPG snapshot for the given camera and event id.