Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Stereo Rectification through OpenCV in the uncalibrated variant
# 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