Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.
Steve Martinelli edited this page Mar 20, 2018 · 6 revisions

Name

Going green with Watson

Description

Create an iOS phone application that sorts waste into three categories (landfill, recycling, compost) using a Watson Visual Recognition custom classifier.

Offering Type

Cognitive

Introduction

We will create a Watson Visual Recognition custom classifier to sort waste into three categories (landfill, recycling, compost). We will also create an IOS Application that can take a picture and sort the waste using the custom classifier.

Author

By Tommy Li, Weiwei Liu, Xiaoguang Mo, Yanyan Han, Christina Zhu

Code

https://github.com/IBM/watson-waste-sorter

Overview

In this developer code pattern, we will create a mobile app, Python Server with Flask, and Watson Visual Recognition. This mobile app sends pictures of waste and garbage to be analyzed by a server app, using Watson Visual Recognition. The server application will use pictures of common trash to train Watson Visual Recognition to identify various categories of waste, e.g. recycle, compost, or landfill. A developer can leverage this to create their own custom Visual Recognition classifiers for their use cases.

When the reader has completed this Code Pattern, they will understand how to:

  • Create a Python server with Flask that can utilize the Watson Visual Recognition service for classifying images.
  • Create a Visual Recognition custom classifier using the Web UI or command line.
  • Create a mobile application that can send pictures to a server app for classification using Visual Recognition.

architecture_diagram

Flow

  1. User interacts with the mobile app and captures an image.
  2. The image on the mobile phone is passed to the server application running in the cloud.
  3. The server sends the image to Watson Visual Recognition Service for analysis and sends back the classification result to the mobile app.
  4. Visual Recognition service classifies the image and returns the information to the server.

Included components

  • Watson Visual Recognition: Visual Recognition understands the contents of images - visual concepts tag the image, find human faces, approximate age and gender, and find similar images in a collection.

Featured technologies

  • Mobile: Systems of engagement are increasingly using mobile technology as the platform for delivery.
  • Flask: A micro web development framework for Python.

Blog

Links

Clone this wiki locally