From e72c486f3cfd511f5092480604e0aeee017f0d10 Mon Sep 17 00:00:00 2001 From: Rick Sprague Date: Mon, 26 Aug 2024 22:30:07 -0400 Subject: [PATCH] update --- epipolar_geometry.py | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/epipolar_geometry.py b/epipolar_geometry.py index 068a696..1c6cc0f 100644 --- a/epipolar_geometry.py +++ b/epipolar_geometry.py @@ -170,6 +170,17 @@ def main(): print("e1: " , e1) print("e2: " , e2) + # if True: + # this is wrong + # t = D[:3, 3] + # t_2d = apply_intrinsics(K, t) + # # can we find e1's epipol by projecting p2 into p1 (which is effectively projecting t into p1) + # print("t: ", t) + # print("t_2d: ", t_2d) + # print("e1: ", e1) + # print("F.T @ t_2d: ", F.T @ t_2d) + # return + img1_with_lines, img2_with_lines = draw_epipolar_lines(img1, img2, pts1, pts2, F) # Plot the results