I have to complete the project in which I have to apply some techniques or model to images . My aim is to convert the image to frontal/straight when it comes to skewed , sheared or any transformation. I can use open-cv as well. If there is any tutorial / code , share the link with me ?
I suggest understanding first what types of transformations applied to your images and based on that you can select the right reverse transformation to your images because there are different types of transformations e.g., geometric, color transformation, and I will give you an example below:
If the transformations are only geometric transformations, not color transformation, you can read more about perspective transformations see this link to understand more perspective transform in opencv
To retrieve the original image from the transformed image automatically you should use some techniques such as edge detection and finding contours, you can read this blog on how to do that: 1 and also this 2.
Hope this helps!