Yesterday you learned a photo is just numbers. Today you'll slide a tiny magic window across those numbers to find edges — the borders of shapes. This one trick is the very first thing every vision AI does to understand a picture.
On the left is a shape made of numbers (9 = bright, 0 = dark). A little 3×3 window slides across it. At each spot it multiplies the 9 numbers by a secret recipe and adds them up — and drops the answer on the right. Watch where the answers light up!
The 9 numbers in the window are called the recipe (real name: kernel). Different recipes do totally different things — blur, sharpen, outline. Type your own numbers, or tap a preset, and watch a real photo change instantly.
A computer-vision AI isn't magic. It slides hundreds of recipes like yours over a photo. One finds up-edges, one finds side-edges, one finds curves… stack them and it starts spotting eyes, wheels, letters, whole objects. Tap each filter to see what it grabs.
Play mad scientist. Change the 9 numbers above until the photo looks awesome or weird, give your filter a cool name, and save it to your lab notebook.
Save your first filter to earn the Filter Inventor badge. Your saved recipes appear here.
Hand-designing an edge filter shows the idea. Here's how it scales up:
Classic filters like Sobel and Canny for edges. ✅ Fast, no training. ⚠️ You must design each one; brittle.
SIFT / HOG — clever hand-designed features that powered vision before deep learning.
A CNN learns thousands of filters automatically; newer Vision Transformers (ViT) use attention. ✅ Far more powerful. ⚠️ Need data + training.
You learned the #1 trick of computer vision: slide a tiny recipe across the numbers to find edges and shapes.