The link below use Matlab to remove non-text content from an image. I want to do the same thing with OpenCV in Java.
I don\'t have a Matlab to try with and I am new
Posting as an answer just to show the result of the OpenCV text detection example
Now you need to apply text recognition, using for example OCRHMMDecoder
You'll find a sample here