In a world where science, technology, engineering, and mathematics (STEM) play an increasingly vital role, it’s essential to inspire and empower girls to pursue careers and passions in these fields. Empowering girls in STEM is not only about promoting equality but also about harnessing the untapped potential of bright minds. We should make STEM Fun and Relatable: Show girls that STEM is not just about textbooks and formulas; it’s also about solving real-world problems and making a positive impact on society. Let’s explore AI with teachable machines.

This tutorial aims to highlight STEM applications in everyday life using Artificial Intelligence (AI). AI is rapidly shaping our world and influencing countless industries. To create a more promising and equitable future, it is crucial to motivate and enable young girls to explore the fascinating realm of artificial intelligence.

Teachable Machines by Google Creative Lab, a user-friendly platform for AI experiments, can be a powerful tool in introducing girls to this transformative field. It makes creating machine learning models fast, easy, and accessible to everyone without any coding knowledge.

In this tutorial, I will guide you through the process of using Teachable Machine to recognize emotions in facial expressions. Let’s get started!

Setting Up Teachable Machine

  • Accessing Teachable Machine:

Visit the Teachable Machine website (https://teachablemachine.withgoogle.com/train/image)

  • Camera and Microphone Access:

Ensure your device’s camera and microphone are accessible for this project.

  • Preparing Your Data:
  1. Gather images of different facial expressions representing emotions such as happiness, sadness, anger, and surprise.
  2. In Teachable Machine, click on Edit and rename Class 1 to Happy.
  3. Add three more classes and similarly rename them to represent each of the emotions above.
  4. Select the appropriate class for each emotion and upload the images.
  • Training the Model

Click on “Train Model” and wait for the training process to start.

Observe the progress bar as the model trains on your data.

The training time may vary depending on the amount of data and your device’s performance.

  • Export and Test Emotion Recognition
  1. If you’re satisfied with the performance of your model, you can export it.
  2. Copy the Javascript code and now you are ready to integrate the model into a website, mobile app, or other applications.
  3. You can interact with the model by visiting the following link: https://teachablemachine.withgoogle.com/models/_Lvwdm7gM/

That’s a basic tutorial on how to use Teachable Machine to create and deploy a simple machine learning model. Remember that this is just a starting point, Teachable Machines offers a gateway for girls to explore the world of AI in a creative and accessible way. By inspiring and supporting girls in their AI endeavours, we can help them become the AI pioneers of tomorrow. Let’s foster a diverse and inclusive AI community where every girl feels empowered to unlock the potential of AI, shape the future, and make a positive impact on the world. Together, we can ignite a bright future filled with endless possibilities.


This post is written by Sehaj Kaur Sowanni, a class 11th student who loves to write technology-related articles.

Loading