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

See How AI Learns: Train an Image Model

Students train and test a browser-based image model from their own webcam examples, then explore how training data shapes what AI gets right, gets wrong, and how that links to the media they use every day.

Teacher Class Feed

Load previous activity

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

    Today you will train and test an AI image model in the browser using your own webcam examples of rock, paper and scissors hand gestures. You will watch how the model learns from the pictures you give it — and where it gets confused.

    Key point

    Before you add any examples: predict what the model will need in order to tell the three gestures apart. What kinds of pictures might help it, and what might trick it?

    Note

    This is not a coding lesson. The big question is a media one: how does AI learn from examples, and what does that mean for the AI behind the media you use every day?

    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.

    Note

    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.

    Key point

    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'.

    Key point

    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