this function is calculating the homography matrix from two vanishing points.
- the original function exists in https://github.com/chsasank/Image-Rectification/blob/master/rectification.py
- the python function called: def compute_homography_and_warp(image, vp1, vp2, clip=True, clip_factor=3)