@blakeblackshear Hi there, I am having some issues with the latest update of frigate. I am using the very minimal configuration with just the mqtt and a camera components as explained in the docs. But I am getting this error.
* Starting nginx nginx
...done.
frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
peewee_migrate INFO : Starting migrations
There is nothing to migrate
peewee_migrate INFO : There is nothing to migrate
frigate.app INFO : Camera processor started for back: 36
frigate.app INFO : Capture process started for back: 37
detector.coral INFO : Starting detection process: 33
frigate.edgetpu INFO : Attempting to load TPU as usb:0
frigate.edgetpu INFO : No EdgeTPU detected.
Process detector:coral:
Traceback (most recent call last):
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
delegate = Delegate(library, options)
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/opt/frigate/frigate/edgetpu.py", line 124, in run_detector
object_detector = LocalObjectDetector(tf_device=tf_device, num_threads=num_threads)
File "/opt/frigate/frigate/edgetpu.py", line 63, in __init__
edge_tpu_delegate = load_delegate('libedgetpu.so.1.0', device_config)
File "/usr/local/lib/python3.8/dist-packages/tflite_runtime/interpreter.py", line 154, in load_delegate
raise ValueError('Failed to load delegate from {}\n{}'.format(
ValueError: Failed to load delegate from libedgetpu.so.1.0
I am running this rpi 4 with the latest HA
Hope somebody can help.
Unfortunately coral accelerators seem to be sold out everywhere in Canada so Iâm stuck using my CPU. I have noticed that defining multiple cpu detectors spawns multiple detector processes. Does this provide any performance benefit? I have an i7 4790k if that matters.
detectors:
cpu1:
type: cpu
cpu2:
type: cpu
I tried using the hardware acceleration options for <10gen intel processors but I only ever get a green image appear.
It no longer falls back to the CPU automatically if you donât have a Coral device. You need to update the detector in the config to be a CPU type. See the Readme.
i am still facing issues. The error that I reported has gone with assigning cpu as the detector but the detector is turned off. I am running this in rpi4 4gb inside HA supervised as addon
this is the log.
* Starting nginx nginx
...done.
frigate.app INFO : Creating directory: /tmp/cache
Starting migrations
peewee_migrate INFO : Starting migrations
There is nothing to migrate
peewee_migrate INFO : There is nothing to migrate
frigate.mqtt INFO : MQTT connected
detector.coral INFO : Starting detection process: 33
frigate.app INFO : Camera processor started for back: 36
frigate.mqtt INFO : Turning off detection for back via mqtt
frigate.app INFO : Capture process started for back: 37
What a lovely piece of code.
Just for fun I did install this on my old i7 lenovo laptop (with broken screen).
Itâs running quite well with average cpu load at 40-60% and 5 cams.
However, iâve seen that there is a home integration. Iâm running HA on a RPI4 and would like to run the add on but use the lenovo laptop as a host for Frigate. Is it possible?
And live streams with boundary boxes⌠How to show them in HA?
Edit: found it. http://192.168.1.209:5000/api/mot_parkering?bbox=1
QuestionâŚ
When using a RTMP stream and DETECT streamâŚ
I want to use the bigger stream for RTMP so the quality of the stream is perfect and only do motion detection on the sub stream (low qual).
Im a but confused about the width and height options.
How do I set the width and height for the MAIN stream?
Thatâs one option. However, Iâm using Chrome and php to show multiple streams at the same time. And I love the boundary boxes⌠RTMP is a pain to get working with HTML.