Versioner sammenlignet

Nøgle

  • Linjen blev tilføjet.
  • Denne linje blev fjernet.
  • Formatering blev ændret.

...

Also the setup of the docker container may require som tweaking, I You have (or not have) the Google Coral.


Starting frigate:

Kodeblok
docker run -d \  
  --name frigate \
  --restart=unless-stopped \
  --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 \
  --device /dev/bus/usb:/dev/bus/usb \
  --shm-size=256m \
  -v /mnt/LaCie/nas/frigate:/media/frigate \
  -v /opt/frigate/config.yml:/config/config.yml:ro \
  -v /etc/localtime:/etc/localtime:ro \
  -e FRIGATE_RTSP_PASSWORD='***********' \
  -p 5000:5000 \
  -p 1935:1935 \
  ghcr.io/blakeblackshear/frigate:master-433bf69-tensorrt

...

Kodeblok
2023-04-19 21:39:43.672054592  [INFO] Starting Frigate...
2023-04-19 21:39:45.123307770  [2023-04-19 21:39:45] frigate.app                    INFO    : Starting Frigate (0.12.0-433bf69)
2023-04-19 21:39:45.170477205  [2023-04-19 21:39:45] peewee_migrate                 INFO    : Starting migrations
2023-04-19 21:39:45.175774528  [2023-04-19 21:39:45] peewee_migrate                 INFO    : There is nothing to migrate
2023-04-19 21:39:45.204354047  [2023-04-19 21:39:45] detector.coral                 INFO    : Starting detection process: 290
2023-04-19 21:39:48.422390105  [2023-04-19 21:39:45] frigate.app                    INFO    : Output process started: 292
2023-04-19 21:39:48.422396583  [2023-04-19 21:39:45] frigate.comms.dispatcher       INFO    : Turning off snapshots for frigate_carport_cam
2023-04-19 21:39:48.422404731  [2023-04-19 21:39:45] frigate.app                    INFO    : Camera processor started for frigate_front_door_cam: 298
2023-04-19 21:39:48.422409419  [2023-04-19 21:39:45] frigate.app                    INFO    : Camera processor started for frigate_garden_cam: 300
2023-04-19 21:39:48.422426668  [2023-04-19 21:39:45] frigate.app                    INFO    : Camera processor started for frigate_behind_house_cam: 302
2023-04-19 21:39:48.422431296  [2023-04-19 21:39:45] frigate.app                    INFO    : Camera processor started for frigate_carport_cam: 303
2023-04-19 21:39:48.422434562  [2023-04-19 21:39:45] frigate.app                    INFO    : Capture process started for frigate_front_door_cam: 304
2023-04-19 21:39:48.422459193  [2023-04-19 21:39:45] frigate.app                    INFO    : Capture process started for frigate_garden_cam: 308
2023-04-19 21:39:48.422463190  [2023-04-19 21:39:45] frigate.app                    INFO    : Capture process started for frigate_behind_house_cam: 311
2023-04-19 21:39:48.422466294  [2023-04-19 21:39:45] frigate.app                    INFO    : Capture process started for frigate_carport_cam: 315
2023-04-19 21:39:48.446236449  [2023-04-19 21:39:45] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2023-04-19 21:39:48.446242266  [2023-04-19 21:39:48] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found

I assume the Google Coral is working, but still Frigate is highly CPU intensive for 4 cams:

...