How to deal with large light changes?

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
Blazer
Posts: 234
Joined: Sun Jun 05, 2005 12:57 pm

How to deal with large light changes?

Post by Blazer »

I wish to monitor an area that has a motion-activated flood light (at night), which lights up most of the area that is in the FOV of the camera.

Can anyone suggest the best settings for ZM so that it will not trigger when the light goes on or off, yet will still trigger if a large blob/person moves? The camera itself also has infared so should be able to detect motion even if the flood light does not activate.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

You will have to try to tweak your max alarm settings but as I'm sure your aware, the analysis can not differentiate between what is a person moving and lighting changes. Only the percentage of the diff alarm settings. The only true way around it is to have a PIR trigger ZM.
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

It ain't easy... It's possible to do some filtering by having small preclusive zones which will only be triggered when the light switches, but you do run the risk of hiding real events. The main problem is that the reference image needs to be altered rapidly, and often ZM will trigger not on the initial switching, but a few cycles later when the differences between reference and actual have subsided from the initial wipe-out.
Rick Hewett
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

This is an issue that I think needs to be approached in a new and slightly different way. I am thinking of adding something like a suppresion zone which would be like a preclusive one except it could overlap existing zones (in other words be as big as the whole image) and if triggered (by a lighting change) would suppress motion detection for a determined period/number of frames. Something along those lines anyway. Or just add in that if a zone has maxima set then any changes that exceed them will result in that zone being suppressed for a period.
Phil
User avatar
MJN
Posts: 262
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK

Post by MJN »

In this particular case, given that the light is motion-activated, would it not be advantageous to allow the light-induced trigger given there is motion and hence it presumably warrants recording?

Mathew
User avatar
lazyleopard
Posts: 403
Joined: Tue Mar 02, 2004 6:12 pm
Location: Gloucestershire, UK

Post by lazyleopard »

The frames immediately after a switch event tend to have zones at maximum score because everything's changed and the current reference is no use any more. Some way to change the rate at which the reference image is adjusted might be good. Say the detecting zone triggers, so the reference percentage runs at (say) 30% instead of 3% until the zone goes quiet?

Any other ideas how to get from swamped to useful detection reference as quickly as possible?
Rick Hewett
nelsda
Posts: 11
Joined: Mon Feb 12, 2007 5:18 am
Location: Kelso, WA, USA

Post by nelsda »

I have had great luck creating a fast acting preclusive zone which is either where the light is at or at a small spot that lights up quickly. I only occasionally get an event trigger when the light trips because of wind or something like it and not because a person walked through.
ml35
Posts: 5
Joined: Tue Nov 03, 2020 12:28 pm

Re: How to deal with large light changes?

Post by ml35 »

Hi, it's me the dead thread digger; 13 years later, has any work progressed on this? :D
Running 1.34.22-bionic1 from iconnor ppa
Last edited by ml35 on Tue Nov 03, 2020 12:43 pm, edited 1 time in total.
User avatar
MJN
Posts: 262
Joined: Wed Jan 17, 2007 10:29 am
Location: Wiltshire, UK

Re: How to deal with large light changes?

Post by MJN »

What's the problem you're trying to solve? Is it an issue for you having these false positives?
ml35
Posts: 5
Joined: Tue Nov 03, 2020 12:28 pm

Re: How to deal with large light changes?

Post by ml35 »

MJN wrote: Tue Nov 03, 2020 12:42 pm What's the problem you're trying to solve? Is it an issue for you having these false positives?
yes, here is a sample
ml35
Posts: 5
Joined: Tue Nov 03, 2020 12:28 pm

Re: How to deal with large light changes?

Post by ml35 »

?!
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: How to deal with large light changes?

Post by Magic919 »

Interrobang.
-
Locked