Artificial Intelligence
Intermediate
20 mins
Teacher/Student led
165 points
What you need:
Chromebook/Laptop/PC or iPad/Tablet
Webcam/camera

Create a Pose Model

In this lesson, you'll create a pose model using Google's Teachable Machine to play a space game with your webcam!

Note: You will need a webcam or a camera on your computer to create the images for the pose model.

Learning Goals Learning Outcomes Teacher Notes

Live Class Feed

This is a live feed of the latest activity by your students on this lesson. It will update in real-time as they work on the lesson.
Load previous activity

    1 - Introduction

    In this lesson, you will create a pose model using Google's Teachable Machine to recognise when you tilt left, tilt right or don't tilt.

    Google's Teachable Machine is a tool that allows you to create machine learning models. You'll train the model to recognize different poses.

    In another lesson in this course we will use the model to build a space game.


    2 - Open Teachable Machine

    First we need to open the Google's Teachable Machine website to create our model.

    Click on the Get Started button.


    3 - Create a Pose Project

    Click on the Pose Project button to create a new pose model project.

    This will bring you to the screen where we can create our classes for our pose model.

    In an AI model, a class is a category that the model can recognize. For example, in our space game, we will have three classes: tilt left, tilt right, and no tilt. The AI will learn to recognize images of each class and be able to tell them apart.


    4 - Create the Classes

    There will be two classes already added to your model called 'Class 1' and 'Class 2'.

    Add a third class by clicking on the 'Add a class' button and then rename your classes to:

    • Tilt Left
    • Tilt Right
    • No Tilt

    5 - Add Images to the Tilt Left Class

    Now let's create and add the images for tilting left to the Tilt Left class.

    1. Click on the Webcam button in the Tilt Left class. This should start using your webcam (you may need to click to allow permissions).
    2. Put yourself in the frame of the camera and then title left, then click on the 'Hold to Record' button. This will take several quick pictures of you tilting left.
    3. Remove any images where you are not clearly tilting left. Remember the better quality images we give our model, the better it will perform.

    Unlock the Full Learning Experience

    Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our Digital Skills Curriculum.

    Copyright Notice
    This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.
    🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more