Page 1 of 1

bypassing/modifying zma

Posted: Tue Feb 06, 2007 9:43 pm
by acrid
i saw a presentation about tracking people, and it was quite interesting. the approach for detecting motion was, to detect the background first :)
i would like to try to use this with zm.

any suggestings where to start? i love modular things, so maybe the best way would be that zma just gives the frames away and gets feedback by the new analysis part. or is

Code: Select all

ln -s new_detection_stuff zma
the better way?

Posted: Tue Feb 06, 2007 10:34 pm
by zoneminder
I'm not sure I 100% understand what you are after, but you can access the captured frames by just connecting to the shared memory directly as it is being written to by the capture daemon. You can then do whatever processing you like on them. I would suggest not worrying about what you call the program at this stage and just running a zmc directly and your program to access the frames until you are sure it works.

Posted: Wed Feb 07, 2007 1:18 am
by cordel
zma only job in life is to analize images in shared memory and look for differences and produce an alarm according to your zone settings. So I think what your looking for is already in place. If you place a camera into any setting other than modect or mocord, zma will not be in use.

Also ZM already has a tracking feature available so it might be in your best interest to enhance it if you can since it's already started.