PinSolver is a Blender add-on for camera and object alignment built on OpenCV's PnP (Perspective-n-Point) algorithm. You link 2D coordinates on an image to 3D coordinates in 3D space, and the add-on solves the alignment from those pairs. It supports work ranging from static object placement to full video matchmoving.
The add-on offers two modes. Layout Mode is dedicated to single-frame static camera matching and prop placement, while Matchmove Mode integrates with Blender's 2D tracking data to bake camera or object animations. The number of pins you set controls the solve: 1-Pin (Raycast) snaps the target along the camera's ray using a single point, 2-Pin (Pan/Orbit) calculates basic orientation and translation from two points, and 3+ Pins deliver full 6 Degrees of Freedom for position and rotation.
Automatic Lens Calibration, covering focal length and optical center, requires at least six active pins. PinSolver runs on Blender 4.2 LTS and newer, with builds for Windows, macOS (Intel and Apple Silicon) and Linux.