above code work fine but out put is not display i tried to display whatever text present in image that can be displayed in output but that was not happening please help me or give me any hint
Well, it's hard to tell what your problem is (or even whether you have a problem, since you said the code works fine). But as far as I can see all of the work is done by that Tesseract class, and the code you posted is there simply to call a method from Tesseract.
So either you're calling it wrong, or it's doing something wrong, or your expectations of Tesseract are wrong. It's hard to say much else based on what you posted.
Post by:autobot
Arch enemy? I mean, I don't like you, but I don't think you qualify as "arch enemy". Here, try this tiny ad:
a bit of art, as a gift, the permaculture playing cards