Opencv, Image Transformation, Homography, Streamlit, Github.
np.cos(angle_radians)) * center_y] rotation_matrix = np.array([[x1, x2, x3, [y1, y2, y3, [0, 0, 1]], dtype=np.float32) In the Streamlit app, you can again use the slider to change the rotation angle from -90 till 90 degrees. It is quite cool what we can do with just a few lines of code, but the