How to become a Computer Vision Engineer
Step by step and free: 12 phases, 88 topics and 295 graded practice questions.
Open any topic and mark it Learning, Done or Skip to track your progress. Sign in to save it to your account.
0 of 88 done · 0 learning · 0 skipped · Start with the first topic
Saved on this device only. Sign up free or sign in to keep your progress everywhere.
It's saved on this device only. Sign up free to keep it everywhere; your marks move into your account.
What is a Computer Vision Engineer?
A computer vision engineer builds systems that turn images or video into decisions: a defect flagged, a vehicle counted, a document read. They frame the problem, set up cameras and lighting, build and label datasets, train detection, segmentation and tracking models, test them under real conditions, and deploy them to cloud or edge hardware. They work closely with hardware, operations and product teams.
Who this roadmap is for
Software and machine learning engineers who are comfortable in Python and want to work with images, video and 3D data. You should know basic linear algebra and how a neural network is trained. Robotics and embedded engineers adding perception fit well. If you are new to programming, start with general ML first.
What you will be able to do
Finishing this roadmap, you can frame a vision problem and its capture setup, choose between classical methods and deep models, build clean datasets without split leakage, train and evaluate detectors, segmenters and trackers, use vision-language models where they fit, and export and run a model within a latency budget on cloud or edge.
The Computer Vision Engineer roadmap
Computer Vision Engineer
-
Phase 1 Images, cameras and the role
-
Phase 2 Classical image processing and geometry
-
Phase 3 Deep learning for vision
-
Phase 4 Data, labelling and training
-
Phase 5 Classification and detection
-
Phase 6 Segmentation
-
Phase 7 Evaluating vision models
-
Phase 8 Video and tracking
-
Phase 9 3D vision and depth
-
Phase 10 Vision-language and generative models
-
Phase 11 Deploying and running vision systems
-
Phase 12 Responsible computer vision
All topics, in order
Mark each topic Learning, Done or Skip, and sign in to save your place to your account. Done is your own word, not passing: a topic is passed when you score 50 or more on its questions. This order is the study plan.
-
Phase 1 · Images, cameras and the role
-
What a computer vision engineer does
A computer vision engineer turns pixels into decisions: a gap counted on a shelf, a defect flagged on a line, a person followed across a store. The model is one stage of a system that also holds the camera, the decoder, the preprocessing, the post-processing and the rule that acts on the output, and most failures you debug live outside the network. Judge your work by the decision downstream, not by a validation score.
Reading
- Szeliski: Computer Vision, Algorithms and Applications (free book) szeliski.org
- Stanford CS231n: Deep Learning for Computer Vision notes cs231n.github.io
- OpenCV documentation docs.opencv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Framing a vision problem
Start from the decision the output feeds, then pick the cheapest output that supports it. Is there a defect is classification; where and how many is detection; what exact shape or area is segmentation; which one and where it went is tracking; how far away is depth. Each step up costs more labels and more compute, so ask for boxes only when position matters and masks only when the outline does.
Reading
- torchvision: models for classification, detection, segmentation and video pytorch.org
- Google: Rules of Machine Learning developers.google.com
- Stanford CS231n: Deep Learning for Computer Vision notes cs231n.github.io
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
How a camera forms an image
Most vision code assumes a pinhole camera: a 3D point projects onto the sensor along a straight line through the lens centre, scaled by the focal length. Focal length and sensor size set the field of view, so a wider lens shows more scene with fewer pixels on each object. Exposure time trades noise against motion blur, which is why a fast conveyor needs a short exposure and more light, not a bigger model.
Reading
- OpenCV: camera calibration and 3D reconstruction (pinhole model) docs.opencv.org
- Szeliski: Computer Vision, chapter 2 on image formation szeliski.org
- Edmund Optics: imaging application notes edmundoptics.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Lighting, lenses and the capture setup
In inspection and other controlled settings, the capture rig decides how hard the vision problem is. Diffuse light removes glare on shiny parts, backlighting turns an outline into a clean silhouette, polarising filters cut reflections, and a fixed mount keeps each object at the same scale. Before collecting data or training a larger model, spend a day on light, lens and camera position: it often removes a whole class of errors.
Reading
- Edmund Optics: illumination application notes edmundoptics.com
- Edmund Optics: imaging application notes edmundoptics.com
- Szeliski: Computer Vision, Algorithms and Applications (free book) szeliski.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Pixels, bit depth and colour spaces
A pixel is a number per channel, and what it means depends on bit depth, colour space and transfer curve. Most JPEGs are 8-bit sRGB with a gamma curve, so values are not proportional to light; medical, thermal and industrial cameras often give 12 or 16 bit data that clips silently if you cast it to 8 bit. Threshold on colour in HSV or Lab, where hue and lightness come apart, rather than in RGB, where they are mixed.
Reading
- OpenCV: colour conversions docs.opencv.org
- scikit-image: image data types and what they mean scikit-image.org
- OpenCV: changing colour spaces tutorial docs.opencv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
The image toolkit
Python vision code leans on libraries that disagree on conventions. OpenCV gives BGR arrays in height, width, channel order; Pillow and most model code expect RGB; PyTorch wants channel, height, width float tensors. They also differ on whether EXIF orientation is applied on load and on what their resize filters do. Decide your conventions once, convert at a single boundary, and assert shape and channel order in tests.
Reading
- OpenCV: image file reading and writing (imread flags) docs.opencv.org
- Pillow: ImageOps, including exif_transpose pillow.readthedocs.io
- torchvision: decoding and encoding images and videos pytorch.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Preprocessing and train-serve parity
Preprocessing is every step between the decoded file and the model input: orientation, resize, crop, channel order, scaling and normalisation. A pretrained backbone only works with the resize, mean, standard deviation and channel order it was trained with, and a mismatch between training and serving scores well offline and fails live with no error. Keep the transforms in one versioned function used everywhere, and test it on the same image both ways.
Reading
- scikit-image: image data types and rescaling scikit-image.org
- PyTorch: transforming and augmenting images pytorch.org
- timm: data config and preprocessing for pretrained models huggingface.co
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
IoU and mAP
IoU is the overlap of a predicted and a true box or mask divided by their union, and a detection counts as correct only above a chosen IoU. Average precision summarises precision across recall for one class; mAP averages it over classes, and the COCO protocol also averages over IoU thresholds from 0.5 to 0.95, which rewards tight boxes. So mAP at 0.5 and COCO mAP are different numbers. State the protocol, dataset and size breakdown with every result.
Reading
- Ultralytics: performance metrics deep dive (mAP, IoU) docs.ultralytics.com
- COCO: detection evaluation protocol cocodataset.org
- COCO API, the reference evaluation code (GitHub) github.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
Chapter 1 lab
Write the instruction for an agent that sets a shelf-gap detector's first baseline
A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.
Start the lab -
-
Phase 2 · Classical image processing and geometry
-
Filtering, gradients and edges
Filtering slides a small kernel over the image and replaces each pixel with a weighted sum of its neighbours. A Gaussian kernel blurs away noise, a median filter removes specks while keeping edges, and Sobel kernels estimate the gradient, whose size is edge strength. Canny adds smoothing, thinning and two thresholds on top. A CNN's first layer learns much the same filters, so these also explain what early features respond to.
Reading
- OpenCV: smoothing images docs.opencv.org
- OpenCV: Canny edge detection docs.opencv.org
- scikit-image: filters module scikit-image.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Thresholds, morphology and contours
When the object differs clearly from its background, a threshold turns the image into a binary mask: a fixed value under controlled light, Otsu's method when the histogram has two peaks, an adaptive threshold when light varies across the frame. Opening removes specks and closing fills holes. Connected components and contours then give each blob's area, box and shape, which is often all a counting or sizing job needs.
Reading
- OpenCV: image thresholding docs.opencv.org
- OpenCV: morphological transformations docs.opencv.org
- OpenCV: getting started with contours docs.opencv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Keypoints, descriptors and matching
Keypoint detectors find small distinctive patches, such as corners, that can be found again in another image, and descriptors summarise each patch as a vector. Nearest-neighbour matching yields many wrong pairs, so keep a match only when it clearly beats the runner-up (the ratio test), then fit a transform with RANSAC, which keeps the largest set of matches that agree. Learned matchers are stronger but follow the same logic.
Reading
- OpenCV: feature matching docs.opencv.org
- OpenCV: ORB features docs.opencv.org
- Lowe: Distinctive Image Features from Scale-Invariant Keypoints (SIFT) cs.ubc.ca
- Lindenberger et al.: LightGlue, local feature matching (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Geometric transforms and homographies
A homography is the 3 by 3 transform that maps one view of a flat surface onto another, so four point pairs are enough to rectify a document, a shelf or a sports pitch into a top-down view. Affine transforms keep parallel lines parallel and suit scans and small rotations; a homography also handles perspective. Every warp resamples pixels, so choose the interpolation on purpose and move label coordinates with exactly the same matrix.
Reading
- OpenCV: geometric transformations of images docs.opencv.org
- OpenCV: basic concepts of the homography docs.opencv.org
- Szeliski: Computer Vision, chapter on image alignment and stitching szeliski.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Camera calibration and lens distortion
Calibration estimates a camera's intrinsics (focal length in pixels and principal point) and its lens distortion from many views of a known pattern such as a checkerboard. You need it to measure, reconstruct 3D or combine cameras, and wide or cheap lenses bend straight lines enough to spoil measurements near the edges. Check reprojection error, cover the whole frame at many tilts, and recalibrate after any change of focus, zoom or mount.
Reading
- OpenCV: camera calibration tutorial docs.opencv.org
- Zhang: A Flexible New Technique for Camera Calibration microsoft.com
- OpenCV: camera calibration and 3D reconstruction reference docs.opencv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
When classical methods are enough
Classical methods win when you control the scene: a fixed camera, fixed lighting, a known part and a question about position, size or presence. They run in microseconds on a CPU, need no labels, and fail in ways you can read. Deep models win when appearance varies widely or the categories are hard to put into rules. Many strong systems combine the two: a network finds the object and classical geometry measures it.
Reading
- OpenCV-Python tutorials docs.opencv.org
- scikit-image: user guide scikit-image.org
- Szeliski: Computer Vision, Algorithms and Applications (free book) szeliski.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
-
Phase 3 · Deep learning for vision
-
CNN backbones
A backbone turns an image into feature maps; a head on top turns those into labels, boxes or masks. CNN backbones work in stages, each halving resolution and adding channels, so the last stage sees wide regions at 1/32 of the input size. Residual connections made deep backbones trainable, and ConvNeXt showed a modernised CNN can match transformers. Choose a backbone by its accuracy at your latency budget, not by its age.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
CNNs or vision transformers
Convolutions build in locality and translation equivariance, so CNNs learn well from tens of thousands of images. A plain vision transformer cuts the image into patches and lets every patch attend to every other, which pays off mainly after large-scale pretraining. Hierarchical designs such as Swin sit between the two. With a modest labelled set, start from a strong pretrained model of either kind: the pretraining matters more than the family.
Reading
- Dosovitskiy et al.: An Image is Worth 16x16 Words (ViT, arXiv) arxiv.org
- Liu et al.: Swin Transformer (arXiv) arxiv.org
- PyTorch: models and pretrained weights pytorch.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Multi-scale features and feature pyramids
Objects in one image can differ in size a hundredfold, and no single feature map serves both ends: deep layers know what things are but have lost position, early layers keep detail but know little. A feature pyramid network adds a top-down path that carries deep meaning back to high-resolution maps, so the head finds small objects on fine levels and large ones on coarse levels. Nearly every modern detector and segmenter has such a neck.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Self-supervised vision backbones
Self-supervised pretraining learns visual features from unlabelled images, either by making two views of one image agree (the DINO family) or by reconstructing masked patches (MAE). The best of these backbones give features that work frozen: a linear classifier or nearest-neighbour search on top is a strong baseline in a day. Try frozen features first; if they already separate your classes, you need far fewer labels and much less fine-tuning.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Choosing pretrained weights
Pretrained weights carry their training data with them: its classes, image style, resolution and licence. An ImageNet backbone has seen centred objects in consumer photos, so aerial, medical or microscope images may transfer better from a model pretrained nearer to them. Zoos such as timm, torchvision and the Hugging Face Hub record each checkpoint's dataset and preprocessing. Read the licence as well, because some weights forbid commercial use.
Reading
- timm documentation (PyTorch Image Models) huggingface.co
- torchvision: models and pretrained weights pytorch.org
- Hugging Face: model cards huggingface.co
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
A training recipe for vision models
Most gains in vision training come from known defaults, not a new architecture: start from pretrained weights, use AdamW or SGD with momentum, warm up then decay the learning rate on a cosine schedule, add label smoothing and an exponential moving average of the weights, and scale augmentation to your data size. Change one thing at a time against a fixed validation set, starting from a published recipe for your backbone.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Input resolution and compute
A CNN's compute grows roughly with the pixel count, so doubling the side length costs about four times as much, and a plain ViT's attention grows faster still. Accuracy rises with resolution until the smallest detail you care about spans enough pixels, then flattens. Find that point by measuring accuracy at a few input sizes, ideally per object size, and take the smallest that holds. Testing slightly above the training size often helps.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Seeing what the model looks at
Saliency methods such as Grad-CAM colour the regions that most moved a prediction, and they are good at catching shortcuts: a classifier keying on a watermark, a ruler or the background instead of the object. They do not prove the model is right for the right reason; some methods draw similar maps for a trained and a randomly initialised network. Use them to raise a hypothesis, then test it by masking or editing the image.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
-
Phase 4 · Data, labelling and training
-
Designing a vision dataset
A vision dataset is only as good as the conditions it covers. List what varies where the model will run, such as site, camera model, mounting angle, lighting, weather, season and object appearance, and collect across all of it before collecting more of any one. Ten thousand images from one camera teach less than two thousand from twenty. Tag every image with its conditions, and you get evaluation slices for free.
Reading
- Gebru et al.: Datasheets for Datasets (arXiv) arxiv.org
- Google: Rules of Machine Learning developers.google.com
- Karpathy: A Recipe for Training Neural Networks karpathy.github.io
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Annotation formats and guidelines
Annotation formats hide conventions that silently break training when mixed: COCO stores a box as top-left x, y, width and height in pixels, YOLO as a normalised centre, width and height, Pascal VOC as two corners. Masks may be polygons, run-length encodings or bitmaps. The guideline matters more than the tool: say how to box occluded and cut-off objects and when to skip, show an example of each hard case, and revise it as questions arrive.
Reading
- COCO: data format cocodataset.org
- Ultralytics: object detection dataset format docs.ultralytics.com
- CVAT documentation docs.cvat.ai
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Labelling budget and class imbalance
Labels are the biggest cost in most vision projects, and spreading them evenly mostly re-confirms easy, common cases. When the class you care about is rare, mine candidates first, with a model, a search or simple rules, and label what the model is least sure about; copying existing positives adds nothing. Track what each labelling round bought on a fixed test set, and keep some random images in the mix so training still sees the real distribution.
Reading
- Settles: Active Learning Literature Survey (PDF) burrsettles.com
- Ren et al.: A Survey of Deep Active Learning (arXiv) arxiv.org
- Google: Rules of Machine Learning developers.google.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Finding label errors
Every large vision dataset has wrong labels: missed objects, loose boxes, swapped classes. Let the model point to them: images where a confident prediction disagrees with the label, or whose loss stays high late in training, are the best places to look, and confident learning turns this into a per-class estimate. Review flagged items by hand, fix the guideline that caused them, and keep the test set cleaner than the training set.
Reading
- Northcutt et al.: Confident Learning (arXiv) arxiv.org
- Northcutt et al.: Pervasive Label Errors in Test Sets (arXiv) arxiv.org
- cleanlab documentation docs.cleanlab.ai
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Pre-labelling with foundation models
Promptable and open-vocabulary models can draw first-pass boxes and masks for annotators to correct, which is often several times faster than labelling from scratch. The price is bias: people accept a plausible pre-label they would never have drawn, and the model's blind spots become your dataset's. Track correction rates, label a sample from scratch to compare, and never pre-label a test set with the model you are about to evaluate.
Reading
- Kirillov et al.: Segment Anything (arXiv) arxiv.org
- Liu et al.: Grounding DINO, open-set detection (arXiv) arxiv.org
- CVAT documentation: automatic annotation docs.cvat.ai
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Near-duplicates and split leakage
Vision data is full of near-copies: consecutive video frames, burst photos, the same product shot twice, one field photographed every day. Split image by image and those copies land on both sides, so the test score measures memory, not generalisation. Split by group instead (video, site, patient, camera or day), and run a perceptual hash or embedding search for duplicates across splits before every evaluation.
Reading
- scikit-learn: cross-validation with groups scikit-learn.org
- Barz and Denzler: Do We Train on Test Data? Near-duplicates in CIFAR (arXiv) arxiv.org
- imagededup: finding duplicate images idealo.github.io
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Synthetic and rendered data
Synthetic images come from rendering engines, from pasting real object cut-outs onto new backgrounds, or from generative models. They are cheap to label perfectly and can cover rare cases, but a model learns the renderer's look as readily as the object, so some gap to real data nearly always remains. Randomise texture, light and placement, mix in real images, and judge synthetic data only by what it adds on a real test set.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Transfer learning and fine-tuning
Starting from pretrained weights is the default for almost every vision task short of millions of labels. With a small dataset, freeze the backbone and train a fresh head first; then unfreeze the upper stages at a learning rate well below the head's, so you adapt the features without erasing them. The further your images are from the pretraining data, such as X-rays or extra satellite bands, the more layers you will need to retrain.
Reading
- PyTorch: transfer learning tutorial pytorch.org
- Yosinski et al.: How transferable are features in deep nets? (arXiv) arxiv.org
- timm: fine-tuning and feature extraction huggingface.co
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Data augmentation
Augmentation shows the model variations it should ignore, and each transform is a claim about your task. Flips and rotations suit aerial and microscope images but not text, digits or left and right road signs; colour jitter is safe unless colour is the label; a crop must not cut out the thing labelled. In detection and segmentation, boxes and masks must move with the pixels. Choose transforms from deployment conditions and look at samples by eye.
Reading
- PyTorch: illustration of transforms pytorch.org
- torchvision: transforms v2 with boxes and masks pytorch.org
- Albumentations documentation albumentations.ai
- scikit-image: geometric transformations scikit-image.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
Chapter 4 lab
Write the brief that produces an augmentation policy for 900 camera-trap images
A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.
Start the lab -
-
Phase 5 · Classification and detection
-
Image classification
A classifier gives each image one label, or several in multi-label work, where each class gets its own sigmoid instead of sharing a softmax. On imbalanced data, overall accuracy is dominated by the common class and can hide near-total failure on the rare one that matters. Read per-class precision and recall and the confusion matrix, compare against always predicting the majority class, and set thresholds from what each kind of error costs.
Reading
- PyTorch: transfer learning / classification tutorial pytorch.org
- scikit-learn: classification metrics guide scikit-learn.org
- Google ML Crash Course: classification developers.google.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Image embeddings and similarity search
An embedding model maps each image to a vector so similar images land close together, which turns many problems into nearest-neighbour search: finding duplicates, searching a catalogue by photo, or recognising a new product from five examples without retraining. Metric-learning losses train for this directly, and strong pretrained backbones often work as they are. Normalise the vectors, compare by cosine similarity, and set the match threshold on held-out pairs.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Object detection
A detector outputs, for each object, a box, a class and a confidence score, and nearly every detector first produces many overlapping candidates that post-processing must reduce to one box per object. That makes the score threshold, the overlap rule and the input size part of the model: duplicate boxes, merged neighbours and missed small objects are often settings, not weights. Before retraining, sweep those settings on a validation set and look at the images.
Reading
- Ultralytics YOLO documentation docs.ultralytics.com
- Redmon et al.: You Only Look Once (YOLO, arXiv) arxiv.org
- PyTorch: object detection finetuning tutorial pytorch.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Detector families
Two-stage detectors such as Faster R-CNN propose regions first, then classify and refine each one: accurate but slower. One-stage detectors such as RetinaNet and the YOLO family predict boxes densely in a single pass and dominate real-time work. DETR-style detectors match a fixed set of learned queries to objects, which removes hand-tuned anchors and NMS. Choose by measured accuracy and latency on your own data and hardware, and check the licence.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Confidence, NMS and post-processing
Non-maximum suppression keeps the highest-scoring box and drops others of the same class that overlap it by more than an IoU threshold. Set that threshold too low and people standing close together merge into one; too high and duplicates survive. Class-agnostic NMS stops one object getting two labels, and soft-NMS lowers scores instead of deleting boxes. Choose the confidence threshold last, per class if needed, from the precision and recall users can live with.
Reading
- Bodla et al.: Soft-NMS (arXiv) arxiv.org
- torchvision: nms operator pytorch.org
- Ultralytics: predict mode and its thresholds docs.ultralytics.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Small objects and large images
A detector resizes the whole image to its input size, so a 4000 pixel aerial photo shrunk to 640 turns a car into a few pixels that the backbone's stride cannot resolve. Either train and infer at a larger input size, or cut the image into overlapping tiles at native resolution, detect on each, map boxes back and merge duplicates along tile edges. Count the cost first: tiling multiplies inference time by the number of tiles.
Reading
- Akyon et al.: Slicing Aided Hyper Inference, SAHI (arXiv) arxiv.org
- SAHI library (GitHub) github.com
- COCO: detection evaluation, with small, medium and large objects cocodataset.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Open-vocabulary detection
Open-vocabulary detectors take class names or phrases as text prompts and find matching objects without being trained on those classes, by aligning region features with text embeddings. They are excellent for bootstrapping: pre-labelling, exploring a new domain or a quick prototype. On niche classes they are usually slower and less precise than a small detector trained on your labels, so a common pattern is to use one as a teacher and ship a trained student.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Keypoints and pose estimation
Keypoint models locate named points such as body joints, the corners of a part or facial landmarks. Top-down models detect each person or object and then predict its keypoints, accurate but slower as crowds grow; bottom-up models find every keypoint at once and group them. Most predict a heatmap per keypoint rather than raw coordinates. Evaluate with object keypoint similarity, which scales the allowed error to the object's size and each point's difficulty.
Reading
- COCO: keypoint evaluation and OKS cocodataset.org
- Cao et al.: OpenPose, multi-person pose with part affinity fields (arXiv) arxiv.org
- Xu et al.: ViTPose (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Visual anomaly detection for inspection
In inspection, defects are rare and varied, so you seldom have enough labelled examples of each. Anomaly detection trains only on good parts and scores how far a new image departs from them, for example by comparing its patch features from a pretrained backbone with a memory of normal patches. It catches defects nobody listed, but unusual yet acceptable parts score high too. Set the threshold from the miss rate the line can tolerate, measured on real defects.
Reading
- Roth et al.: PatchCore, total recall in industrial anomaly detection (arXiv) arxiv.org
- MVTec AD: anomaly detection dataset mvtec.com
- Anomalib documentation anomalib.readthedocs.io
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
Chapter 5 lab
Write the brief for isolating a detector's recall regression
A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.
Start the lab -
-
Phase 6 · Segmentation
-
Semantic, instance and panoptic segmentation
Semantic segmentation gives every pixel a class, so two touching cars become one car-shaped region; instance segmentation gives each object its own mask; panoptic does both, with countable things as instances and uncountable stuff like road or sky as classes. Choose from what the next step must tell apart: area per class needs semantic, counting or sizing each item needs instances. Masks cost far more to label than boxes, so check boxes are not enough.
Reading
- He et al.: Mask R-CNN (arXiv) arxiv.org
- PyTorch: object detection and instance segmentation tutorial pytorch.org
- Kirillov et al.: Panoptic Segmentation (arXiv) arxiv.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Encoder-decoder networks and U-Net
Segmentation needs context, to know what a region is, and detail, to place its edge. Encoder-decoder networks downsample to gather context, then upsample back to full resolution, and U-Net adds skip connections that pass fine features from each encoder stage to the matching decoder stage, so edges stay sharp. It trains well on small datasets, which keeps it the default in medical and industrial work. Pair it with a pretrained encoder.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Instance segmentation models
Mask R-CNN adds a mask branch to a two-stage detector: find each object's box, then predict a small mask inside it, so mask quality is capped by the box and by the mask's low resolution. Query-based models such as Mask2Former predict a set of masks directly and handle semantic, instance and panoptic segmentation with one architecture. For thin or finely edged objects, inspect boundaries by eye, because a coarse mask can still earn a good IoU.
Reading
- He et al.: Mask R-CNN (arXiv) arxiv.org
- Cheng et al.: Masked-attention Mask Transformer, Mask2Former (arXiv) arxiv.org
- Detectron2 (GitHub) github.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Promptable segmentation
Promptable models such as Meta's Segment Anything family return a mask for whatever you point at with a click or a box, and from SAM 3 (released November 2025) with a short text phrase; SAM 2 onwards also carry masks through video. They make interactive labelling fast and give good masks on unseen objects. They do not know your classes: pair them with a detector or a prompt, and measure on your own images, where unusual domains often get weaker edges.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Losses for segmentation
Per-pixel cross-entropy gives every pixel an equal vote, so when the target covers 1 percent of the image, predicting background everywhere already looks good. Dice loss optimises overlap with the target directly and is far less swayed by background; focal loss down-weights easy pixels; class weights rebalance rare classes. Cross-entropy plus Dice is a common, stable default. Whatever you choose, match the loss to the metric you will report.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Measuring masks
Mask IoU and Dice reward overlap, so a large object with a ragged edge still scores well while a thin structure such as a crack or a vessel can be badly broken at a similar score. Report IoU per class rather than only the mean, add a boundary metric when edges matter, and use panoptic quality when you must count instances as well as cover pixels. Check that the metric agrees with what a reviewer sees on a sample of masks.
Reading
- Cheng et al.: Boundary IoU (arXiv) arxiv.org
- Kirillov et al.: Panoptic Segmentation and panoptic quality (arXiv) arxiv.org
- TorchMetrics documentation lightning.ai
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
From masks to measurements
Users rarely want a mask; they want an area, a count, a length or a polygon. Clean the raw mask first: remove tiny components, fill holes and smooth edges with rules you can explain. Convert pixels to real units through calibration or a known reference in the scene, because perspective makes a far pixel cover more ground than a near one. Then estimate how mask error becomes measurement error, and report that with the number.
Reading
- scikit-image: measure module, including regionprops scikit-image.org
- OpenCV: contour features docs.opencv.org
- COCO API: mask encoding utilities (GitHub) github.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
-
Phase 7 · Evaluating vision models
-
Detection error analysis
One mAP number cannot tell you what to fix. Split the errors into types: the right object with a loose box, the right box with the wrong class, duplicates, detections on background and objects missed entirely, then estimate how much mAP each type costs. Loose boxes point to localisation or label quality, background hits to missing hard negatives, misses to small or occluded objects. Fix the biggest bucket first and measure again.
Reading
- Bolya et al.: TIDE, a toolbox for identifying detection errors (arXiv) arxiv.org
- TIDE (GitHub) github.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Test sets that match deployment
A test set should look like next month's real use, not like a random slice of the training pool. Hold out whole sites, cameras or time periods the model has never seen, include hard and rare conditions in known numbers, and label it more carefully than the training data. Freeze and version it: a test set that keeps changing, or that you tune against every week, stops measuring anything. Keep a second untouched set for release decisions.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Slicing results by condition
An average hides where the model fails: night frames, heavy occlusion, small objects, one camera with a dirty lens. Tag the test set with those conditions, report the metric per slice with its image count, and set a bar for each slice that matters, not only for the total. COCO's small, medium and large breakdown is the simplest version. A slice of a dozen images gives a noisy number, so report an interval with it.
Reading
- COCO: detection evaluation, with size breakdowns cocodataset.org
- Eyuboglu et al.: Domino, discovering systematic errors (arXiv) arxiv.org
- FiftyOne documentation docs.voxel51.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Robustness to corruption and shift
Models trained on clean photos often fail on blur, sensor noise, heavy JPEG compression, fog, rain or low light, all routine in the field. Benchmarks such as ImageNet-C apply graded corruptions to measure this, and you can corrupt your own test set the same way to find what breaks the model before users do. Fix what matters with augmentation, better capture or real data from those conditions, and keep the corrupted set as a regression test.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Reading benchmarks and leaderboards
Leaderboard numbers compare only when protocols match: the same split, input size, IoU thresholds, test-time augmentation and extra training data. A model pretrained on billions of web images may already have seen your benchmark's images or near-copies of them. Treat a published number as an upper bound for your data, read what the model was trained on, and rerun the two or three candidates on your own test set before you choose.
Reading
- COCO: detection evaluation protocol cocodataset.org
- Recht et al.: Do ImageNet Classifiers Generalize to ImageNet? (arXiv) arxiv.org
- Beyer et al.: Are we done with ImageNet? (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Evaluating the whole system
Users experience the whole system: the camera, the frames chosen, the detector, the tracker, the counting rule and the alert. A detector with good mAP can still give wrong daily counts if tracks split, and a mediocre one can be fine if the rule tolerates misses. Define the end metric (count error, alert precision, measurement tolerance), measure it on recorded footage with ground truth, and trace each end-to-end error to the stage that caused it.
Reading
- Google: Rules of Machine Learning developers.google.com
- Sculley et al.: Hidden Technical Debt in Machine Learning Systems papers.nips.cc
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
-
Phase 8 · Video and tracking
-
Video files, codecs and frame sampling
A video file is a container of compressed streams, and most frames are stored as differences from an earlier keyframe, so seeking to an arbitrary frame means decoding from the last keyframe. Phones and many cameras record a variable frame rate, so frame index and time drift apart, and compression smears fine detail. Sample frames by timestamp, not index, decide how many per second the task truly needs, and record the decode settings with each dataset.
Reading
- FFmpeg documentation ffmpeg.org
- PyAV documentation pyav.basswood-io.com
- torchvision: decoding and encoding images and videos pytorch.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Motion and optical flow
With a fixed camera, motion is a strong cue: frame differencing and background subtraction flag moving pixels cheaply, often enough to wake a heavier model only when something changes. Optical flow estimates where each pixel moved between frames, sparsely at tracked corners or densely with learned models such as RAFT, and feeds stabilisation, action recognition and tracking. Lighting changes and shadows look like motion, so test under real light.
Reading
- OpenCV: background subtraction docs.opencv.org
- OpenCV: optical flow docs.opencv.org
- Teed and Deng: RAFT, recurrent all-pairs field transforms (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Video classification and action recognition
Some questions need time: is the person falling or sitting down, is the worker lifting safely. Video models answer them by seeing several frames, through a frame model whose features are pooled over time, 3D convolutions over short clips, or video transformers that attend across space and time. Clip length and frame rate decide what the model can see, and compute grows with both. Check first whether one frame, or a rule over tracked boxes, already answers it.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Multi-object tracking by detection
Most multi-object trackers work by detection: detect on each frame, predict where every track should be now, match detections to tracks, start tracks for unmatched detections and end those unseen too long. Strong trackers also match low-confidence detections to existing tracks, which carries an object through partial occlusion. Most tracking errors begin as detection errors, so fix the detector and tune track start and end rules before swapping trackers.
Reading
- Bewley et al.: Simple Online and Realtime Tracking, SORT (arXiv) arxiv.org
- Zhang et al.: ByteTrack (arXiv) arxiv.org
- Ultralytics: multi-object tracking mode docs.ultralytics.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Appearance and re-identification
Motion alone loses identity when objects cross, hide behind something or leave and re-enter the frame. Re-identification adds an appearance embedding to each detection, so the tracker can match a returning object to its old track or link the same person or vehicle across cameras. Appearance shifts with pose, light and camera, so train on footage from your own cameras where you can, and treat stored embeddings of people as personal data.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Measuring trackers
Tracking has two jobs, finding objects and keeping their identities, and the metrics weigh them differently. MOTA is dominated by detection errors and barely notices identity switches; IDF1 measures how long identities stay correct; HOTA balances detection, association and localisation in one score that splits back into those parts. Pick the metric that matches the use: counting unique visitors depends on identity, occupancy on detection.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Counting, zones and events from tracks
Business questions are usually about events: a car entered the lot, a person stayed in a zone for two minutes, a box crossed the line. Build events from tracks, not single detections, and add hysteresis: require the object to stay across the line for a few frames, ignore tracks shorter than a minimum and decide what a track that ends mid-zone means. Test the event logic on its own, against hand-counted ground truth on recorded footage.
Reading
- Ultralytics: object counting guide docs.ultralytics.com
- Roboflow supervision documentation supervision.roboflow.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
-
Phase 9 · 3D vision and depth
-
Epipolar geometry and triangulation
When two cameras see the same point, its image in the second view must lie on one known line, the epipolar line, which shrinks the search for a match from the whole image to that line. The fundamental matrix, or the essential matrix once intrinsics are known, encodes this and can be estimated from matched points with RANSAC. With both camera poses known, triangulation recovers the 3D point, and its error grows fast as the angle between the rays narrows.
Reading
- OpenCV: epipolar geometry docs.opencv.org
- OpenCV: camera calibration and 3D reconstruction reference docs.opencv.org
- Szeliski: Computer Vision, chapters on structure from motion and stereo szeliski.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Stereo and depth sensors
Stereo depth comes from disparity, how far a point shifts between two rectified views: depth is focal length times baseline over disparity, so depth error grows with the square of distance, and a wider baseline helps far objects but loses near ones. Passive stereo fails on blank walls and repeated texture. Structured light projects a pattern to fix that indoors; time-of-flight sensors time reflected light but struggle in sunlight and on dark or shiny surfaces.
Reading
- OpenCV: depth map from stereo images docs.opencv.org
- Middlebury Stereo Vision benchmark vision.middlebury.edu
- Szeliski: Computer Vision, chapter on depth estimation szeliski.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Monocular depth estimation
Monocular depth models predict depth from one image, using learned cues such as size, perspective and occlusion. Many give relative depth, right in order and shape but with unknown scale and offset; metric models estimate real distances but depend on knowing or guessing the camera's intrinsics. They suit visual effects, rough scene layout and priors for other models; for measurement or safety, align them to a known reference or use a real depth sensor.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Structure from motion and visual SLAM
Structure from motion takes many overlapping photos, matches features across them and solves for every camera pose and a sparse 3D point cloud together, refining both with bundle adjustment. Visual SLAM does the same in real time from a moving camera, keeping a map and recognising revisited places to correct drift. Both need texture, overlap and some baseline between views, and one camera alone cannot tell scale without an IMU, stereo or a known distance.
Reading
- COLMAP documentation colmap.github.io
- Schonberger and Frahm: Structure-from-Motion Revisited (CVPR 2016) openaccess.thecvf.com
- Campos et al.: ORB-SLAM3 (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Point clouds and LiDAR
A point cloud is an unordered set of 3D points, often with intensity or colour, from LiDAR, depth cameras or reconstruction. Having no grid, it is either read directly by order-independent layers (PointNet style), grouped into voxels or pillars for sparse 3D convolution, or projected into a range or top-down image. Density falls with distance, so an object 60 metres away may be a handful of points, and a model trained on near objects rarely handles far ones.
Reading
- Qi et al.: PointNet (arXiv) arxiv.org
- Lang et al.: PointPillars (arXiv) arxiv.org
- Open3D documentation open3d.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
3D detection and bird's-eye view
3D detectors output boxes in metres, with position, size and heading, which is what planning and safety systems consume. LiDAR detectors work on points or voxels; camera-only systems lift image features into a bird's-eye-view grid and must infer depth, their main weakness; fusion uses both. Evaluate with metrics binned by distance, because a miss at 60 metres and one at 10 mean different things, and check the calibration between sensors first.
Reading
- nuScenes: detection task and metrics nuscenes.org
- Li et al.: BEVFormer (arXiv) arxiv.org
- Liu et al.: BEVFusion (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Neural radiance fields and Gaussian splatting
Neural radiance fields and 3D Gaussian splatting rebuild a scene from posed photos so you can render it from new viewpoints. NeRF stores the scene in a network queried along each ray; Gaussian splatting stores millions of small coloured blobs and renders in real time, which made it popular for digital twins and simulation. Both need accurate camera poses, usually from structure from motion, and their geometry is less trustworthy than their images.
Reading
- Mildenhall et al.: NeRF (arXiv) arxiv.org
- Kerbl et al.: 3D Gaussian Splatting for real-time rendering (arXiv) arxiv.org
- Nerfstudio documentation docs.nerf.studio
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
-
Phase 10 · Vision-language and generative models
-
Zero-shot classification with image-text models
CLIP-style models train an image encoder and a text encoder so matching pictures and captions land close together, which lets you classify without training: embed one sentence per class and pick the nearest. Having learned from captions, they are sensitive to wording, so a photo of a crane, a type of bird beats the bare word crane, and averaging several templates helps. Measure on your own labelled sample, and add a linear probe when zero-shot falls short.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
How vision-language models read images
Most vision-language models pair a vision encoder with a language model: the encoder turns the image into patch features, a small projector maps them into the language model's token space, and the language model reads them like words. Detail is capped by the encoder's input resolution, so many models tile a large image into crops, which multiplies the image tokens and the cost. Small text, thin lines and exact positions are where that cap shows first.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Vision-language models as a CV tool
A general vision-language model answers a visual question from a prompt with no training data, which makes it the fastest prototype and a good fit for rare, varied or open-ended questions. It is also slower and costlier per image than a small trained model, can describe objects that are not there, and is weak at exact counts, positions and measurement. Use it where volume is low or the question open; for a fixed high-volume task, let it label data for a specialist.
Reading
- Claude docs: vision docs.claude.com
- Gemini API: image understanding ai.google.dev
- Rahmanzadehgervi et al.: Vision Language Models Are Blind (arXiv) arxiv.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Evaluating a VLM on your task
Evaluate a vision-language model like any vision model, on your own labelled images, but make its answers checkable first: ask for a fixed label set, a number or structured fields instead of free prose. Then probe its known failure modes: naming objects that are absent, miscounting, mixing up left and right and missing small details. Include images whose right answer is none, and rerun the whole set whenever the model version changes.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Fine-tuning a VLM for your domain
Fine-tune a vision-language model when prompting cannot reach the quality you need in a narrow domain, such as your product codes, document layouts or defect names, or when a smaller model must match a big one. Collect a few thousand image and answer pairs in exactly the output format you want, train adapters such as LoRA rather than every weight, and keep a held-out set to catch lost general skills. Often a trained detector is still the simpler answer.
Reading
- Hugging Face TRL: fine-tuning vision-language models huggingface.co
- Hu et al.: LoRA, low-rank adaptation (arXiv) arxiv.org
- Hugging Face PEFT documentation huggingface.co
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
OCR and document AI
Reading documents is reliable when split into checkable stages: fix orientation and perspective, find the layout of blocks, tables and fields, recognise the text, then parse and validate fields, such as totals that must add up and dates that must parse. Flattening a page to one text stream discards the spatial structure tables rely on. End-to-end document models and VLMs are now strong, but keep the validation stage: a fluent wrong number looks right.
Reading
- Google Cloud: Document AI overview cloud.google.com
- Smith: An Overview of the Tesseract OCR Engine static.googleusercontent.com
- Tesseract documentation tesseract-ocr.github.io
- Kim et al.: OCR-free Document Understanding Transformer, Donut (arXiv) arxiv.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Image generation with diffusion
Diffusion models generate images by learning to remove noise step by step, steered by a text prompt or another image, and can be fine-tuned on a few domain images. For a CV engineer they are a tool for synthetic data, inpainting and augmentation, and a risk: they can reproduce near-copies of training images, so fine-tuning on people or brands without rights creates privacy and IP exposure. Judge outputs on prompt adherence, realism and memorisation.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
Chapter 10 lab
Write the instruction for validating extracted fields against a source of truth
A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.
Start the lab -
-
Phase 11 · Deploying and running vision systems
-
Latency and throughput budgets
The model is often a minority of a vision system's latency. Decoding a compressed frame, resizing and normalising on the CPU, copying to the GPU, running NMS and drawing results can each take as long as inference. Profile the whole path per frame, keep latency (one frame end to end) apart from throughput (frames per second across streams), and set the budget from the use: a safety stop needs milliseconds, a nightly shelf audit does not.
Reading
- PyTorch: profiler recipe pytorch.org
- NVIDIA Nsight Systems developer.nvidia.com
- NVIDIA TensorRT: performance best practices docs.nvidia.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Exporting to ONNX and TensorRT
Exporting turns a PyTorch model into a graph an inference runtime can optimise: ONNX as a portable format, TensorRT for NVIDIA GPUs, Core ML or LiteRT for phones. Export breaks most often on custom operators, data-dependent control flow and post-processing such as NMS, and fixed input shapes run fastest but refuse other sizes. After every export, run the same images through both models and compare outputs numerically before you time anything.
Reading
- PyTorch: exporting to ONNX pytorch.org
- ONNX Runtime documentation onnxruntime.ai
- NVIDIA TensorRT documentation docs.nvidia.com
- Ultralytics: export mode docs.ultralytics.com
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Quantisation, pruning and distillation
Quantisation to int8, pruning and distillation make vision models smaller and faster, and none is free. Post-training quantisation needs a calibration set that looks like real input, and it often costs most on small objects and fine boundaries, which an overall mAP can hide. Pruned weights speed things up only if the hardware and runtime exploit that sparsity pattern. Re-measure quality per slice, and latency on the target device, before shipping.
Reading
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Inference pipelines for images and video
At scale, the pipeline around the model sets throughput. Decode video on the GPU's hardware decoder rather than the CPU, keep frames on the GPU through preprocessing and inference, batch frames across camera streams, and drop frames on purpose when the system falls behind instead of letting a queue grow. For images over HTTP, send compressed bytes rather than raw arrays. Frameworks such as NVIDIA DeepStream and Triton package these patterns.
Reading
- NVIDIA DeepStream SDK developer guide docs.nvidia.com
- NVIDIA Triton Inference Server user guide docs.nvidia.com
- NVIDIA DALI documentation docs.nvidia.com
- NVIDIA Video Codec SDK developer.nvidia.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Cloud or edge
Cloud or edge is a requirements decision. Running on the device keeps images local, works offline and skips the network round trip, which cloud-only cannot match for private, real-time or poorly connected products; the cloud gives bigger models and easy updates. Many systems split the work, with a small model on the camera choosing what to send to a larger one. Decide from latency, bandwidth, privacy and hardware, then pick a runtime the device supports.
Reading
- PyTorch ExecuTorch: on-device inference pytorch.org
- Google: LiteRT (TensorFlow Lite) for edge ai.google.dev
- ONNX Runtime documentation onnxruntime.ai
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
Running a camera fleet
A deployed vision system is a fleet of cameras, and each one changes: it gets bumped or re-aimed, its lens gets dirty, a firmware update changes exposure or compression, and the scene in front of it is rearranged. Keep a reference frame and a baseline of key image statistics per camera, alert when a camera drifts from them or goes dark, blurred or frozen, and treat any camera change as a reason to re-check that camera's accuracy.
Reading
- Rabanser et al.: Failing Loudly, detecting dataset shift (arXiv) arxiv.org
- Google: Rules of Machine Learning developers.google.com
- ONVIF: network video interface standards onvif.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Monitoring and drift
A vision model can degrade while its code and weights stay the same, because the world in front of the camera changes: lighting, seasons, products, uniforms or camera models. Audit a sample of live predictions by hand on a schedule, since that audited metric is your ground truth, and watch label-free signals such as confidence, detection counts and embedding drift for early warning. When the audit slides, find how inputs changed before retraining or rolling back.
Reading
- Google: Rules of Machine Learning (monitoring) developers.google.com
- Rabanser et al.: Failing Loudly, detecting dataset shift (arXiv) arxiv.org
- Koh et al.: WILDS, in-the-wild distribution shifts (arXiv) arxiv.org
Start the 4 questionsTest yourself on this topic
4 graded questions · scored out of 100 with feedback · free
-
The data flywheel
The best training data for the next model comes from the current one's mistakes in production. Log what the model was unsure about, what users corrected and where it disagreed with a second model, sample from those within your privacy rules, label them and add them to training while the test set stays fixed. Track how much each round improves the slices that prompted it. Without that loop, a team keeps collecting more of the easy images it already handles.
Reading
- Settles: Active Learning Literature Survey (PDF) burrsettles.com
- Google: Rules of Machine Learning developers.google.com
- Karpathy: A Recipe for Training Neural Networks karpathy.github.io
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
Chapter 11 lab
Write the instruction for a drift triage agent
A prompt lab that closes the chapter: you write the instruction, and it is graded on a rubric.
Start the lab -
-
Phase 12 · Responsible computer vision
-
Privacy in images and video
Cameras capture far more than the task needs: faces, licence plates, screens, documents and people who never agreed to be filmed. Collect the least you can, for example by processing on the device and keeping only counts or events; blur faces and plates before storage when identity is not the task; keep footage briefly and limit who can view it. Under GDPR, images of identifiable people are personal data, needing a lawful basis and often an impact assessment.
Reading
- EDPB: Guidelines 3/2019 on processing personal data through video devices edpb.europa.eu
- EUR-Lex: General Data Protection Regulation eur-lex.europa.eu
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Face recognition and the law
Face recognition is the most regulated thing a vision engineer is likely to build. Under GDPR, biometric data used to identify someone is a special category needing an explicit legal ground. Since February 2025 the EU AI Act has banned untargeted scraping of facial images to build recognition databases and emotion recognition at work and in schools, and tightly limits live remote identification by police in public. Illinois's BIPA requires written consent first.
Reading
- EUR-Lex: EU AI Act, Regulation (EU) 2024/1689 eur-lex.europa.eu
- European Commission: AI Act overview digital-strategy.ec.europa.eu
- EUR-Lex: General Data Protection Regulation eur-lex.europa.eu
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Performance gaps across people and places
Vision models can work worse for some people and places: commercial face analysis has shown far higher error for darker-skinned women, and object recognisers trained on photos from rich countries do worse on household items from poorer ones. The gaps come from who and where the data was collected. Measure error per group and region on a test set built to cover them, report gaps with sample sizes, and treat a large gap as a blocker for people-facing launches.
Reading
- Buolamwini and Gebru: Gender Shades (PMLR) proceedings.mlr.press
- NIST IR 8280: Face Recognition Vendor Test, demographic effects (PDF) nvlpubs.nist.gov
- DeVries et al.: Does Object Recognition Work for Everyone? (arXiv) arxiv.org
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Adversarial and physical attacks
Small, carefully chosen pixel changes that people cannot see can flip a vision model's prediction, and printed patches or stickers can do the same in the physical world, hiding a person from a detector or changing a road sign's class. Attacks are easiest with access to the model, but they often transfer to others. Adversarial training and input checks help only partly, so in security-relevant uses design the system so that one fooled prediction is not enough.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Vision in safety-critical systems
When a vision output can hurt someone, in vehicles, machinery or medical devices, average accuracy is not evidence of safety. You need to know where the model fails, detect inputs outside what it was tested on, and define what the system does then: slow down, hand over to a person or stop. ISO 21448 frames this as finding and shrinking unknown unsafe scenarios. Keep the evidence: data coverage, results per scenario and every field failure.
Reading
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Dataset and model licences
Datasets and models carry licences that can block a product. ImageNet's terms allow only non-commercial research and teaching, COCO's annotations are openly licensed but its images belong to their Flickr owners, and scraped web images raise copyright and privacy questions. Some popular detection code and weights are released under AGPL-3.0, which can oblige you to publish your own source unless you buy a commercial licence. Check every licence before production.
Reading
- ImageNet-1k dataset card and terms of access (Hugging Face) huggingface.co
- COCO: terms of use cocodataset.org
- GNU Affero General Public License v3 gnu.org
- Ultralytics repository licence (GitHub) github.com
Start the 3 questionsTest yourself on this topic
3 graded questions · scored out of 100 with feedback · free
-
Practise the Computer Vision Engineer roadmap
295 questions, each graded on the server out of 100. Free · no card.
Other AI careers
- Agent Engineer
- AI Alignment Researcher
- AI Data Engineer
- AI Engineer
- AI Evals Engineer
- AI Governance Analyst
- AI Infrastructure Engineer
- AI Integration Engineer
- AI Product Manager
- AI Red Team Specialist
- AI Reliability Engineer
- AI Research Engineer
- AI Safety Engineer
- AI Security Engineer
- AI Solutions Architect
- AI Strategist
- Context Engineer
- Conversational AI Designer
- Forward-Deployed Engineer
- Inference Optimization Engineer
- ML Engineer
- Multimodal AI Engineer
- Post-Training Engineer