StereoCalibrate and StereoRectify with different resolutions

so your cameras are about 134.6 mm apart? says the calibration.

in the epiline picture it looks like the alignment didn’t succeed. various keypoints from the scene don’t match up.

always hold the calibration pattern so its plane is not parallel to any of the image planes of the cameras.

also don’t position your cameras too perfectly. that will hide errors in the code/math like swapped pictures/cameras/matrices/… position them sloppily, so issues become apparent, and only the correct calibration makes them disappear.