Computer vision, made visual
CodeWithPurpose lessons that explain how a machine turns a photo into a label, a box, or a mask — through live demos and clear visuals. Click any topic to explore, no setup required.

1. Seeing as Numbers
4 chaptersWhat a computer actually receives when you hand it a photo, and the operation — sliding a small grid across every pixel — that almost everything else in this track builds on.
2. Getting a Clean Signal
3 chaptersEdges, corners, and the preprocessing that turns an inconsistent pile of photos into something a model can actually learn from.
3. Teaching a Model to Recognise
4 chaptersFrom a weight on every pixel to a network that learns edges, then parts, then whole objects — and why you rarely train one from nothing.
4. Finding Things in a Scene
4 chaptersNaming what is in a photo is the easy version. This part finds where, how many, and where one object's pixels end and another's begin.
5. Making the Numbers Honest
4 chaptersEvery way a vision model's score flatters it, from a confusion matrix that hides which classes fail to a benchmark that keeps rising while the dataset it was trained on quietly biases it.
6. Vision in the World
3 chaptersWhat changes when a model has to run on a phone, in a car, or on a face, instead of in a notebook with all the time it wants.
Open source
Your lesson goes here
Every lesson here was written by a student. Propose your own topic, or fix one that confused you. Drafts stay invisible until they are ready, so nothing you start can break the site.
Keep building your computer vision foundation
These lessons are part of CodeWithPurpose's free learning library — built by students, for students, everywhere.