Why aren't plugins just integrated?
Plugins are loaded separately from the main Shinobi application.
Date Added : Thu Jul 27 2017 09:35:14 GMT+0000 (Coordinated Universal Time)
Last Updated : Thu Jul 27 2017 09:35:14 GMT+0000 (Coordinated Universal Time)
Not everyone uses motion detection or object tracking and the libraries required can be bothersome to install, based on the OS. For example if I make shinobi-opencv.js a feature then everyone will be required to install OpenCV just to use basic features in Shinobi. This also allows us to swap the plugin with a custom one or run it on another machine entirely. Sharing the work between multiple machines can be a great way to optimize performance.
The added benefit is that if the plugin crashes it won't interfere with the main application and once the connection automatically returns it will operate as expected.