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

Discussion topics related to mobile applications for ZoneMinder
Post Reply
User avatar
asker
Posts: 941
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker » Wed Oct 03, 2018 7:04 pm

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
For more details, please read all the comments in the script files here

Sample:
Image
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
asker
Posts: 941
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker » Sat Oct 06, 2018 10:11 pm

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
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
asker
Posts: 941
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker » Wed Oct 10, 2018 12:51 pm

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)
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

User avatar
asker
Posts: 941
Joined: Sun Mar 01, 2015 12:12 pm

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

Post by asker » Tue Oct 16, 2018 4:51 pm

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
--
My collection of ZoneMinder learnings:
https://wiki.zoneminder.com/Various_ZM_thoughts

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest