I would like to detect the rotation angle of scanned ID card here there are the sample images
[C:\fakepath\+90 Degree.jpg](/upfiles/1478027228770138.jpg)
[C:\fakepath\0 Degree.jpg](/upfiles/14780272881817805.jpg)
[C:\fakepath\-90 Degree.jpg](/upfiles/14780273172878512.jpg)
[C:\fakepath\180 Degree.jpg](/upfiles/14780273454061569.jpg)
Thanks for help any idea is appreciated