Guided project · Foundations · AI governance
Train an image recogniser and test it for bias
Train a computer vision model in your browser, then discover how the training data decides who and what it works for.
What you'll build
An image model that recognises 3 objects, and a short bias report showing when it fails.
What you'll learn
- How training data shapes a model
- Testing on new conditions
- Spotting and reducing bias
You'll need
Teachable Machine (free, no sign-up) and a webcam or photos
Create a free account to unlock this project
The step-by-step instructions, copy-ready prompts, progress tracker and portfolio texts are for members. It's free, takes under a minute, and unlocks all guided projects.
Want to try first? These projects are open to everyone: Prompt lab and One idea, five posts.
Before you start
- Collect 3 objects from your desk, such as a mug, a pen and a phone.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.
Step by step
Start a project
Open Teachable Machine → Get started → Image project → Standard image model.
You should see: Two empty classes on screen.
Collect training data
Rename the classes to your objects and add a third class. For each, hold the object to the webcam and record about 50 images. Use only one background and good light.
You should see: Three classes, each with about 50 pictures.
Train and test
Click Train model, then hold each object in front of the camera.
You should see: High confidence bars for the right object.
Change the conditions
Test again with a different background, dim light, the object far away, and a similar object of a different colour.
You should see: Confidence drops or it guesses wrong. The model only learned the conditions it saw.
Write a bias report
Note in a table: condition, what happened, and why ("no dark images in training").
You should see: A clear link between missing training data and failures.
Fix the data
Add 20 images per class in the new conditions and train again.
You should see: Much better results in the conditions you added. More varied data means a fairer model.
Connect it to the real world
Write 3 lines on how the same problem affects face recognition or medical images when some groups are missing from the data.
You should see: You can now explain AI bias with your own example.
Brilliant work. Share it below, then pick your next project.
Level up
- Try an audio project: teach it to recognise 3 sounds.
- Export the model and share the link with a friend to test.
Lessons behind this project
Show it off
Finished? Post about it on LinkedIn. Here's a starting point; add a screenshot and your own words.
I trained an image recogniser in my browser, then broke it with bad lighting! A great hands-on lesson in why diverse training data matters for fair AI. Learned with AI From Zero.Add it to your portfolio
Employers love seeing what you've built. Use these ready-made texts, then add your own results and a screenshot.
1. A line for your CV or LinkedIn "Projects" section
Train an image recogniser and test it for bias: An image model that recognises 3 objects, and a short bias report showing when it fails. Skills: How training data shapes a model, Testing on new conditions, Spotting and reducing bias. Tools: Teachable Machine (free, no sign-up) and a webcam or photos.2. A README for GitHub
Create a free GitHub account, make a new repository, add a file called README.md and paste this in along with screenshots of your work.
# Train an image recogniser and test it for bias
Train a computer vision model in your browser, then discover how the training data decides who and what it works for.
## What I built
An image model that recognises 3 objects, and a short bias report showing when it fails.
## What I learned
- How training data shapes a model
- Testing on new conditions
- Spotting and reducing bias
## Tools
Teachable Machine (free, no sign-up) and a webcam or photos
## How it works
1. Start a project
2. Collect training data
3. Train and test
4. Change the conditions
5. Write a bias report
6. Fix the data
7. Connect it to the real world
## Results
(Add a screenshot and 2–3 sentences about what you found. Never include API keys or personal data.)
## Next steps
- Try an audio project: teach it to recognise 3 sounds.
- Export the model and share the link with a friend to test.
---
Built by following the free guided project at https://learnaifromzero.com/projects/image-classifier-bias.html