OCR with Tess4J and Images

Hi Community,

I try to implement an OCR Text (Number ony) recogniction.

Is it possible to detect if the number is readable? i first thought was: rotate the image until a number is recogniced (but sometimes crap is detected).


Hi @sven-abx,

are the numbers you are trying to detect, always the same length? If yes then you could try running the detection on all 4 basic rotations and only accept the one where the numbers have the correct length.
Its a bit rudimentary but that would be my first idea.


1 Like