Internet of Things
TinkerforgeCode in ActionAbout Me
  • Course Outline
  • 1 - Getting Started
    • Overview
    • Connect to the LED
    • Getting Started
      • Glitch
      • The Application Template
    • Concepts in Programming
      • What is Programming?
      • Variables
      • Functions and Commands
      • Control Structures
      • Loops
      • Objects and Libraries
    • Programming Simple Web Apps
    • Exercises
      • 1.1 Buttons and Inputs
  • 2 - Internet of Things
    • Overview
    • IoT in our Apps
      • Getting Started
        • Hardware Kit
        • Brick Viewer and Daemon
      • Connect to the Devices
        • The Tinkerforge Device Manager
      • Program the Devices
        • RGB LED
        • RGB LED Button
        • OLED Display
        • Sensors
          • Humidity Sensor
          • Ambient Light Sensor
    • Components and Use Cases
    • Exercises
      • 2.1 Lights and Buttons
      • 2.2 Sensors
      • 2.3 Display
  • 3 - Artificial Intelligence
    • Overview
    • AI in our Apps
      • Google's Teachable Machine
      • Face Recognition
      • Training a Custom Model
    • Rules vs. Learning
    • Learning from Data
    • Use Cases
      • Computer Vision
        • Image Classification
        • Handwriting Recognition
    • Machine Learning Algorithms
      • Artificial Neural Networks
      • Decision Trees
      • Logistic Regression
    • Exercises
      • 3.1 Rules vs. Learning
      • 3.2 Fruits and Vegetables
      • 3.3 Face Recognition
      • 3.4 A Classifier for Iris
  • 4 - Cloud & APIs
    • Overview
    • APIs in our Apps
    • Cloud and APIs
      • Weather API
      • NASA Open APIs
      • EDAMAM Nutrition and Recipes API
    • Push Notifications
    • Exercises
  • 5 - App Project
    • Overview
    • Summer 2021
    • Summer 2022
  • Appendix
    • Other Devices
      • Motorized Linear Poti
      • Sound Pressure Sensor
      • NFC Reader
      • Motion Detector
    • UI Features
      • Realtime Charts
      • Countdown Timer
    • Digital Computers
      • Overview
      • The Binary System
      • Code Systems
      • Logic Gates
      • Binary Addition
      • From Analog to Digital
    • Cheat Sheets
    • Projects
      • IoT @ Pickup-Boxes
Powered by GitBook
On this page
  • TensorFlow, TensorFlow.js, and ml5.js
  • Supported use cases
  • Example 1: Image classification
  • Example 2: Sound classification
  • References

Was this helpful?

  1. 3 - Artificial Intelligence
  2. AI in our Apps

Google's Teachable Machine

Teachable Machine is a service by Google that allows training different machine learning models without programming a line of code. With some coding, we can integrate the model into our app.

PreviousAI in our AppsNextFace Recognition

Last updated 4 years ago

Was this helpful?

TensorFlow, TensorFlow.js, and ml5.js

Google's Teachable Machine (GTM) runs fully in the web-browser. This means you can directly click on the link below to start training your model:

Supported use cases

GMT currently supports 3 different use cases. You can train models to classify images, sound or poses. For the image and pose classification, you need a webcam to create the training images and to run the model live in the browser. For the audio model, you need a microphone to record training data and apply the model to new sound input afterwards.

In this course, we look at the examples of image and sound classification in more detail. We'll learn how we can train a new model for both tasks and how we can export the model to integrate it into our app. If you want to try the classification of different poses, feel free to try training a model yourself. The concepts to integrate the model into your app are very similar.

Example 1: Image classification

Example 2: Sound classification

References

GTM is based on , which is a lightweight web-version of the popular machine learning framework based on JavaScript. TensorFlow is originally developed by Google and is provided as open-source software for anyone to use.

Since GTM is based on JavaScript, it integrates well with other tools and libraries we use in this course. These include Glitch and p5.js. We can also use GTM models (i.e. TensorFlow.js models) with ml5.js, a machine learning library we'll introduce .

One of the use cases supported by GTM is .

[1] Michelle Carney, Barron Webster, Irene Alvarado, Kyle Phillips, Noura Howell, Jordan Griffith, Jonas Jongejan, Amit Pitaru, and Alexander Chen. 2020. Teachable Machine: Approachable Web-Based Tool for Exploring Machine Learning Classification. In Extended Abstracts of the 2020 CHI Conference on Human Factors in Computing Systems (CHI EA '20). Association for Computing Machinery, New York, NY, USA, 1–8. DOI:

Tensorflow.js
TensorFlow
in a following section
image classification
https://doi.org/10.1145/3334480.3382839
Teachable Machine
ml5js·Friendly Machine Learning For The Web
Teachable Machine (Video) Example
Logo
Teachable Machine (Sound) Example
Logo
GTM supports 3 different use case. You can train models for them directly in the browser.
Logo
Logo