diff --git a/docs/docs/configuration/cameras.md b/docs/docs/configuration/cameras.md index d8fefed8f..622d4869f 100644 --- a/docs/docs/configuration/cameras.md +++ b/docs/docs/configuration/cameras.md @@ -48,3 +48,28 @@ cameras: ``` For camera model specific settings check the [camera specific](camera_specific.md) infos. + +## Rotate Cameras + +Cameras can be rotate to '90', '180' or '270' (-90) degrees by using `rotate: XX`. +The camera will only rotate to valid arguments: '90', '180' or '270', invalid arguments disable the rotation. + +```yaml +mqtt: + host: mqtt.server.com +cameras: + back: + enabled: True + ffmpeg: + inputs: + - path: rtsp://viewer:{FRIGATE_RTSP_PASSWORD}@10.0.10.10:554/cam/realmonitor?channel=1&subtype=2 + roles: + - detect + - record + rotate: 90 + detect: + width: 1280 + height: 720 +``` + +The default value is '0', no rotation enable. diff --git a/docs/docs/configuration/index.md b/docs/docs/configuration/index.md index 976312250..fcd145f94 100644 --- a/docs/docs/configuration/index.md +++ b/docs/docs/configuration/index.md @@ -427,6 +427,9 @@ cameras: # Optional: camera specific output args (default: inherit) # output_args: + # Optional: rotation for this camera, allowed values are: 90, 180 or 270 (-90). (default: shown below) + rotate: 0 + # Optional: timeout for highest scoring image before allowing it # to be replaced by a newer image. (default: shown below) best_image_timeout: 60