Code about MVG
from algorithm import compute_homography
basic_dlt(point_list1,point_list2)
normilized_dlt(point_list1,point_list2)
persp |
fronto |
result |
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 |