Draw the stereo rectified images along with horizontal lines to compare them
# Draw the rectified images | |
fig, axes = plt.subplots(1, 2, figsize=(15, 10)) | |
axes[0].imshow(img1_rectified, cmap="gray") | |
axes[1].imshow(img2_rectified, cmap="gray") | |
axes[0].axhline(250) | |
axes[1].axhline(250) | |
axes[0].axhline(450) | |
axes[1].axhline(450) | |
plt.suptitle("Rectified images") | |
plt.savefig("rectified_images.png") | |
plt.show() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment