Google Vision API does not detect Kannada text in images

143 Views Asked by At

I have been working on a POC with Vision API (REST) to extract text from images. I have been fairly successful and I am able to get good responses from the REST API for certain Indian languages (Tamil, Bengali). However, when I try using images with Kannada text in them (example), Vision API responds inconsistently. It either detects the text as from Telugu or it does not detect at all. I have been testing all these images by encoding them to Base 64.

I have linked some of the images I have tried (board, bus1, bus2). Most of them are from the web. I have also tried typing Kannada text in a word document and taking a screenshot of it and saving it as an image (word_doc). For this I receive a blank payload in the response. Why is this happening?

Do I need to modify the JSON request of the API to make it work for Kannada? Could someone help me with this?

Request JSON I am using is:

{"requests":[{"image":{"content":"/9j/4AAQS..."},"features":[{"type":"TEXT_DETECTION","maxResults":10}]}]}

Thanks, Nikhil

0

There are 0 best solutions below