summaryrefslogtreecommitdiff
path: root/doc/ipcam_motion_worker.md
diff options
context:
space:
mode:
authorEvgeny Zinoviev <me@ch1p.io>2022-06-11 22:55:48 +0300
committerEvgeny Zinoviev <me@ch1p.io>2022-06-11 22:55:48 +0300
commitcf34b77a5f84e552f8cf6f3ce025a0684d651d2c (patch)
tree9f8ded05a64a98de4fcbbadad0ee3b0df59a223e /doc/ipcam_motion_worker.md
parent9fb7e0fd02e289456832b8700311c2db080ed6da (diff)
ipcam_motion_worker: move dvr-scan options to config
Diffstat (limited to 'doc/ipcam_motion_worker.md')
-rw-r--r--doc/ipcam_motion_worker.md11
1 files changed, 7 insertions, 4 deletions
diff --git a/doc/ipcam_motion_worker.md b/doc/ipcam_motion_worker.md
index 8a79133..9a5e7b0 100644
--- a/doc/ipcam_motion_worker.md
+++ b/doc/ipcam_motion_worker.md
@@ -14,7 +14,6 @@ Local worker config example:
```
api_url=http://ip:port
camera=1
-threshold=1
```
Remote worker config example:
@@ -22,14 +21,18 @@ Remote worker config example:
remote=1
api_url=http://ip:port
camera=1
-threshold=1
fs_root=/var/ipcam_motion_fs
fs_max_filesize=146800640
```
-Optional fields:
+Optional fields (dvr-scan options):
```
roi_file=roi.txt
+threshold=1
+min_event_length=3s
+downscale_factor=3
+frame_skip=2
+dvr_scan_path=
```
`api_url` must point to `ipcam_server` instance.
@@ -56,4 +59,4 @@ apt-get install python3-opencv
pip3 install drv-scan
```
-Then add to `~/.local/bin` to `$PATH`. \ No newline at end of file
+Then add to `~/.local/bin` to `$PATH`.