Skip to content

Instantly share code, notes, and snippets.

Last active April 20, 2022 07:15
What would you like to do?
Stereo Rectification through OpenCV in the uncalibrated variant. Full article for context and remaining code:
# Stereo rectification (uncalibrated variant)
# Adapted from:
h1, w1 = img1.shape
h2, w2 = img2.shape
_, H1, H2 = cv.stereoRectifyUncalibrated(
np.float32(pts1), np.float32(pts2), fundamental_matrix, imgSize=(w1, h1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment