blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
18.23k stars 1.66k forks source link

spray alarm & night time detection levels & cam disconnect alert #1793

Open belmont opened 3 years ago

belmont commented 3 years ago

Feature ideas: 1) one way to disable cameras is to spray paint on them. It would be nice to detect such, for example alarm if the picture is 75% one color. 2) we all know that night time detection is not the best. One way to improve is the lower the detection sensitivity and threshold. However lowering down to 40% for example give way too false alert at daytime, so we need an option to set limits for day and night. 3) camera alive detection: this is not super important as manually anyone can setup a script that pinging the cameras and for example if a cam doesn't respond in 30 seconds, an alarm should be generated in HA

pskuza commented 3 years ago

That would be great.

haggercody commented 3 years ago

when i used blue iris i had my night mode way more sensitive and used no masking where I would mask the road during the daytime. Not many cars at night and also good to capture night cars given that that is when we usually have thefts.

itkfilelor commented 3 years ago

1 way I think the profiles could work is to allow mqtt messages to switch between profiles. I for e.g "manually" control IR/Full color based on the sun's elevation with home assistant. Adding a command to send the profile switch would make little difference.

blakeblackshear commented 3 years ago

It will be easy to detect when the camera switches to IR

itkfilelor commented 3 years ago

It will be easy to detect when the camera switches to IR

That works as well. :grin:

belmont commented 3 years ago

for night / day time detection my current workaround is to load different config daytime and night time. However i already say lowering the detection threshold will create some fake alerts at night Flying bugs detected as person. Probably the ultimate solution would be to have Deepstack on board with custom models with frigate. Deepstack runs on a Jetson or on separate NVIDIA GPU PC.

itkfilelor commented 3 years ago

fake alerts at night Flying bugs detected as person.

A bee set off the tamper alert on my Amcrest floodlight. In daylight, It was "attacking" it. :rofl:

belmont commented 2 years ago

actually you dont need to waste time on cam disconnect alert, we can use the HA ping sensor too https://www.home-assistant.io/integrations/ping/

belmont commented 2 years ago

is there a way to do a testrun frigate on a video file? h264 video. I would like to play night recordings to figure out why it did not detect cars and what level of detection accuracy i should set for night

blakeblackshear commented 2 years ago

@belmont something like this https://docs.frigate.video/contributing#2-create-a-local-config-file-for-testing

belmont commented 2 years ago

thanks this is very handy for testing with videos

Sceptersax commented 1 year ago

testing with videos would be really handy for me but the link above expired...

NickM-27 commented 1 year ago

here is an updated link https://docs.frigate.video/development/contributing#2-modify-your-local-config-file-for-testing

Sceptersax commented 1 year ago

Thanks @NickM-27. You are literally everywhere lol

zuccheroch commented 3 months ago

In addition to spray paint, with doorbell cameras a simple technique is to put a piece of tape over the lens. It could also be a non-malicious event where someone tapes an advert that obscures the lens. Either way, it would be beneficial to detect this impairment and send an alert.

pbassut commented 3 months ago

Anyone found at least a work around for this?