4

I'm developing a java application which has document reading using OCR.
The output seems to be incorrect sometimes because of the incorrect orientation of the scanned document. So that I need to autorotate the scanned document. May I know whether the OCR Engine itself has the auto-rotation feature or any other SDK has this feature.

Thanks for any suggestion.

Jørgen R
  • 10,568
  • 7
  • 42
  • 59
Neenu
  • 6,848
  • 2
  • 28
  • 54
  • 1
    _May i know whether the OCR Engine itself has the automation feature_ **Which** engine? There are _a lot_ of OCR engines. – BackSlash Sep 17 '13 at 09:26
  • Now i'm using J4L. but i want to change engine if there are ocr engines that support auto-rotation. – Neenu Sep 17 '13 at 09:30

2 Answers2

0

I recommend you use FineReader OCR Software. It is a very useful tool and it has a property called PageProcessingParams::DetectOrientation which - if set to true - will rotate your image automatically.

Hopefully this helps you. :)

Ogen
  • 6,499
  • 7
  • 58
  • 124
0

If you are taking the photo handling the Camera API then you could check the sensors in the moment user takes the photo (presses the button).

With that info you could determine the orientation of the device in the moment the photo was taken and then make some rotations.

Joaquin Iurchuk
  • 5,499
  • 2
  • 48
  • 64