Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Thank you @opalmirror for your explanation! After a couple more tries and research, I managed to solve the problem by replacing the matrix Q from cv2.stereoRectify with this value:

Q = np.float32([[1, 0, 0, 0],
               [0, -1, 0, 0],
               [0, 0, focal_length * 0.05, 0],
               [0, 0, 0, 1]])

Hope this would help others with a similar problem!