Customize regions grid overlay API (#8668)

* Customize regions grid overlay

* Update http.py

Fix
This commit is contained in:
tpjanssen
2023-11-19 15:51:54 +01:00
committed by GitHub
parent 934b16723b
commit 8864e33d1c
2 changed files with 26 additions and 7 deletions

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.