Local realtime person detection for RTSP cameras

Will frigate+ resolve detection issues i see such as a pile of shoes at the front door or my kids pram sitting in the carport constantly being detected as people? Or am i missing some existing method for fine tuning matches.

Edit… hmm looking at min areas and ratios now

Those are just history-graph objects that I put on my dashboard from the data that can be found in the frigate integration devices.

Hi,

I started to see this in the log

[segment @ 0x558b132a20] Timestamps are unset in a packet for stream 0. This is deprecated and will stop working in the future. Fix your code to set the timestamps properly

what I have to do?

regards

@blakeblackshear How can I enable the all_motion sensors? Every one of my all motion sensors say disabled by integration Frigate.

He didn’t make integration so wrong place to ask question

That has nothing to do with frigate nvr

Your response seems odd and not helpful.

If anyone else knows the more about the all_motion sensors, please let me know. Thanks.

Did you try

Settings >> Devices & Services >> entities(at bottom) >> select entity >> Advanced settings >> enable/disable/hidden option is shown. Select option and “Update”

Yes, thank you - but “_all” always shows “0 objects” and “_all_motion” is always “off”. I also tried adding the “all” object to the detection list (as I see references to it in the integration code) - it made no difference. Essentially I’m just trying to get “motion” events from Frigate in addition to “object detection” events. I opened a GitHub issue for this - thought I’d ask here in case it was something simple.

Issue resolved - these sensors are meant for occupancy and require frigate .11. But the motion sensors I really need will come with frigate integration 3.0.

Just figured I’d add to the thread that I was able to get the mini PCIe Coral working using the StarTech PEX2MPEX that @ukro had mentioned. My motherboard is the Gigabyte Aorus Z390 Pro Wifi and I’m running Ubuntu. Just needed to follow the instructions on the Coral website to get the driver installed.

Note for anyone else that adds this card with this mobo, after installing it and turning the power back on, the board flashed some white lights about 5-10 times over the course of about 30-45 seconds. During this time the machine would not boot - this cost me a lot of time being impatient. Just give it a minute, eventually you should see a green light on the PCI board turn on. The board should be ready to boot then.

I found the mini PCIe to PCIe board at Provantage for $33. It’s on Amazon for a few bucks more.
It required a small tweak to fit on the board though :joy:

1 Like

@Jon123 Mine is better :stuck_out_tongue: :smiley:


1 Like

Potentially dumb question but I couldn’t see an answer in the documentation:

Is there a way to set the main stream of the camera to be used for snapshots?

The current sub stream is not great for snapshots and I’m not super keen on recording as I’m using a Raspberry Pi & don’t want the excessive disk writes.
I can see you can set a different stream for record but I don’t see an option to do the same for snapshots

I read something along the line of…

You can use a higher resolution for detect and set the detect resolution (width and height) lower. By doing this the snapshots, etc have higher resolution but detect uses the lower resolution that was set.

Doing this puts greater strain on cpu.

I haven’t tested this but sound doable

EDIT

A question and a bug…
How can I use the RTMP stream from Frigate? Like in a card for viewing.
The bug:
I was trying to use the RTMP feed in a generic camera integration. Pasting “rtmp://192.168..*/live/driveway_cam” into the stream source crashes Home Assistant instantly when clicking submit. Done several times to verify.
I running HAAS OS on a bare metal PC.

Set up a generic camera using the feed from the camera. Ignore the snapshot line in the configuration. I could never get that to work…
In the snapshot automation configuration, use entity, not device. EG:

service: camera.snapshot
data:
  filename: //media/images/temp.jpg
target:
  entity_id: camera.porch_generic

For UK based folk - RS currently have stock of USB coral devices:

https://uk.rs-online.com/web/p/development-tool-accessories/2017821

FWIW I’ve used a cheap pcie to mini pcie adapter board designed for wifi cards like this one:

Watch out for versions that only have screw holes populated for full length boards though.

2 Likes

hmm i was considering that, but when it had the wifi antena i tought it will not work. But nice. Thx.

I just ditched the whole bracket including the antenna sockets to keep it entirely internal.

1 Like

@ukro You do have me beat! I was staring at the thing for a few minutes after excitedly opening the package then going “well… shit, how am I gonna get this to stay?” and for some reason zip ties never came to mind - but cutting and drilling some thin metal apparently made a lot of sense at the time.

Show off :wink:

2 Likes