Align two 3D scans of the same object with Iterative Closest Point, written from scratch. You'll sample point clouds from an asymmetric trimesh model and hide a known rigid transform plus sensor noise in the target. Then you'll implement the Kabsch/SVD best-fit transform and build point-to-point ICP on a KD-tree, tracking convergence. You'll stress-test ICP with large initial rotations and cluttered scans, add a trimmed variant that rejects outliers, and check your result against trimesh's built-in ICP. Nothing to download.
Build the Point Clouds
Visualize the Misalignment
Kabsch & ICP
Robustness & Comparison
Premium Project
This guided, GPU-powered project is available to Premium members. Upgrade to train models end-to-end in an interactive notebook.