Google Vision API OCR-无法很好地识别阿拉伯语

问题描述

背景

我在此输入图像上使用google vision ocr:

enter image description here

期望的文本:

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

视觉API响应文本:

















使用Vision Api尝试一下以验证这一点:

enter image description here

问题

  1. 每个字母之间都有空格
  2. 缺少语音识别字符(字母上方/下方的小符号)

问题

如何解决这个问题?

解决方法

您可以单击页面上的Show JSON选项,它将显示请求的JSON响应:

enter image description here

enter image description here

我建议您也3尝试使用此文档,以便可以使用首选的编程语言进行高级集成来测试Vision API。