Google Vision API可以提取图像中相应文本的多种语言代码吗?

时间:2019-09-04 04:20:38

标签: google-cloud-platform ocr google-cloud-vision text-recognition

Google Vision API能否告诉我们文本在图像中属于哪种语言

例如,一张图片包含不同语言的“ Hello”

https://pocketcultures.com/2008/10/30/say-hello-in-20-languages/

是否有可能获得与图像中提取的文本相对应的语言

对于图像中的多种语言,如何检测。 请参阅下面的示例图像,其中包含四种语言。视觉API检测到所有四种语言。

问题 如何识别图像中特定文本的语言 [请参阅下图和视觉API的响应]

enter image description here

视觉API的附加响应

https://jsonbeautifier.org/?id=4876ed03d4754b868067f0f119347e40

1 个答案:

答案 0 :(得分:2)

已更新:视觉API response在图像上包含detected language code