Procrustes, also called the 3D-3D correspondence problem, finds the camera pose
First, note that we only need
3 Points
We have
Then, observe that an orthonormal basis is only affected by rotation. Thus,
Solve for
General Solution
For
Differentiating the objective with respect to
where centroids
Then, subtract the centroids from each point to get
and now our objective is
This can be done with 📎 Singular Value Decomposition, setting