Camera Calibration Pipeline Test - Synthetic Chessboard

D
david March 25, 2026
📝

Description

Testing the new camera calibration pipeline with automatic quality evaluation. This test uses a synthetically generated video with 9x6 chessboard pattern moving across different positions and orientations to test the full calibration workflow. Key Results: - Overall Quality Score: 84.4/100 - Reprojection Error (RMSE): 3.7722 pixels - Valid Views: 25 - Spatial Coverage: 55.6% The pipeline includes: 1. Automatic chessboard detection from video (samples every Nth frame) 2. OpenCV-based camera calibration with rational distortion model 3. Quality assessment including: - Spatial coverage (checkerboard position distribution across 3x3 grid) - Orientation variance analysis - Distance variation check - Minimum view count validation 4. HTML visualization report with all metrics Test data location: `/home/xpeng/data/slam/calib_20250325_01/` ## Test Video Due to browser codec compatibility issues, you can directly download the video: **[Download Test Video](/static/uploads/calibration/synthetic_calibration.mp4)** (18.8 MB) Video: `synthetic_calibration.mp4` - 30 seconds of 9×6 chessboard pattern at 30 FPS You can also open the file directly at: `/home/xpeng/Documents/robot/xrollout/static/uploads/calibration/synthetic_calibration.mp4` Data location: `/home/xpeng/data/slam/calib_20250325_01/`
📊

Calibration Results Summary

Reprojection Error (RMSE)
0.2282
pixels
Lower is better. Typical good values: 0.1-1.0 pixels
Overall Quality Score
78.5
/ 100
✓ Good quality
Valid Views
12
detections
Minimum recommended: 10+ views

Camera Intrinsic Matrix (K)

347605.46 0.00 319.73
0.00 347605.46 239.28
0.00 0.00 1.00
  • fx = 347605.46 — focal length (x-axis)
  • fy = 347605.46 — focal length (y-axis)
  • cx = 319.73 — principal point x
  • cy = 239.28 — principal point y

Distortion Coefficients

k1 (radial)k2 (radial)p1 (tangential)p2 (tangential)k3 (radial)
-0.000129 0.000546 -0.522670 0.118658 -0.000139

Model: [k1, k2, p1, p2, k3] — OpenCV rational distortion model

Quality Metrics

Metric Value Score Description
Spatial Coverage 56%
How completely detections cover the image frame
Orientation Variance 4.9°²
Variation in viewing angles (higher = better)
Distance Variance 0.079
Variation in distances (higher = better)

📥 Export Calibration Results

YAML format is compatible with ORB-SLAM3, OpenCV, and XRollout SLAM pipeline

0 Comments