GithubHelp home page GithubHelp logo

krishnac7 / iotimageanalysis Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 27.0 1.09 MB

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.

watson-visual-recognition internet-of-things visual-recognition node-red image-classification image-upload ibm-cloud ibm-bluemix ibm-watson

iotimageanalysis's Introduction

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

iotimageanalysis's People

Contributors

krishnac7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.