Computer Vision Primer
September 7, 2026
PnP Primer — Recovering Camera Pose from Nothing but 3D Points and an Image
Perspective-n-Point (PnP) is the geometric problem of estimating a camera's position and orientation from known 3D points and their corresponding image points. This article works through the projection equation, P3P/AP3P, EPnP, iterative optimization, RANSAC, planar degeneracy, and how PnP is used in Visual SLAM, AR, and surveying, with the math and an implementation checklist.
Fundamentals · 6 min