Register for an IBM Cloud account: http://ibm.biz/angelhack-c4c-sv-2019

Click on "Join the 2019 Challing Community" button.

Visual Recognition and Watson AI Services


blueband

1) Introduction

Natural disasters can’t be prevented but we can be better prepared. In this workshop you will learn about solutions to help with natural disasters preparedness/recovery.

Data for Visual Rcognition: kaggle.com

Visual Recognition Models

blueband

2) Step by Step Introduction to Visual Recognition in the IBM Cloud

  1. Select "Watson Visual Recognition service" in the IBM Cloud Catalog. Click on "Create" in bottom right corner to create an instance of the Watson Visual Recognition in the IBM Cloud
  2. Click on the hamburger menu at the uppler left hand corner in the window and select Resource List

  1. Click on your "Visual Recognition Service" in the Services Section. This is the Visual Recognition Service you just created.

  2. Click on "Manage" in the upper left hand corner

  3. Click on the "Show Credentials" to the right in the picture below to make it visible and then click on the "copy API key icon: for later use. To invoke the Visual Recognition service we will need the API key.

  4. Click "API Reference", shown in the picture above for a description on how to invoke the Visual Recognition Service from Curl, Go, Java, Node, Python, Ruby, and Swift.

  5. This getting started tutorial guides you through how to use some built-in models in IBM Watson Visual Recognition to classify an image and then detect faces in an image.

  6. Working with the Visual Recognition API brings us to the screen below

  1. Visual Recognition Getting Started Tutorial

blueband

3) Create Visual Recognition Custom Model

  1. From the IBM Cloud Catalog, create an instance of Cloud Object Storage That is where we will store the images we will analyze.

  2. Click on the hamburger menu in the upper left hand corner the IBM Cloud window

  3. Click on the Resource List

  4. Click on your Visual Recognition Service in the Resource List

1. In the Visual Recognition service window, click on the blue Launch Watson Studio button. (The same window we see higher up in this tutorial
  1. Then click on "Classify Images" and "Create Model" as shown in the picture below.

  1. Fill in data and click "Create" in the lower right-hand corner.

In the next window we will create a class of visual objects such as dogs, which will contain nothing but picturs of dogs, and a negative class, which will contain nothing but non-dogs, in our case cats. We upload one zip-file of images of dogs and one zip-file of cats and then press on the blue "Train Model" button in the upper right hand corner.

To analyze data in our newly created data model, we click on the "Default Custom Model" in the topmost Actionbar "Projects", "Dogs", "Default Custom Model" and then on "Test"

We can nown begin to drag ansd drop images for testing our model.

For the result of the dragging and. dropping see the next image below.

Data to analyze

  1. https://watson-developer-cloud.github.io/doc-tutorial-downloads/visual-recognition/beagle.zip
  2. https://watson-developer-cloud.github.io/doc-tutorial-downloads/visual-recognition/golden-retriever.zip
  3. https://watson-developer-cloud.github.io/doc-tutorial-downloads/visual-recognition/husky.zip
  4. https://watson-developer-cloud.github.io/doc-tutorial-downloads/visual-recognition/cats.zip

===============

Visual Recognition Custom Model API calls

  1. Create a Classifier

  2. Classify an Image

  3. Classify Images

  4. Create Visual Recognition Custom Models

  5. Overview: Visual Recognition in Watson Studio

  6. Create Watson Studio service

blueband

4) Deploying the custom visual model on IBM Cloud and then use in your applications

YouTube: IBM Watson Studio: Get Started With Visual Recognition

Kaggle free datasets

Integrating other Watson cognitive services in your applications

  1. Watson Assistant
  2. All AI services in the IBM Cloud
  3. Speech to Text

[Watson Starter Kits](https://cloud.ibm.com/ developer/watson/starter-kits)

IBM Code Patterns.

  1. A beginner’s guide to setting up a visual recognition service
  2. Identify Cities from Space
  3. Classify Vehicle Damage Images
  4. Optimize your visual recognition classification
  5. Create a real-time object detection app using Watson Machine Learning

blueband

Appendix

  1. custom image classifier with Watson Visual Recognition

  2. deploying the custom visual model on IBM Cloud and then use it in your applications

  3. integrating other Watson cognitive services in your applications.

Sign up for Call for Code: https://ibm.biz/Bdz4SD

White listing:

Updates from the command line:

  1. https://cloud.ibm.com/docs/services/visual-recognition?topic=visual-recognition-tutorial-custom-classifier#tutorial-custom-classifier
  2. Best practices for custom classifiers in Watson Visual Recognition 1.Coinmonks 1.[Visual Recognition API[(https://cloud.ibm.com/apidocs/visual-recognition)