gcv2hocr
gcv2hocr copied to clipboard
Support Document text detection
When posting OCR request, we can choose two type of response.
A TEXT_DETECTION response includes the detected phrase, its bounding box, and individual words and their bounding boxes:
A DOCUMENT_TEXT_DETECTION response includes additional layout information, such as page, block, paragraph, word, and break information.
gcvocr.sh now uses TEXT_DETECTION. But it will change to DOCUMENT_TEXT_DETECTION to improve text quality.
I have raised the Pull request for the same.