The Perspective Calibration toolkit
For videos where the optical axis of the camera is not perpendicular to the plane of motion. Define the plane of motion using four points with known positions or two tracked features with known separation moving through space.
