AIWeek 16 of 52 · 13 Apr – 19 Apr 2026

A camera that sorts toys

Can computer vision tidy the playroom by colour?

The question

Can computer vision tidy the playroom by colour?

What I built

A webcam over a tray. A little model that looks at each brick and says which of seven colours it is. A printed chute and a servo flap that drops each brick left or right. (Only two bins, I’m not that ambitious.)

Took about 600 photos to train it.

  • Daylight: 91% correct.
  • Evening lamp light: 68%. Yellow and orange got confused constantly.

The design process

Problem. Tidy-up time is a battle. The real question: could sorting be a game instead of a chore?

Iterations.

  • v1: the model on still photos. Great in testing, bad in real life.
  • v2: a live webcam over a tray. Light ruined it.
  • v3: an LED ring for constant light and a chute with two bins.

Testing. 200 bricks per test round, at different times of day, counting right and wrong bins. I also watched whether my daughter wanted to feed it bricks. She did, mostly to watch the flap move.

Design decision. The fun part is the flap, not the accuracy. Next version: louder, slower, more theatrical.

What broke

Light. Always light. Added a small LED ring around the camera so the light is the same every time. Back to 89% in the evening.

Also, the chute jammed on round pieces. Square bricks only for now.

What I learned

Most “AI problems” are really camera and lighting problems. Fix what the model sees before you touch the model.

Privacy notice