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.

January 4, 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
  • Demystifying Computer Vision
  • Step 1: Accessing the Platform
  • Step 2: Defining the Classes
  • Step 3: Gathering Training Data

Article roadmap

What you will learn

  1. How to access and navigate Google's free Teachable Machine platform.

  2. The step-by-step process of gathering training data using a standard webcam.

  3. How to train a custom machine learning model in real time without writing code.

  4. Methods for testing, debugging, and identifying bias in your custom model.

As an Executive, you navigate the strategic implications of artificial intelligence daily, but explaining these complex concepts to your children can feel like a daunting task. Traditional educational resources often rely on dense theory or dry coding exercises that fail to capture a young mind's imagination. The most effective way to teach machine learning is through hands-on creation. By using a free, browser-based tool, you and your child (ages 8 to 16) can build, train, and test a fully functional image classifier in less than twenty minutes. This interactive project demystifies how computers learn to see the world, transforming a passive screen-time activity into a powerful, shared lesson in modern technology.

Demystifying Computer Vision

To a computer, an image is not an object, a face, or a landscape. It is a massive grid of numbers representing individual pixels. Traditional programming required software engineers to write complex, rigid rules to help computers identify shapes and colors. Machine learning flips this paradigm. Instead of writing rules, we feed the computer examples, and the computer discovers the rules on its own.

This process is called supervised learning, and it is the foundation of modern artificial intelligence. By building a custom image classifier, your child will experience this shift firsthand. They will act as the teacher, providing the examples, while the computer acts as the student, finding the patterns.

Step 1: Accessing the Platform

To begin, open a web browser on any computer equipped with a webcam and navigate to the Google Teachable Machine website at https://teachablemachine.withgoogle.com/ . This platform is completely free, requires no user registration, and does not collect personal data. All processing occurs locally within your browser, ensuring complete privacy.

Once on the homepage, click the "Get Started" button. You will be presented with three project options: Image Project, Audio Project, and Pose Project. Select "Image Project," and then choose "Standard Image Model." This opens the workspace where you and your child will build your model.

Step 2: Defining the Classes

The workspace is divided into three main columns: Training Data (Classes), Training, and Preview. A Class is simply a category of things you want the computer to distinguish between.

For this project, choose a fun and clear contrast. A highly effective option is distinguishing between a "Thumbs Up" gesture and a "Thumbs Down" gesture. Alternatively, your child can use two different physical objects, such as a blue toy car and a red Lego brick.

Rename "Class 1" to "Thumbs Up" and "Class 2" to "Thumbs Down" by clicking the pencil icon next to each label. This step is crucial, as these labels are what the computer will output when it makes a prediction.

Step 3: Gathering Training Data

Now, click the "Webcam" button under the first class. Have your child sit in front of the camera and make a clear "Thumbs Up" gesture. Click and hold the "Record" button to capture images.

As you record, instruct your child to slowly move their hand closer to the camera, further away, and tilt it at various angles. Capture approximately 100 to 150 images. This variety is essential. If you only capture one static position, the computer will struggle to recognize the gesture if it is held slightly differently.

Repeat this exact process for the second class, "Thumbs Down." Ensure your child holds the gesture in similar lighting and positions, capturing another 100 to 150 images. These captured images represent your training dataset.

Step 4: Training the Model

With your training data gathered, move to the middle column and click the "Train Model" button. This process takes about ten to thirty seconds, depending on your computer's speed.

During this phase, the computer is analyzing the pixels in your images. It looks for common boundaries, colors, and shapes that consistently appear in the "Thumbs Up" images but are absent in the "Thumbs Down" images. Instruct your child to leave the browser tab open and active during this process to avoid interrupting the training cycle.

Step 5: Testing and Debugging

Once training is complete, the third column, "Preview," will activate, showing a live feed from your webcam. Below the feed, you will see two progress bars representing your classes, showing real-time percentage confidence scores.

Have your child make a "Thumbs Up" gesture. The corresponding bar should rise to nearly one hundred percent. Now, have them switch to a "Thumbs Down" gesture and watch the other bar rise.

This is the perfect moment to introduce the concept of model debugging. Challenge your child to "break" the model. What happens if they use their left hand instead of their right hand? What happens if they stand far back in the room? What happens if a parent steps into the frame and makes the gesture?

If the model fails, explain that this is not a mistake by the computer. It is a limitation of the training data. If the model only saw a child's right hand during training, it does not know that a left hand can also represent the same gesture. To fix this, you can simply record more diverse images and retrain the model.

Parent & Educator Sidebar

Core AI Concept: Supervised Learning Supervised learning is the process of training an artificial intelligence model by providing it with labeled examples. The model learns the relationship between the input (the images) and the output (the labels) so that it can make accurate predictions on new, unseen data.

Conversation Starters:

  • "How do you think a self-driving car uses this exact technology to tell the difference between a pedestrian, a bicycle, and a stop sign?"
  • "If we only trained our model using your hand, why might it struggle to recognize a parent's hand? How can we make sure AI systems are fair for everyone?"
  • "Can you think of a way we could use an image classifier to solve a problem at home or school, like sorting recycling or identifying healthy plants?"

Action Steps Summary

  • Open your web browser and go to https://teachablemachine.withgoogle.com/ to start a standard image project.
  • Create two distinct classes and label them clearly.
  • Use your webcam to capture 100 to 150 diverse images for each class.
  • Click "Train Model" and observe the real-time training process.
  • Test the model in the preview window and experiment with different angles to understand model limitations.

Equip the next generation with foundational AI literacy. Share this interactive guide with other parents and educators to help them turn screen time into an active learning experience.

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.