mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Update api.md
Fixed example URL for the viewing higher resolution mjpeg stream.
This commit is contained in:
parent
10c37a3036
commit
d2bc2c20c1
@ -22,7 +22,7 @@ Accepts the following query string parameters:
|
|||||||
| `motion` | int | Draw blue boxes for areas with detected motion (0 or 1) |
|
| `motion` | int | Draw blue boxes for areas with detected motion (0 or 1) |
|
||||||
| `regions` | int | Draw green boxes for areas where object detection was run (0 or 1) |
|
| `regions` | int | Draw green boxes for areas where object detection was run (0 or 1) |
|
||||||
|
|
||||||
You can access a higher resolution mjpeg stream by appending `h=height-in-pixels` to the endpoint. For example `http://localhost:5000/back?h=1080`. You can also increase the FPS by appending `fps=frame-rate` to the URL such as `http://localhost:5000/back?fps=10` or both with `?fps=10&h=1000`.
|
You can access a higher resolution mjpeg stream by appending `h=height-in-pixels` to the endpoint. For example `http://localhost:5000/api/back?h=1080`. You can also increase the FPS by appending `fps=frame-rate` to the URL such as `http://localhost:5000/api/back?fps=10` or both with `?fps=10&h=1000`.
|
||||||
|
|
||||||
### `/api/<camera_name>/<object_name>/best.jpg[?h=300&crop=1]`
|
### `/api/<camera_name>/<object_name>/best.jpg[?h=300&crop=1]`
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user