bypassing/modifying zma

Support and queries relating to all previous versions of ZoneMinder
Locked
User avatar
acrid
Posts: 68
Joined: Sun Aug 24, 2003 10:26 pm
Location: Germany

bypassing/modifying zma

Post 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?

Code: Select all

$> man woman
$> Segmentation fault (core dumped)
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post 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.
Locked