Skip to content

Fire Alarm using Watson Visual Recognition This project is a how-to guide on using Watson Visual Recognition service to analyse an image and based on a trigger word then send a event command to IoT Device.In this example node-red is used to create an image upload form which sends the image to Watson Visual Recognition and trigger an iot device w…

Notifications You must be signed in to change notification settings

krishnac7/IotImageAnalysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Fire Alarm using Watson Visual Recognition

This project is a how-to guide on using Watson Visual Recognition service to analyse an image and based on a trigger word then send a event command to IoT Device.In this example node-red is used to create an image upload form which sends the image to Watson Visual Recognition and trigger an iot device whenever fire is detected in the image.

NOTE: Please check the Video tutorial at the bottom if you have issues.

  1. Login/signup in to your IBM Cloud Account
  2. Goto Catalog and create the following services:

creating Services

NOTE: You can skip steps 3,4 & 9

  1. Goto connections tab and open IotF Service and Launch Watson Iot Platform
  2. Navigate to Devices tab and Add Device

Adding devices

  1. Once the Starter app is running,visit app url and configure Node-red
  2. Login to your node-red flows dashboard and import flow from flows.json

Importing Flows

  1. Create new visual recognition credentials

Create visual recognition credentials

  1. Update api key in the visual recognition node-red flow
  2. Update the device details in IBM Iot device node {Optional}

Updating credentials

  1. Visit <app_url>/upload and upload required image
  2. Change the string inside includes from trigger action function to set a different trigger

Video Tutorial

About

Fire Alarm using Watson Visual Recognition This project is a how-to guide on using Watson Visual Recognition service to analyse an image and based on a trigger word then send a event command to IoT Device.In this example node-red is used to create an image upload form which sends the image to Watson Visual Recognition and trigger an iot device w…

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published