Geometry exercises (E01–E04)
These four exercises cover the core topics of Chapter 2: projective representations, homographies, camera calibration, and epipolar geometry.E01 — Where does John Lennon look?
Apply homogeneous coordinates and line intersection to determine gaze direction in an image. Topic: homogeneous coordinates.
E01 — Solution
Reference solution for the John Lennon exercise.
E02 — Clock rectification
Compute and apply a homography to rectify a perspective-distorted image of a clock face. Topic: homographies.
E02 — Solution
Reference solution for the clock rectification exercise.
E03 — Camera calibration
Calibrate a real camera using a checkerboard pattern and recover intrinsic and extrinsic parameters. Topic: camera calibration.
E04 — Epipolar geometry
Compute the fundamental matrix and visualize epipolar lines between a stereo image pair. Topic: epipolar geometry.
Deep learning exercises (E05–E11)
These exercises cover Chapter 3 (deep learning architectures) and Chapter 4 (ethics).E05 — CNN training
Train a convolutional neural network from scratch on an image classification dataset using PyTorch. Topic: CNNs.
E06 — YOLO mask detection
Fine-tune a YOLO model to detect face masks in images. Topic: object detection.
E07 — Facial analysis
Implement facial recognition and attribute analysis using pretrained deep learning models. Topic: facial analysis.
E08 — UNet segmentation
Train a UNet architecture to perform pixel-wise semantic segmentation on an image dataset. Topic: segmentation.
E09 — GAN image generation
Implement and train a Generative Adversarial Network to synthesize new images. Topic: GANs.
E10 — Transformers
Apply Vision Transformers (ViT) using HuggingFace for image understanding tasks. Topic: Transformers.
E11 — Ethics quiz
A short quiz on AI ethics, fairness, bias, and explainability. Completed through Canvas. Topic: ethics.
Full exercise list
| # | Topic | Exercise | Solution |
|---|---|---|---|
| E01 | Homogeneous coordinates | Where does John Lennon look? | Solution |
| E02 | Homographies | Clock rectification | Solution |
| E03 | Camera calibration | Camera calibration for a project | — |
| E04 | Epipolar geometry | Course repo | — |
| E05 | CNN training | CNN training | — |
| E06 | Object detection — YOLO | Course repo | — |
| E07 | Facial analysis | Facial analysis | — |
| E08 | Segmentation — UNet | UNet segmentation | — |
| E09 | Generative models — GANs | GAN image generation | — |
| E10 | Transformers | Transformers exercise | — |
| E11 | Ethics | Quiz on Canvas | — |
Working with Google Colab
MATLAB examples
Several geometry topics also include MATLAB examples hosted on GitHub. These are especially useful for visualizing 3D transformations interactively. You can browse all MATLAB files directly in the course repository:- Geometry MATLAB examples — includes 3D pyramid, perspective GUI, and epipolar geometry demos.
CV02_Perspective.m), download the following files to the same directory before running MATLAB:
