[Solved]Sequential events should be a single event

Discussions related to the 1.36.x series of ZoneMinder
Post Reply
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

[Solved]Sequential events should be a single event

Post by lyallp »

I have recently started playing with Zoneminder once more.
I have successfully configured one Web Cam (Logictech C922) on my Gentoo Linux PC.
All seems to working well, I have it pumping out emails to me when events are triggered.
One small hitch, however.
I seem to end up with two shorter, consecutive events, rather than one longer one.
I have my camera looking out in my back yard and if I do a walking loop around the yard, the first event triggers when I start the loop, it then stops about 15 seconds in, and starts a new event where the previous event left off, showing me basically where the previous event left of, walking around the rest of the yard.
I would prefer that I received one longer event.
I only have one webcam and only one zone for that webcam, so it's not as though I am moving from zone to zone.
Am I overlooking some 'event length' parameter?
Happy to provide settings values, if required.
Last edited by lyallp on Fri Oct 29, 2021 7:13 am, edited 1 time in total.
...Lyall
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Sequential events should be a single event

Post by Magic919 »

Post Event Image Count. Under Buffers.

https://zoneminder.readthedocs.io/en/st ... nitor.html

Your exact situation is covered in the docs ^
-
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

Re: Sequential events should be a single event

Post by lyallp »

Thanks for the quick reply.
I already had that at 10 frames pre and post, but my webcam is going gang busters at 30 fps, so I will try again, with with 20 (2/3rds of a second).
I am not entirely sure that does cover my situation, however.
I never leave the zone when the first event stops and the second starts.
If I concatenated the two events together, I would have a relatively seamless series of images.
I will have a closer look at the individual frames tomorrow (it's dark now, the camera sees nothing)
...Lyall
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Sequential events should be a single event

Post by Magic919 »

Leaving the zone or not doesn't really matter. Your zone set up ceases to recognise the motion (pixel changes). You might be able to optimise there.

Crank it up and see how you get on.
-
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

Re: Sequential events should be a single event

Post by lyallp »

Well, my zone is capable of detecting bird shadows flying past, and firing off an event.
You would think, a human, taking up around 1/3 vertical height of the image, walking around, would trigger continuously until they left the frame.
Would a screen shot of the actual alarm frames help?
When the thunderstorm in my area is over, I will try a couple more laps of the back yard and see if I can post any more info... :)
...Lyall
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

Re: Sequential events should be a single event

Post by lyallp »

Ok, done a lap, examined each frame of the event.
Really quite interesting where ZM thinks the blob is.
BlobInBackYardAlarm.jpg
BlobInBackYardAlarm.jpg (133.05 KiB) Viewed 933 times
I would have thought it would detect me, but for some reason, it's detecting me where I was?
In later frames, it only detects my shirt, not pants, shoes or head or even patches of shed where I was.
My zone configuration is as follows
ZoneConfiguration.jpg
ZoneConfiguration.jpg (255.63 KiB) Viewed 933 times
As an aside, I have events which have been triggered by lightning, I thought I had that covered by Overload frame count. 10 frames should do on a 30fps capture?
...Lyall
Magic919
Posts: 1381
Joined: Wed Sep 18, 2013 6:56 am

Re: Sequential events should be a single event

Post by Magic919 »

I don't get involved with setting up zones.

I found this useful - https://wiki.zoneminder.com/Understandi ... or_Dummies

But beyond that I just use person detection.
-
User avatar
lyallp
Posts: 137
Joined: Fri Nov 26, 2010 2:36 am
Location: Adelaide, Australia

Re: Sequential events should be a single event

Post by lyallp »

I think I might have found a parameter that affects this.
In the Camera settings, not the zone settings.
Blendage.
Fiddling with the blendage parameters seems to help.
...Lyall
Post Reply