Coding Ireland STEM Report 2024 Have Your Say
Scratch Artificial Intelligence
180 mins
245 points
What you need:

Crafting Your Own AI Project

Dive into a hands-on experience where you'll conceptualize, plan, and build a unique project using Google Teachable Machine and Scratch. Apply all you've learned, seek feedback, iterate, and proudly showcase your creation!

1 - Introduction

Welcome to your capstone lesson! Now that you've mastered the basics of creating and training models in Google Teachable Machine and using them in Scratch, it's time to harness your creativity and knowledge. In this lesson, you'll be guided through the process of conceptualising, planning, and building your very own AI Scratch project.

This is your chance to shine and showcase all that you've learned. Approach this lesson with an open mind, and remember, the primary goal is to learn and have fun.

Follow the steps provided, take your time, and most importantly, enjoy the journey of bringing your unique idea to life!

2 - Brainstorming

Start by considering the routines in your life or challenges you often face. Can an AI-assisted Scratch project provide a solution or enhancement?

  1. Brainstorm and list 3-5 AI project ideas on a piece of paper.
  2. If you're feeling stumped, revisit our prior lessons or activities for a jolt of inspiration.

Below are some project ideas to get you started:

Simple Projects

  1. Gesture-Controlled Slideshow
    Train Teachable Machine with different hand gestures. In Scratch, create a slideshow where each gesture moves to the next or previous slide. Use the TM2Scratch extension to integrate.
  2. Emotion-based Music Player
    Use Teachable Machine to recognize facial expressions. Depending on the detected emotion in Scratch, play a corresponding tune or song. For instance, a happy face plays an upbeat song.

Intermediate Projects

  1. Yoga Pose Corrector
    Train a pose model in Teachable Machine to recognize correct and incorrect yoga poses. In Scratch, provide feedback to the user about their pose accuracy using the TMPose2Scratch extension.
  2. Interactive Story based on Pose
    Create a story in Scratch where the narrative changes based on the user's body pose, detected by Teachable Machine. For instance, raising both hands might lead the story's character to fly.

Advanced Projects

  1. Dance Mimic Game
    Design a game in Scratch where a character performs a dance move and the player must replicate it. Teachable Machine checks the accuracy of the player's move and awards points accordingly.
  2. Virtual Dressing Room
    Using the pose model, allow users to "try on" virtual clothes in Scratch. When the user strikes a pose, different outfits are superimposed on their on-screen image.

3 - Project Proposal

Choose your favorite idea from your list and dive deeper:

  1. Project Name: Come up with a catchy title.
  2. Purpose: Describe what your project will do and why it's useful or fun.
  3. Required Features: List down the specific functionalities or features your project will have.
  4. Components Needed: Think about whether you'll need just a computer or if you'll need a physical Micro:bit or any other additional sensors/components.

4 - Seeking Feedback

Share your proposal with some classmates or your teacher:

  1. Discuss your project idea and get their opinion.
  2. Note down any suggestions or areas for improvement they might have.

5 - Refinement & Planning

Time to refine your idea and plan out the creation process:

  1. Use the feedback you received to make any changes to your project idea.
  2. Break down your project into smaller tasks or steps. This will help you stay organized and track your progress.

Unlock the Full Learning Experience

Get ready to embark on an incredible learning journey! Get access to this lesson and hundreds more in our courses.

Copyright Notice
This lesson is copyright of Coding Ireland. Unauthorised use, copying or distribution is not allowed.

Scratch is developed by the Lifelong Kindergarten Group at the MIT Media Lab. It is available for free at
🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more