Page 1 of 1

Alarm Frame Count

Posted: Mon Feb 10, 2020 3:41 pm
by ruralcdn
Alarm Frame Count, found under the buffers tab in my source. What should this be set to?

I currently have it set to 5 and I get many videos with 1 alarm frame only.

Typical capture will be...

Alarm Frames 1
Total Score 1
Avg. Score 1
Max. Score 1

It's usually a snowflake that passed very quickly past close to my camera.

Re: Alarm Frame Count

Posted: Mon Feb 10, 2020 5:24 pm
by iconnor
It is supposed to act so that it takes 5 alarmed frames before triggering recording. I have seen some cases where it seems to trigger after just 1... but when I look closely I havn't been able to figure out why. Kindof a known bug. Hopefully I'll figure it out soon.

Alarm Frame Count

Posted: Sun Aug 23, 2020 7:51 am
by fontiano
Same problem here:

Re: Alarm Frame Count

Posted: Tue Aug 25, 2020 4:18 pm
by iconnor

Re: Alarm Frame Count

Posted: Tue Oct 06, 2020 3:23 pm
by iconnor
I've fixed this in master, will include it in 1.34.22.

The exact case that caused it was alarm_frame_count > 1, preeventcount=0.

Re: Alarm Frame Count

Posted: Thu Oct 08, 2020 11:13 am
by fontiano
thank you very much

Re: Alarm Frame Count

Posted: Mon Sep 11, 2023 1:16 pm
by mrd
Old thread, I know, but I think I'm seeing the same behavior on 1.37.42

Any chance this regressed?

I have two active zones for the monitor.
I was getting false alarms and raised the alarm frame count to 3, but still see the same type of false alarms with alarm frames < 3. These are the exact events I was trying to get rid of. Mostly rain, fog and morning light. It seems like if this worked as I expected it to, I would have solved my problem, but maybe I misunderstand its functionality?

Re: Alarm Frame Count

Posted: Mon Sep 11, 2023 2:19 pm
by iconnor
Are you doing detection on every frame, or a say 2fps or something? There is an issue where, if we are skipping frames and doing every third frame, then we get to the alarm frame count value very quickly because we skipped 3 frames.

Re: Alarm Frame Count

Posted: Mon Sep 11, 2023 2:40 pm
by mrd
I see that the default under the "Analysis" settings is set to "Analysis FPS = 2".
I did not change this setting from the default. What should it be set to for a stream sending 15fps?

Thanks

Re: Alarm Frame Count

Posted: Wed Sep 13, 2023 2:50 pm
by iconnor
It can be anything you want. Clear it if you want to do detection on every frame. I find that 2fps is sufficient to detect motion and saves a lot of cpu.

Re: Alarm Frame Count

Posted: Wed Sep 13, 2023 3:21 pm
by mrd
Thanks

Re: Alarm Frame Count

Posted: Sun Jan 28, 2024 6:17 pm
by mrd
I know this a dead horse, but it is so painful for my setup. I get hundreds of alarms from rain and snow and they are all below the currently configured Alarm Frame count = 5.

Is this a bug still? I can't seem to work around it on 1.37.46

Re: Alarm Frame Count

Posted: Sun Jan 28, 2024 7:28 pm
by iconnor
The answer to rain and snow is object detection.

Re: Alarm Frame Count

Posted: Mon Jan 29, 2024 2:30 am
by mrd
Agreed, but it isn't built in yet correct?

Also, this still seems like key functionality that at least doesn't work as expected for me. Am I doing something wrong? I must be if no one else is feeling this pain.