Suppose this is the image I have:
How do I get this image exactly aligned to the horizontal axis if i do not know the tilt angle? how to rotate this considering a parameter from within the image and getting it aligned irrespective of the amount of rotation??