PH PROMPTHACKER.AI

Build a Teachable Machine Image Classifier With Your Kid

Kids create a hands-on AI project: Build a Teachable Machine Image Classifier With Your Kid. A parent or educator helps them build, test, and explain what the AI tool gets right and wrong.

September 13, 2023 5 min read
Quick Scan

What matters today

Kids create a hands-on AI project: Build a Teachable Machine Image Classifier With Your Kid. A parent or educator helps them build, test, and explain what the AI tool gets right and wrong.

Format KIDS GUIDE
Audience Executives using AI at work
Time 5 min read

Key points

  • What You'll Learn
  • Step 1: Setting Up Your Browser Lab
  • Step 2: Defining Classes and Gathering Training Data
  • Step 3: Training Your Custom AI Model
  • Step 4: Testing and Intentionally Breaking the Model

Article roadmap

What you will learn

  1. How to access and navigate Google's free Teachable Machine platform without creating an account.

  2. The step-by-step process of gathering image data to train a custom computer vision model.

  3. How to test, evaluate, and intentionally break your AI model to understand its limitations.

  4. Key conversation starters to help your child connect this project to real-world AI applications.

Preparing children for an AI-driven future does not require complex coding bootcamps or expensive software subscriptions. It starts with curiosity and hands-on experimentation. Using Google's free Teachable Machine tool, parents and educators can help children aged 8 to 16 build, train, and test their own computer vision model in under fifteen minutes. This interactive project demystifies how machine learning works, transforming AI from a magical black box into a practical tool they can control. By actively building a classifier, children move from passive consumers of technology to active creators, gaining a foundational understanding of data science that will serve them throughout their academic and professional lives.

Step 1: Setting Up Your Browser Lab

To begin this project, you do not need to install any specialized software. All you need is a computer equipped with a standard webcam and an internet connection. Sit down with your child and open a web browser. Navigate directly to the Google Teachable Machine website at https://teachablemachine.withgoogle.com/ and click on the Get Started button. Select the Image Project option, and then choose the Standard Image Model. This opens the training workspace, which is divided into three clear sections: Classes, Training, and Preview. Explain to your child that they are now looking at the basic pipeline used by professional AI engineers to build computer vision systems.

Step 2: Defining Classes and Gathering Training Data

An AI model learns by looking at examples, a process known as supervised learning. To teach the model, you must first define what you want it to recognize. Start with a simple classification task: distinguishing between two different objects, such as a toy car and a Lego brick.

Rename Class 1 to match your first object (for example, Toy Car). Click on the Webcam button within that class box. Instruct your child to hold the toy car in front of the camera. Click and hold the Record button to capture about 100 images. Encourage your child to slowly rotate the toy car, move it closer and further from the lens, and tilt it. This variety helps the model learn the object's features. Next, rename Class 2 to match your second object (for example, Lego Brick). Repeat the process, capturing another 100 images of the Lego brick while rotating and moving it.

Step 3: Training Your Custom AI Model

With your dataset ready, it is time to train the model. Click the Train Model button in the middle column. During this step, warn your child not to close the browser tab or switch to another window, as the training happens directly inside the browser using the computer's local processing power. The training process usually takes less than a minute. As the progress bar fills, explain that the computer is analyzing the pixels in the images. It is looking for patterns, colors, shapes, and edges that distinguish the toy car from the Lego brick. The AI does not actually know what a car or a brick is: it only knows the mathematical differences between the two sets of pixel patterns.

Step 4: Testing and Intentionally Breaking the Model

Once training is complete, the Preview panel on the right side of the screen will activate, showing a live feed from your webcam. Have your child hold up the toy car. The progress bars under the preview should instantly show a high confidence rating (close to 100%) for Toy Car. Now, have them hold up the Lego brick and observe the shift to Lego Brick.

Now comes the most educational part of the project: trying to break the model. This helps children understand the limitations of AI. First, hold up a completely different object, like a coffee mug or a pen. Ask your child to observe which class the AI chooses and how confident it is. Because the model was only trained on two classes, it must force the new object into one of them, often with high confidence. Second, try holding the toy car in a very dark corner of the room or covering half of it with a hand. Discuss why the AI might suddenly get confused. This demonstrates that AI models are only as good as the data used to train them.

Parent and Educator Sidebar

Core AI Concept: Supervised Learning Supervised learning is a type of machine learning where the model is trained on labeled data. In this project, the labels were Toy Car and Lego Brick, and the data were the webcam images. The model learns the mapping from input (images) to output (labels) so it can make predictions on new, unseen images.

Conversation Starters for You and Your Child:

  • Why do you think the computer got confused when we held up a coffee mug? How could we fix this so the computer knows it is a mug?
  • If we only trained the model with red toy cars, do you think it would recognize a blue toy car? Why or why not?
  • How do you think self-driving cars use this technology when they are driving down a busy street?

Action Steps Summary

  • Open the Platform: Go to https://teachablemachine.withgoogle.com/ and start a standard image project.
  • Create Your Classes: Name two distinct classes based on objects or hand gestures you have nearby.
  • Capture Training Images: Record 100 to 150 webcam images for each class, ensuring you capture different angles and distances.
  • Train the Model: Click train and watch the browser process the patterns in real-time.
  • Test and Iterate: Challenge the model with new objects, different lighting, or partial obstructions to discover its limitations.

Empower the Next Generation of Innovators

By spending fifteen minutes on this project, you help your child transition from a user of technology to an active creator. This foundational understanding of machine learning builds critical thinking skills that will benefit them in an increasingly automated world.

Bottom line

The point of Build a Teachable Machine Image Classifier With Your Kid is not a perfect final project. It is helping kids see how examples, labels, and feedback shape an AI system, then asking better questions about the tools around them.

About the author

Pierre Bradshaw Founder, PromptHacker.ai

Pierre has spent 25+ years building practical learning and growth systems, with machine-learning work dating back to 2012. PromptHacker kids projects focus on real creation, safety, and AI literacy.

Email us
Free weekly briefing

Three deep dives. Four useful moves. One email worth opening.

PromptHacker turns the AI firehose into practical next steps for work, health, family, and everything time keeps trying to steal.