Artificial Intelligence
Beginner
40 mins
Teacher/Student led
+150 XP
Teacher-led from the board. Pupils do not need a device, but can follow on one.

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 teach an AI image model, which is a program that learns to recognise pictures. You will use your webcam to show it your hand making rock, paper and scissors.

    Flow diagram: your labelled examples, then pattern finding, then a guess with a confidence score.

    In the middle stage of the diagram, the model finds patterns. It does not know what a hand is, so it only looks for what your pictures have in common.

    Key point

    Before you start, think about what pictures will help the model tell the three gestures apart, and what might trick it.

    2 - Introduction ~2 mins

    Google's Teachable Machine is a free website that builds a machine learning model, which is a program that learns from the examples you show it. You show it pictures of each hand gesture through your webcam, and it learns to tell rock, paper and scissors apart. You do not need an account, and you do not write any code.

    A group of students in school uniform holding their hands out into a circle
    Teachable Machine recognising a person holding a toy dog: the 'Me + Dog' class is almost full and 'Just Me' is low

    3 - Open Teachable Machine ~2 mins

    First, open the Google Teachable Machine website. This is where you will make your model.

    Then click the Get Started button.

    The Teachable Machine home page, with the blue Get Started button

    4 - Create an Image Project ~3 mins

    Click the Image Project button to start a new project, and then choose Standard image model. This takes you to the screen where you set up the classes for your model.

    Key point

    A class is a group of pictures that the model learns to recognise. Your model will have three classes: rock, paper and scissors. The model learns what the pictures in each class look like, so that it can tell them apart.

    The New Project screen, with the Image Project card
    The New Image Project box, with Standard image model selected

    5 - Create the Classes ~2 mins

    Your model already has two classes, called 'Class 1' and 'Class 2'.

    Key point

    Click the Add a class button to add a third class. Then rename your three classes to:

    • Rock
    • Paper
    • Scissors
    Renaming the two starting classes Rock and Paper, and adding a third class called 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 - 2026. 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