Am looking for any recommendation for libraries that will allow me to auto orient images. My project is in C#. I am looking for either open source or commercial libraries.
I want to use these libraries on either documents that are scanned or faxed as such my images will be lacking of EXIF data
The image will contain mostly English text. I looked at the OCR that MODI provides, can't go that route as the customer apparently is not running Office 2007.
If you mean to extract the image orientation from the EXIF data and to rotate the image accordingly then you might want to have a look at ImageMagick's auto-orient feature.
You can either automate ImageMagick via the command line or use the available .NET wrapper.
If you don't have EXIF information available, an automatic detection of the orientation will most likely only work if your image contains mainly text in lines (I assume this is the case for faxes). You could then make use of an OCR engine and use the orientation detected by the engine.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With