Finding rotated and inverted images

Viewed 39

I am working on a text extraction task. But the OCRs don't produce good results on tilted and rotated images. So, is there a way to find rotated and inverted images so that their orientation can be fixed?

I've already tried this approach :Is there a way i can detect the image orientation and rotate the image to the right angle? .

This approach is based on the orientation of texts present inside the image and only works if all the texts present have the same orientation. It works for tilted ones, however doesn't work for inverted ones.

0 Answers
Related