How do I extract text from a receipt line by line with Google Vision?
I have tried matching with the Y coordinates but the result are not that ideal.
Is there other alternative to the approach?
How do I extract text from a receipt line by line with Google Vision?
I have tried matching with the Y coordinates but the result are not that ideal.
Is there other alternative to the approach?
You should use DOCUMENT_TEXT_DETECTION
in the JSON request and in the fullTextAnnotation
you will have \n
If you consider open sources, this git may be useful for line segmentation , line-segmentation-algorithm-to-gcp-vision