Search found 45 matches
- Mon Jun 23, 2008 7:14 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Further reduce CPU utilization.
In the usual place at http://www.dgmo.org/zoneminderpatches is patch #6. This implements decimation. The motion detection now runs using a 1/4 size image (1/2 the width, 1/2 the height). With this patch, zma is now using less CPU than zmc, and I'm processing 45 fps on a 1.6GHz CPU @ ~ 75% CPU. NOTE ...
- Sat Jun 21, 2008 9:51 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
PS: It would be helpful is people could mention what most of their false alarms come from? My top sources are cameras changing light levels, overcast changing to/from sunlight, and large moving shadows (in that order). My patch takes care of about 70% of the type events, but can't do 100% without ...
- Sat Jun 21, 2008 9:35 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
The big item on my list that looks like a fair amount of work, but a lot of value, is to just add training. So you can go over past events and say 'false alarm', and it learns which ones are false alarms. The key problem here is data reduction. It's impractical to try and train a bayesian network ...
- Thu Jun 19, 2008 10:11 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
- Thu Jun 19, 2008 7:04 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Just posted latest code at http://www.dgmo.org/zoneminderpatches Mostly minor changes to tweak the settings. I'm running all cameras at 10 fps, with transparency set to 10%, and it's performing pretty well. moOd: Which delta image is that? /tmp/blend*.jpeg or /tmp/sq*.jpeg? That looks fine for a ...
- Sat Jun 07, 2008 5:19 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Updated patch at http://www.dgmo.org/zoneminder-1.23.3-motion-4.diff This has higher thresholds, and much, much lower CPU usage. (Less than half what was previously using). Just for future reference; calculations are free, accessing memory is expensive. time in ::Blend dropped by 30% switching from ...
- Mon May 26, 2008 8:27 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Hm. I applied your latest patch and have been running it for about 30 mins now. It's still running in alarm state.. and doesn't seem to be calming down. I'm still running with my old settings from the previous patch that worked fine. Should I adjust any parameters with this new one? Yes, I need to ...
- Mon May 26, 2008 10:14 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
- Sun May 25, 2008 8:13 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
There's an updated patch at http://www.dgmo.org/zoneminder-1.23.3-motion-3.diff The changes are: #1. Use a multiplicative light level model. This basically means that if the image average values change by 5%, then the reference image values are also scaled 5%. (Previously, it use to use an additive ...
- Fri May 23, 2008 11:52 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
I've also discovered that average pixel and blobs are ignored, even after applying the latest patch by mor released on this forum. My settings are working pretty well now. The only thing I'm getting false triggers from is all sudden changes my camera does to compensate lightning. Pretty annoying ...
- Wed May 21, 2008 12:28 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Are you referring to 'Reference Image Blend %ge' in the monitor config (mine is currently 2), or a value in the source code? Where is 'minimum number of frames to alarm'? Are you referring to 'Alarm Frame Count' in the monitor config? Yes and yes. For 10fps, 2% may be on the low side. If I get time ...
- Tue May 20, 2008 7:56 pm
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
- Tue May 20, 2008 6:05 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
Hi. This image was impressive! I presume, some more advanced functions like object removal and placement detections could be developed with this approach? Because you already have the ongoing "state" of the background, and can detect whether something was added or removed? Maybe. :) Not 100% sure ...
- Mon May 19, 2008 8:58 am
- Forum: ZoneMinder Previous Versions
- Topic: Better motion detection?
- Replies: 99
- Views: 149886
The short answer to that is 'no'. The longer answer is: It's not change that's important, so much as constant change. If an area is always different from the blended image, than that difference will be reduced in importance over time until it's ignored. For example, if a pixel is constantly changing ...
- Sat May 17, 2008 11:04 pm
- Forum: User Contributions
- Topic: Bugs in zm_buffer.h and zm_buffer.cpp
- Replies: 2
- Views: 4380
Ah-hah! Thanks for this. I'm ashamed to say I hacked around this in zmc by changing it simply to not exit if it got a correct image. I thought it was my cameras producing that junk :) I'll put this patch into my source tree. Ps: You may want to consider using 'diff -u' to generate patches. It makes ...