AI Lab 01: Teachable Machine Image Recognition & Data Size Experiment

  • Estimated Time: 5 hours
  • Tools Required: Google Teachable Machine (Completely free, no registration required, no-code)
  • Hardware Required: A computer with a webcam (or smartphone camera). If no camera is available, students can upload images downloaded beforehand.

Lab Objectives

  • Learn how to define "Classes" in machine learning.
  • Personally collect data, train a model, and conduct real-time testing (Inference).
  • Core Task: Observe and record the direct impact of data volume and data diversity on classification accuracy by comparing two different data scales (20 images vs. 200 images).

5-Hour Schedule & Step-by-Step Breakdown


🎯 Pro-Tips for Students (How to Avoid Common Pitfalls)

  • Background Bias (Data Contamination): If you take photos for Mask in your bedroom (with a bed in the background) and for No_Mask in the living room (with a TV in the background), the AI might end up learning to recognize the bed and the TV rather than the mask. Keep the background consistent, or make sure both classes are shot against the same background!
  • Do Not Switch Tabs While Training: After clicking "Train Model," keep that browser tab active. Switching to other tabs can cause the browser to throttle memory and CPU allocation, which will interrupt and crash your training process.
© 2026 Air Supply Information Center (Air Supply BBS)