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.
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:
And also:
I no longer work on zmNinja, zmeventnotification, pyzm or mlapi. I may respond on occasion based on my available time/interest.
- "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).