Hello,
I've built a plugin to utilize Google's Vision API that I'm testing. You can read about it yourself here: https://cloud.google.com/vision. The first 1,000 images analyzed each month are free.
If you are interested in how it works, I recommend taking a snapshot using your own security camera and sending it to the service using the above site.
The plugin allows you to create dynamic events of three different types:
- Face Detection - Looks for faces in the image. You can configure the level of certainty that Google returns back to the plugin. Also supported is a flag to look for "no faces detected". Google's API's also support things like the likelihood that the face is showing joy, anger, sorrow, etc. I have not implemented those.
- Label (Object) Detection - Looks for objects in photos. Easiest way to understand Google's dictionary is to use debugging and send your own image a few times to the service. You'll see the labels that Google uses for things like a car, automobile, etc.
- OCR - I haven't tested this thoroughly, but the plugin can trigger an event if Google is able to OCR text in a image and you are looking for a particular substring.
Note: This plugin does not require to create any devices.
Once you create the events, you can create triggers for those events in Indigo.
Finally, you trigger the processing of the events by sending an image to Google Vision, an Action that the plugin supports. Images can be local to your Indigo Server or via HTTP protocol. The location/URL can be set statically or via Indigo variable.
For me, I'm using the plugin to occasionally analyze images from my home security cameras. This works well with SecuritySpy's feature to upload a web camera image to a remote server.
Plugin can be downloaded here: https://github.com/mlamoure/Indigo-Goog ... n/releases