textDetection() method for 'complex' text in an image

37 views
Skip to first unread message

Димитър Клатуров

unread,
May 21, 2019, 5:37:03 AM5/21/19
to cloud-vision-discuss
I have this image (see the attachment) which in this case there a horizontal line that is separating the text in two columns, but Google Vision API its reading the file from left to right and ignoring the line and it is useless when there is such lines in the file and all my images are scanned old papers and books that i want to convert it to text using Google API, but i cant. Is there a way i can do this without using external library for cropping the image or do you plan to add this functionality in the future?
demo.jpeg

Monica (Google Cloud Platform)

unread,
Jul 5, 2019, 5:29:34 PM7/5/19
to cloud-vision-discuss
Hello,
Are you using DOCUMENT_TEXT_DETECTION? Using blocks should address this issue. Please find here some tips & tricks for using Google Vision API for text detection.
Reply all
Reply to author
Forward
0 new messages