Opencv, Image Transformation, Homography, Streamlit, Github.
rotation. Rotation is a bit trickier and requires more calculations than previous transformations. To not overcomplicate we will rotate the image along the image center, so firstly we need to get the center of the image (center_x and center_y). The image in the example is turned 45 degrees, we need