Image Analysis  

Developer: VTMikel's Plugins     Like this plugin? Show your appreciation!
Category: Events and Actions
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.vtmikel.imageanalysis
Latest release: v1.0.7 released on June 7, 2018
Requires: Indigo v7.0.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

Indigo-Image-Analysis

Indigo (http://www.indigodomo.com) plugin for Google Vision and Amazon Rekognition, allowing home automation integration with the two services.

Requirements

A Google Cloud or Amazon AWS. In order to make the plugin usefeul to you, you'll need some kind of web-enabled camera that is integrated into your Indigo setup

Features

Events:

  • 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 and AWS both support things like the likelihood that the face is showing joy, anger, sorrow, etc. I have not implemented those and this information is stored but ignored for now.

  • Label (Object) Detection - Looks for objects in photos. Easiest way to understand Google and Amazon's dictionary is test with your own images and see what results typically come back. Typical use cases is to detect the presence of a person, automobile, pet.

  • OCR (Google Vision only) - 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.

  • Logo Detection (Google Vision only) - Detects logos!

Actions:

  • Send Image - This Action sends an image to Google Vision API. Images can be local to your Indigo Server or available via HTTP. The web server needs to be accessible to Google's servers (not just the Indigo Server) for HTTP to work. The location/URL can be set statically in the Action config, or via Indigo variable.

Install

  1. Get a AWS or Google Account, and API key if you dont have one
  2. For Google Vision, enable the Google Vision API for your Account
  3. Install and configure the plugin

Configure

  1. Add your API key(s) to the plugin via the configuration menu
  2. Set up events using Plugins -> Image Analysis -> Setup Events
  3. Create actions to send an image to Google Vision or AWS Rekognition
  4. Create triggers to react to the events you created in step #1

Note: This plugin does not require to create any devices.

Release details
Released on: June 7, 2018
Requires: Indigo v7.0.2+
Changes in this release

Updated the method to update the plugin

Release details
Released on: Nov. 30, 2017
Requires: Indigo v7.0.2+
Changes in this release

Updates for the indigo plugin store.

Release details
Released on: Oct. 9, 2017
Requires: Indigo v7.0.2+
Changes in this release

v1.0.4