Official sample shows how to get plain text only, bot boxes with text inside:
TessBaseAPI tess = getTessBaseAPI(path, context);--
You received this message because you are subscribed to the Google Groups "tesseract-ocr" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tesseract-oc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tesseract-ocr/e937f7bc-5e04-4f85-b7a1-a63f61e00426n%40googlegroups.com.