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).

greetings,
sven