Opencv, Image Transformation, Homography, Streamlit, Github.
np.array([ [1, 0, tx], [0, 1, ty], [0, 0, 1] ], dtype=np.float32) translated_image = cv2.warpPerspective(image.copy(), translation_matrix, (image.shape[1], image.shape[0])) In the Streamlit app, you can use a slider to move the image horizontally and vertically. The last simple transformation is