📚 Course contents
AI & Computer Vision, lesson 33 of 52
Homography: From Camera View to Pitch Map
Introduction
A player near the camera covers 100 pixels in a step; one far away covers 10. So you can't measure distance or speed in pixels. Today you'll fix that with a homography: a 3 by 3 grid of numbers, worked out from four known points, that stretches the camera's slanted view of the pitch into a flat, top-down map in metres.
By the end of this lesson you'll be able to:
- Explain why pixel distances are wrong when the camera looks at an angle
- Define a homography as a way to flatten a plane using four known points
- Calibrate: click four landmarks and give their real positions in metres
- Convert detections to pitch coordinates and draw a top-down view
- Measure how clicking errors become metre errors, and sanity-check a calibration

