Artificial Intelligence
Beginner
40 mins
Teacher/Student led
+150 XP

Train Your Own Image Model

Students train, test and improve a rock-paper-scissors image model in Teachable Machine using their own webcam examples, then export the improved model for the next lesson.

Teacher Class Feed

Load previous activity

    1 - Start: What We're Building ~4 mins

    Illustration for Start: what we're buildingToday you will build an image model in Teachable Machine that can recognise rock, paper and scissors hand gestures from your webcam.

    You will create three classes, add your own example images, train the model, test it live, improve it when it gets something wrong, and export a link to use later.

    Before you start: what do you think the computer needs to see in order to tell rock, paper and scissors apart?

    2 - Introduction ~3 mins

    In this lesson, you will create an image model using Google's Teachable Machine to recognise rock, paper and scissors hand gestures.

    Google's Teachable Machine is a tool that allows you to create machine learning models. You'll train the model to recognize different hand gestures for rock, paper, and scissors.

    In another lesson in this course we will use the model to build an AI Rock, Paper, Scissors game.



    3 - Open Teachable Machine ~2 mins

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

    Click on the Get Started button.


    4 - Create an Image Project ~3 mins

    Click on the Image Project button to create a new image model project, and then click on the Standard image model option.

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

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



    5 - Create the Classes ~2 mins

    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:

    • Rock
    • Paper
    • Scissors

    123learn · Online learning platform

    Unlock the full learning experience

    You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

    Hundreds of curriculum-aligned lessons
    Interactive activities in every lesson
    Printable resources & progress tracking
    Copyright Notice
    This lesson is copyright of Coding Ireland 2017 - 2025. 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