1
votes

I want to calibrate and rectify a stereo Camera with OpenCV and Python. The code works, but the rectify camera videos are zoomed in. Where could be the problem? And how can I best test if the calibration and the stereo calibration was successful?

1
Add code sample, add images. We can't help with what we can't see.Francesco Callari

1 Answers

2
votes

In the process of undistorting, the image will be warped, cropped and resized. This might have given a sense of zooming in.

Process of Stereo Rectification

To check whether the stereo calibration is correct, find some key points in the left image and draw the corresponding epipolar lines in the other image, and check whether the epipolar line passes through the corresponding point in the right image.

take a look at this link

Left Image with some keypoints

Right image with corresponding epipolar lines