A free, self-paced computer vision course
Learn to make machines see, from raw pixels to production.
Five phases, meant to be done in order, each one ending in a project you actually build. It's all free and there's nothing to sign up for. Check things off as you go, and your spot is saved right here in your browser.
3Blue1Brown — Essence of Linear Algebra
Real Python — Image Processing with NumPy & Pillow
Digital Image Processing — Gonzalez & Woods (Ch. 1–5)
Interactive — Convolution Kernel Visualizer
Input 7×7 — click to toggle
Kernel 3×3
Output 5×5
Knowledge check — 3 quick questions
NumPy Image Filter Library
Build Gaussian blur, Sobel edge detection, histogram equalization, and binary thresholding from scratch using only NumPy — zero OpenCV allowed. Test on BSDS500 sample images.
First Principles of CV — Camera Calibration (Columbia / Shree Nayar)
OpenCV Python — Feature Detection & Matching (Official Docs)
Lowe (2004) — Distinctive Image Features from Scale-Invariant Keypoints
Interactive — RANSAC line fitting
RANSAC keeps picking two points at random, drawing the line through them, and counting how many points land inside the band around it; the line with the most agreement wins. The scattered outliers never agree, so it settles on the real line. Least-squares (toggle it on) tries to please every point at once, so a handful of outliers pull it off course. That robustness is why RANSAC is the standard way to fit a homography to noisy feature matches.
Knowledge check — 3 quick questions
Image Panorama Stitcher
Stitch 3+ overlapping photos into a seamless panorama using SIFT keypoints, FLANN feature matching, RANSAC homography estimation, and perspective warping. No high-level stitching APIs allowed.
Cyrill Stachniss — Photogrammetry & Computer Vision Lectures (Univ. Bonn)
OpenCV — Epipolar Geometry (Fundamental Matrix & Epilines)
Szeliski — Computer Vision: Algorithms & Applications (2nd ed.) — Ch. 11 SfM, Ch. 12 Depth & Stereo
Hartley & Zisserman — Multiple View Geometry in Computer Vision (2nd ed.)
Interactive — Epipolar Geometry Explorer
The big idea: a single point in one image does not pin down its match in the other image — it constrains the match to lie on a whole line, the epipolar line. Drag the dot on the left; the matching feature in the right view (the corresponding colored dot, when matches are shown) always sits on the line.
Every epipolar line in the right view passes through one special point, the
epipole e′ — the image of the left camera’s
center. Here it lands just off the right edge, so the lines visibly fan out toward it.
l′ = F·p, with p=[x,y,1] from the left clicka·X + b·Y + c = 0 drawn in the right panelF = K−T [t]× R K−1 (scaled, scale-invariant)Knowledge check — 3 quick questions
Two-View Structure-from-Motion (Sparse 3D Reconstruction)
Take two photos of a static scene and get the intrinsics K from calibration (Phase 2) or image EXIF. Match SIFT/ORB features, estimate the fundamental matrix with the normalized 8-point algorithm inside RANSAC, convert it to the essential matrix (E = K′ᵀ F K), and decompose E into its four candidate (R, t) solutions. Use the cheirality check — reconstructed points must lie in front of both cameras — to pick the correct pose, then triangulate the matches into a sparse 3D point cloud and visualize it. No high-level SfM pipelines (e.g. COLMAP) for the core estimation.
Ultralytics YOLOv8 — Train a Custom Object Detector
CS231n — Convolutional Neural Networks (Stanford)
Ronneberger et al. (2015) — U-Net: CNNs for Biomedical Image Segmentation
Interactive — IoU & Non-Max Suppression Playground
Kept
Suppressed
Knowledge check — 3 quick questions
Custom Object Detector + Segmentation
Label 300+ images with Roboflow (5 classes), train YOLOv8, then apply U-Net segmentation on detected regions. Log all metrics to Weights & Biases.
Hugging Face Diffusers — Stable Diffusion from Scratch
TensorFlow Lite — Model Optimization & Raspberry Pi Guide
Dosovitskiy et al. (2021) — An Image is Worth 16×16 Words (ViT)
Interactive — Attention vs. Convolution Receptive Field
7×7 token grid
Knowledge check — 3 quick questions
Real-Time Edge AI Detector
Export your Phase 4 YOLOv8 model to ONNX/TFLite with INT8 quantization. Deploy on Raspberry Pi 4 or laptop webcam. Target ≥10 FPS with <5% mAP drop from quantization.
Interview Prep Bank
CV-specific theory, implementation, math, and system-design questions with hints
Why does ResNet use skip connections?
Hint: Vanishing gradients + identity shortcuts let very deep networks train without degradation.
Implement IoU from scratch in NumPy
Hint: intersection = max(0, x2−x1) × max(0, y2−y1). Union = A + B − intersection.
Design a real-time pedestrian detector for a city intersection camera
Hint: Consider latency SLA, edge vs. cloud, model selection, failure modes, and demographic bias.
How does attention differ from convolution?
Hint: Conv = local fixed receptive field. Attention = global, dynamic weight per token pair.
Your detector has high precision but low recall. What's wrong?
Hint: Confidence threshold too high. Lower it and re-examine the precision-recall curve.
Explain NMS and implement it in Python
Hint: Sort by confidence, suppress overlapping boxes (IoU > threshold), keep highest-confidence box.
Derive the epipolar constraint and explain why the fundamental matrix has rank 2.
Hint: Start from x'^T F x = 0. F maps a point to a line; the epipole is the right null-vector (Fe = 0), which forces det(F)=0, hence rank 2 (7 DoF).
What is the difference between the fundamental matrix and the essential matrix, and when would you use each?
Hint: E operates on calibrated (normalized) coordinates and relates to relative R and t (E = [t]_x R, 5 DoF); F works on uncalibrated pixel coordinates (E = K'^T F K). Use F when intrinsics are unknown, E to recover pose.
Walk through estimating a fundamental matrix from point correspondences with RANSAC, including how you normalize points and count inliers.
Hint: Hartley normalization (translate/scale points), 8-point (or 7-point) algorithm inside RANSAC, score inliers by Sampson distance to the epipolar line, then re-fit on the consensus set.
Given a rectified stereo pair with focal length f, baseline B, and disparity d at a pixel, compute the depth Z and discuss the precision implications of baseline choice.
Hint: Z = f*B/d. Depth error grows with Z^2 and shrinks with larger B; but a wider baseline reduces image overlap and makes matching harder, so it is a trade-off.
Explain triangulation for a 3D point seen in two calibrated views and why the linear DLT solution is only approximate.
Hint: Back-project rays from both cameras; ideally they intersect, but noise means they don't, so DLT solves a homogeneous least-squares (SVD) system. The optimal estimate minimizes reprojection error, often refined nonlinearly.
Design a visual SLAM system for an indoor delivery robot using a single camera. What are the main modules and failure modes?
Hint: Front-end (feature/optical-flow tracking, pose via PnP), back-end (local bundle adjustment / pose graph), keyframing, loop closure, relocalization. Failure modes: scale drift (monocular), low-texture walls, motion blur, dynamic objects.
Your SfM reconstruction produces a warped, scale-inconsistent point cloud. How do you diagnose and fix it?
Hint: Check feature match outliers and geometric verification, inspect reprojection error per camera, verify calibration/intrinsics, ensure enough baseline between views (degenerate pure-rotation), and run/tune bundle adjustment; fix scale with a known reference or loop closure.
Implement bilinear interpolation for image warping and explain where it is needed in a homography-based panorama stitcher.
Hint: For each output pixel, inverse-map through H^-1 to a fractional source location, then blend the four neighboring pixels by their distances. Needed because warped coordinates rarely land on integer pixel grid positions.
Compare anchor-based detectors (Faster R-CNN, SSD) with anchor-free approaches. What problems do anchors introduce?
Hint: Anchors add hyperparameters (scales/ratios), cause foreground-background imbalance, and complicate matching. Anchor-free methods (e.g. center/keypoint-based) predict boxes directly, simplifying the pipeline at some cost to certain shapes.
A semantic segmentation model scores high mean IoU on validation but produces noisy, fragmented masks at inference. What would you check?
Hint: Train/inference preprocessing mismatch (normalization, input size), class imbalance inflating mIoU via easy classes, missing CRF/post-processing, domain shift, and whether mIoU is dominated by background; visualize per-class IoU and raw logits.
Explain why self-attention is O(n^2) in sequence length and what that means for high-resolution images in a ViT.
Hint: Each of n tokens attends to all n tokens, giving an n x n score matrix. For images, n scales with the number of patches, so high resolution explodes compute/memory; mitigations include windowed attention (Swin) or fewer/larger patches.
Design a stereo-camera depth perception pipeline for an autonomous drone running on an embedded GPU. Cover calibration, runtime, and edge constraints.
Hint: Offline stereo calibration + rectification maps, real-time matching (SGBM or a quantized stereo net), disparity-to-depth, temporal filtering; constraints: INT8/FP16 quantization, fixed resolution, latency budget, and graceful degradation in low texture or glare.
Edge AI Deployment Track
From trained model to hardware in 5 steps, end to end
Train
YOLOv8 / PyTorch on GPU (Colab or local)
Export
ONNX or TFLite with INT8 quantization
Benchmark
Measure latency, throughput, mAP delta
Deploy
Raspberry Pi 4 or Jetson Nano runtime
Monitor
Drift detection & retraining triggers
Free Resource Library
46 free resources you can search, or filter by phase
Khan Academy — Multivariable Calculus: Partial Derivatives & The Gradient
Setosa — Image Kernels Explained Visually
Computerphile — How Blurs & Filters Work / Convolution
The Scientist and Engineer's Guide to Digital Signal Processing (Steven W. Smith) — Free Online Book
Szeliski — Computer Vision: Algorithms and Applications (2nd ed.), Ch. 3 Image Processing
Mathematics for Machine Learning (Deisenroth, Faisal, Ong) — Free PDF Book
Harvard Stat 110: Probability (Joe Blitzstein) — Lecture Playlist
NPTEL Digital Image Processing (Prof. P.K. Biswas, IIT Kharagpur) — Course Page
MIT 18.06 Linear Algebra (Gilbert Strang) — OCW Video Lectures
Computerphile — Canny Edge Detector (Mike Pound)
UCF Fundamentals of Computer Vision (Mubarak Shah) — Lecture Videos
First Principles of Computer Vision — Detectors & Descriptors Monographs (Nayar, Columbia)
Szeliski CV 2nd ed., Ch. 7 — Feature Detection & Matching
OpenCV — Optical Flow (Lucas-Kanade & Dense) Official Tutorial
Carnegie Mellon 16-385 Computer Vision (Ioannis Gkioulekas) — Lecture Slides
Stanford CS131: Computer Vision — Foundations and Applications (Niebles, Krishna, Fei-Fei Li)
Stanford CS131 Release Assignments (StanfordVL) — Hands-On Notebooks
OpenCV — Epipolar Geometry (Fundamental Matrix & Epilines) Official Tutorial
OpenCV — Depth Map from Stereo Images Official Tutorial
COLMAP — Structure-from-Motion Official Tutorial
Hartley & Zisserman — Multiple View Geometry in Computer Vision (2nd ed.)
Cyrill Stachniss — Photogrammetry I & II (Uni Bonn, full lecture playlist)
ORB-SLAM2 — Official Open-Source Implementation (raulmur)
TU Munich — Multiple View Geometry (Prof. Daniel Cremers) — Lecture Videos
14 Lectures on Visual SLAM: From Theory to Practice (Gao Xiang et al.) — Free Book + Code
University of Bonn/Freiburg — SLAM Course 2013/14 (Cyrill Stachniss) — Lecture Videos
PyTorch — Transfer Learning for Computer Vision Official Tutorial
CNN Explainer — Interactive Visualization (Georgia Tech Polo Club)
MIT 6.S191: Introduction to Deep Learning (Alexander & Ava Amini) — Course Site + Videos
Andrej Karpathy — Neural Networks: Zero to Hero
fast.ai — Practical Deep Learning for Coders
Distill — Feature Visualization (Olah, Mordvintsev, Schubert)
Hugging Face — Community Computer Vision Course
University of Michigan EECS 498-007 / 598-005: Deep Learning for Computer Vision (Justin Johnson) — Full Course
Stanford CS231n: Convolutional Neural Networks for Visual Recognition (Spring 2017, Fei-Fei Li, Johnson, Yeung) — Lecture Videos
NPTEL Deep Learning for Computer Vision (Vineeth N Balasubramanian, IIT Hyderabad) — Full Playlist
Deep Residual Learning for Image Recognition — ResNet (He, Zhang, Ren, Sun, 2015)
OpenAI — CLIP: Connecting Text and Images (Official Blog)
ONNX Runtime — Quantize ONNX Models (Official Docs)
Stanford CS25: Transformers United (Div Garg, Steven Feng, Chetanya Rastogi et al.) — Seminar Lecture Videos
Hugging Face Diffusion Models Course (Jonathan Whitaker, Lewis Tunstall) — Hands-On Notebooks
Kirillov et al. (2023) — Segment Anything (SAM) Paper
Lilian Weng — What Are Diffusion Models? (Lil'Log)
Kerbl et al. (2023) — 3D Gaussian Splatting Project Page (Inria GraphDeco)
Stanford CS236: Deep Generative Models (Stefano Ermon) — Course Site, Notes & Lectures
MIT 6.5940 EfficientML.ai: TinyML and Efficient Deep Learning Computing (Song Han) — Slides & Lecture Videos
Glossary
52 key terms across all five phases, in plain English
Frequently Asked Questions
Prerequisites, math, hardware, timelines, and how to actually use this roadmap
What prerequisites do I need before starting this roadmap?
Comfort with Python and basic programming, plus high-school-level math. Everything else (linear algebra, calculus, image processing) is built up in Phase 1, so you can start as a motivated beginner. Familiarity with NumPy helps but is taught as you go.
How much math do I really need?
Less than people fear, but it is unavoidable. You need vectors, matrices, dot products, and eigenvectors (for PCA and corner/geometry math), partial derivatives and the chain rule (for backprop), and basic probability. Multi-view geometry leans hardest on linear algebra. You do not need to derive everything from scratch, but you should be able to read the equations.
Do I need a GPU?
Not for Phases 1-3. Classical CV and multi-view geometry run fine on a CPU laptop. For Phase 4 (deep learning) a GPU helps a lot for training, but you can use free cloud GPUs (Google Colab, Kaggle Notebooks) instead of buying hardware. Inference and fine-tuning small models are often CPU-feasible.
How long does the whole roadmap take?
Roughly 6-9 months part-time at a steady pace. The repo budgets about 4-6 weeks for Foundations, 4-5 for Classical CV, several weeks for Multi-View Geometry & 3D Vision, 6-8 for Deep Learning, and 5-7 for Modern Frontiers. Going faster is possible full-time; going slower is fine if you build the milestone projects.
Should I learn PyTorch or TensorFlow?
Start with PyTorch. It dominates research, most new CV papers and repos ship PyTorch code, and its eager execution is easier to debug while learning. TensorFlow/Keras is still common in production and edge (TFLite), so pick it up later if a job or deployment target needs it. The concepts transfer; the syntax is secondary.
Is classical computer vision still worth learning in the deep learning era?
Yes. Multi-view geometry, calibration, feature matching, and filtering power SLAM, AR/VR, robotics, photogrammetry, and the data pipelines feeding neural nets. Classical methods are interpretable, run without GPUs, need no training data, and frequently outperform learned methods on geometric tasks. Interviewers also probe these fundamentals heavily.
How should I actually use this roadmap?
Go phase by phase and treat the milestone project as the gate: do not advance until you have built it. Read or watch one curated resource per topic, code along, then implement the project from scratch (e.g. filters in NumPy before OpenCV). Use the quizzes for self-checks and the interview bank once you are job-hunting. Progress is saved in the interactive site via localStorage.
Do I need to memorize papers and architectures?
No. Understand the key ideas (why ResNet uses skip connections, what attention computes, how RANSAC rejects outliers) rather than memorizing layer counts. Be able to explain trade-offs and implement core pieces (IoU, NMS, a convolution). Depth of understanding on a few things beats shallow recall of many.
What jobs does this roadmap lead to?
Computer Vision Engineer, ML/Deep Learning Engineer (vision), Perception Engineer (robotics/autonomous vehicles), AR/VR or SLAM engineer, Research Engineer, and Edge/Embedded AI roles. The geometry phase opens robotics and AR doors; the deep learning and frontiers phases open detection, segmentation, and generative/multimodal roles. Many start adjacent (data/ML engineering) and specialize.
I already know some deep learning. Can I skip the early phases?
Skim them, but do not fully skip. Many strong DL practitioners are weak on geometry and classical CV, which is exactly where interviews and real perception systems expose gaps. At minimum, do the Classical CV and Multi-View Geometry milestone projects; they teach intuition that pure DL courses omit.