Easy⏱ time1 hr$ cost0
Colour Detector
Train a tiny model (or rules) to name colours from camera input and sort them.
Start building ↓
Result first
The build
Step 01
Read pixels
Sample the colour at the image centre.
Step 02
Map to names
Match RGB values to named colours.
Step 03
Label
Show the detected colour name.
Step 04
Sort
Group objects by detected colour.
Working Principle
The program reads the pixel's red-green-blue values and matches them to the nearest named colour region.
The science behind it
A closer look
Colours are points in RGB space; classifying them is finding the closest named cluster — a gentle intro to features.
Take it further
Variables to test
- 1 Add more colour names — fewer mistakes?
- 2 Test under coloured light — what breaks?
More AI
AI
Hand-Drawn Digit Classifier
Train a tiny neural network in the browser to recognise digits you draw with a mouse.
Medium⏱2 hr$0
AI
Rock-Paper-Scissors Vision
Use a webcam and a no-code model to recognise your hand and play rock-paper-scissors.
Easy⏱1 hr$0
AI
Spam Email Classifier
Train a model on example messages so it can flag new ones as spam or not.
Medium⏱2 hr$0