/Multiple-View-Geometry-Code

Multiple view geometry in computer vision

Primary LanguagePython

Multiple View Geometry Code

Code about MVG

Compute Homography

from algorithm import compute_homography
basic_dlt(point_list1,point_list2)
normilized_dlt(point_list1,point_list2)
persp
fronto
result

Affine Rectification

Transform the vanishing line to its canonical form

from algorithm import affine_rectification
rectify(img, parallel_A, parallel_B, H_A=None, debug=False)
vanishing line
rectified