Page 1 of 1

Machine Learning powered object detection support in event notification server

Posted: Wed Oct 03, 2018 7:04 pm
by asker
I just released 1.5 of the event notification server that lets you insert custom hook scripts before alarms are sent out. I've also provided a near realtime example of how people detection can be achieved for events that are detected by ZM and before the notification gets sent out to you.

Brief description: here
Longer description: here


Sample:
Image

Re: hook support in event notification server (sample person detection hook added)

Posted: Sat Oct 06, 2018 10:11 pm
by asker
I've now added 2 different detectors:
a) the first one is fast and uses HOG. Image was above
b) A second one that uses DNN and YoloV3 and is slower but more accurate. Like so:

Image

And also:

Image

Re: hook support in event notification server (sample person detection hook added)

Posted: Wed Oct 10, 2018 12:51 pm
by asker
I just fixed an important bug last night.
As it turns out if alarms are generated the same time as another monitor dies, the alarm doesn't get caught.

Please make sure you are on version 2.0 and updated on Oct 10, 2018 (US tz) (I made some changes without bumping the version)

Re: hook support in event notification server (sample person detection hook added)

Posted: Tue Oct 16, 2018 4:51 pm
by asker
The detection text is now written into the ZM DB as well and there is a new commit to master today, so your console will look like this:

Image

Re: hook support in event notification server (sample person detection hook added)

Posted: Fri Nov 16, 2018 8:08 pm
by nrbell
Thanks so much for implementing this! I just set this up last night and it works great.

Re: hook support in event notification server (sample person detection hook added)

Posted: Sat Nov 24, 2018 12:56 am
by asker
Nice! I'm always happy to see users get this working successfully.

Re: hook support in event notification server (sample person detection hook added)

Posted: Sun Nov 25, 2018 12:54 am
by asker
The next version of zmNinja will allow an option to only view events that have detected objects.

Image

Re: hook support in event notification server (sample person detection hook added)

Posted: Mon Dec 24, 2018 1:30 pm
by asker
The updated scripts now support the following:

- "bestmatch" as a value for "FID" -> This will try to analyze the first alarmed frame for objects and if it fails, it will analyze the frame with the highest score. Both these comparisons will be done in the same run instance, so the model won't have to be loaded twice (faster than manually calling the script twice as model load is slow).

- better installation instructions

https://github.com/pliablepixels/zmeven ... ok_example