Google Vision API OCR - Not recognizing Arabic well

576 Views Asked by At

Background

I am using google vision ocr on this input image:

enter image description here

Expected text:

التَّمْكِينُ الاقْتِصَادِيُّ لِلَّاجِئِينَ السُّورِيِّينَ

Vision api response text:

ا ل ت م ك ي ن ا ل ا ق ت ص ا د ي ل ل ا ج ئ ي ن ا ل ش و ر ي ي ن

Used the Vision Api try it now to validate this: enter image description here

Problems

  1. Between each letter there are spaces
  2. Vowelization characters are missing(the small symbols above/below the letters)

Question

How to solve this?

1

There are 1 best solutions below

2
On

You can click the Show JSON option from the page and it will show you the JSON response of the request:

enter image description here

enter image description here

I recommend you to try this documentation as well 3 so you could test the Vision API using your preferred programming language for advanced integrations.