Camera PnPoint is an add-on for Blender that brings a powerful Perspective-n-Point solver to the camera tracking workbench. PnP is the problem of estimating the pose of a calibrated camera from a given set of 3D points and their 2D projections in the image plane.
The add-on also includes a Camera Calibration solver that allows adjusting the most relevant lens parameters, like focal length and radial distortion, using projection data from the 3D and 2D markers.
The main difference between the PnP algorithm and other perspective matching tools is that it does not require pictures with multiple vanishing points, or objects with parallel lines for that matter. In addition, unlike the built-in camera motion solver, the add-on relies on ground-truth 3D locations and require only one still picture to find a camera pose.
This add-on uses OpenCV library, which can be installed from the add-on’s preference panel. You may need to start Blender with elevated privileges for this to work.
- A camera pose solver for blender using PnP algorithm.
- A camera lens calibration solver for Blender. It can optimize focal length, principal point and radial distortion parameters.
- Reprojection error for the last solve is displayed for user convenience.
- The pose solver automatically setups a camera with the resulting extrinsics, intrinsics and background image.