Can I auto-rotate an image that contains mainly text? Maybe via OCR? The algorithm or whatever needs to scan the image and decide if it has to rotate it 90°, 180° or 270°
I want to include this feature into an existing PowerShell script, so command-line ability is mandatory.
I'm open for ImageMagick solutions
Example
I have already read the following SO questions. But they rotate photos.
and I'm only trying to rotate pure text scans which have no EXIF metadata.