You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -21,7 +21,7 @@ Builds are tested and verified on the following platforms:
21
21
- OpenMax and MMAL on the RaspberryPi 3B+
22
22
23
23
# Getting started
24
-
Choose the appropriate docker container for your machine.
24
+
Choose the appropriate docker container for your machine. Builds are published to [Docker Hub](https://hub.docker.com/repository/docker/roflcoopter/viseron)
25
25
<details>
26
26
<summary>On a RaspberryPi 3b+</summary>
27
27
Example Docker command
@@ -57,7 +57,9 @@ Choose the appropriate docker container for your machine.
57
57
privileged: true
58
58
```
59
59
Note: Viseron is quite RAM intensive, mostly because of the object detection but also because of the lookback feature.\
60
-
Therefore i do not recommend using an RPi unless you have a Google Coral EdgeTPU.
60
+
I do not recommend using an RPi unless you have a Google Coral EdgeTPU, the CPU is not fast enough and you might run out of memory.
61
+
To make use of hardware accelerated decoding/encoding you might have to increase the allocated GPU memory.\
62
+
To do this edit ```/boot/config.txt``` and set ```gpu_mem=256``` and then reboot.
61
63
</details>
62
64
63
65
@@ -158,7 +160,36 @@ If no config is present, a default minimal one will be created.\
158
160
Here you need to fill in atleast your cameras and you should be good to go.
159
161
160
162
# Configuration Options
161
-
## Camera
163
+
## Cameras
164
+
165
+
<details>
166
+
<summary>Config example</summary>
167
+
168
+
```yaml
169
+
cameras:
170
+
- name: Front door
171
+
mqtt_name: viseron_front_door
172
+
host: 192.168.30.2
173
+
port: 554
174
+
username: user
175
+
password: pass
176
+
path: /Streaming/Channels/101/
177
+
width: 1920
178
+
height: 1080
179
+
fps: 6
180
+
motion_detection:
181
+
interval: 1
182
+
trigger: false
183
+
object_detection:
184
+
interval: 1
185
+
labels:
186
+
- label: person
187
+
confidence: 0.9
188
+
- label: pottedplant
189
+
confidence: 0.9
190
+
```
191
+
</details>
192
+
162
193
Used to build the FFMPEG command to decode camera stream.\
@@ -179,6 +210,8 @@ The command is built like this: \
179
210
| hwaccel_args | list | optional | a valid list of FFMPEG arguments | FFMPEG decoder hardware acceleration arguments |
180
211
| codec | str | optional | any supported decoder codec | FFMPEG video decoder codec, eg ```h264_cuvid``` |
181
212
| filter_args | list | optional | a valid list of FFMPEG arguments | See source code for default arguments |
213
+
| motion_detection | dictionary | optional | see [Motion detection config](#motion-detection) | Overrides the global ```motion_detection``` config |
214
+
| object_detection | list | optional | see [Camera object detection config](#camera-object-detection) below | Overrides the global ```object_detection``` config |
182
215
183
216
The default command varies a bit depending on the supported hardware:
184
217
<details>
@@ -205,7 +238,32 @@ The default command varies a bit depending on the supported hardware:
205
238
```
206
239
</details>
207
240
241
+
### Camera object detection
242
+
| Name | Type | Default | Supported options | Description |
| type | str | RPi: ```edgetpu``` <br> Other: ```darknet```|```darknet```, ```edgetpu```| What detection method to use.</br>Defaults to ```edgetpu``` on RPi. If no EdgeTPU is present it will run tensorflow on the CPU. |
@@ -215,15 +273,36 @@ The default command varies a bit depending on the supported hardware:
215
273
| model_width | int | optional | any integer | Detected from model. Frames will be resized to this width in order to fit model and save computing power. I dont recommend changing this. |
216
274
| model_height | int | optional | any integer | Detected from model. Frames will be resized to this height in order to fit model and save computing power. I dont recommend changing this. |
217
275
| interval | float | 1.0 | any float | Run object detection at this interval in seconds. |
218
-
| threshold | float | 0.8 | float between 0 and 1 | Lowest confidence allowed for detected objects |
276
+
|confidence| float | 0.8 | float between 0 and 1 | Lowest confidence allowed for detected objects |
219
277
| suppression | float | 0.4 | float between 0 and 1 | Non-maxima suppression, used to remove overlapping detections |
278
+
| labels | list | optional | any string | A list of [labels](#labels)|
279
+
280
+
### Labels
281
+
| Name | Type | Default | Supported options | Description |
0 commit comments