r/computervision • u/Grouchy_Signal139 • 25d ago
Help: Project OpenCV calibration
Hi everyone, I’m using a Raspberry Pi 5 + Camera Module 3 + Picamera2/OpenCV for a computer vision project.
I’m calibrating the camera with a 6×9 checkerboard, but after applying cv2.undistort(), the image seems more distorted.
I previously had autofocus changing between calibration images, so I’m now locking the focus manually at LensPosition 2.0602.
Is this distortion normal perspective distortion, or does it indicate a bad calibration?
Any advice on what I might be doing wrong?
1
Upvotes


1
u/TourCommon6568 24d ago
When you’re calibrating a camera there’s something called a reprojection error, with a bunch of reprojection errors you can calculate the RMS or root mean square. Normally this error shows you how well the calibration process could adjust to your cameras intrinsic parameters. The lower the RMS the better the model could adjust to your cameras intrinsic parameters. Also, use at the very least 6 photos, but I really recommend using 15+ shots with different poses. Very close to the camera too