Nocifer wrote: ↑Fri Oct 26, 2018 10:24 am
Disclaimer: this is just based on my (limited) knowledge of zone configuration, and also without taking into account advanced techniques like using OpenCV filters to detect specific shapes and their changing in time, which would not only require advanced knowledge and IMHO too much time for your particular use case, but would also have you installing additional software (e.g. if I'm not mistaken zmNinja's in its recent versions has preliminary support for using OpenCV in its motion detection algorithms, but it's still in a somewhat experimental stage).
Excuse me for trolling around looking for anyone who says the magic words ("OpenCv" or "machine learning"). I'm a genie who keeps popping up when these words are uttered.
zmeventserver has incorporated machine learning, based on openCV, yes. It's not really only specific to zmNinja, but admittedly, most people who use it also use zmNinja. People using MQTT have also started using it (no zmNinja). More details
here (its in the mobile app forum, but really this is not related to the mobile app). Note that zmNinja does not do any motion detection on its own. ZM does. The event server (colocated with ZM) then applies additional intelligence via these techniques.
I've been using it for just around a month now and its made a huge difference to me. I finally have a system I can tell my friends does a better or similar job to others like Nest and Logitech. Most homeowners want to know when people or cars come into their zones.
Status:
1. It's not beta anymore - its very stable at the moment, but yeah, you'll need to see if it can be run on your system. I've published performance results etc.
2. While I've written that I won't support these scripts, that statement is mostly for noobs who send me one-liners. For interested folks who can tinker, know how to install python packages, know how to use the command line and inspect logs, happy to help out.
Situations like these (smoke), or in my case, deep/heavy outdoor shadows make it nigh impossible to do a good job with just zones and blobs. If the OPs interest is to detect people or common objects, by all means, once you have the setup done, detection will be way ahead of what ZM's zones offer.
This is an example of extreme shadows/light my outdoor cameras deal with which makes blob/zones very hard to tweak and which the openCV model had no issues in marking as "person detected" with a timely notification. It's not perfect, of course, but miles ahead of what I expected.
That being said, the "event server" is only for managing notifications. ZM will record anytime a zone is triggered. What the event server will do:
1. Invoke the ML (machine learning scripts) to detect objects of interest. If found, only then will it send a notification out (to zmNinja, or MQTT listeners or any web socket listener)
2. If an object of interest is found, it will also annotate it in the ZM events DB
3. It will _not_ however, stop ZM from recording events that don't have an object detection