OpenCV Python Epipolar Geometry Stereo Vision

1,814
0
Published 2023-10-02
In this video, I will go over epipolar geometry in OpenCV using Python in VS Code. I will show you how to find the fundamental matrix and use that to draw epipolar lines (epilines) in the two pair of stereo images from the Middlebury dataset.

0:00 Introduction
0:23 What is epipolar geometry?
2:59 Why do we need epipolar geometry?
3:19 How does epipolar geometry work?
5:28 Code

Thanks for watching! If you found this video helpful, please like, subscribe and share:
youtube.com/@kevinwoodrobotics

Social:
LinkedIn: www.linkedin.com/in/kevinwoodrobotics
Github: github.com/kevinwoodrobotics
Instagram: www.instagram.com/kevinwoodrobotics/
Twitter: twitter.com/kevinwoodrobotics

All Comments (12)
  • @unveil7762
    :face-red-heart-shape: this will be cool to have realtime in some compute shaders 🙂
  • @realblythe
    Such a great video worth watching. Well explained
  • @user-kj8em6mu2m
    you used 2 photos with a parallel angle, but will this code work in the second case, when the photos are at angles? I want to try it out. I really liked your explanation
  • @TungDinh_CV
    Thanks for sharing this video, Kevin! I have a question and hope you could help me understand it. At 9:50, regarding the function cv.computeCorrespondEpilines, could you explain the parameter 'whichImage' in this case in terms of left or right image? I wasn't so sure if 2, the second image, was the left or the right one. If we have keypoints of the right image, should we we draw the epipolar lines on the left image? So, in this case, 2 is the left image. Am I correct? Thanks a lot Kevin!