【发布时间】:2017-09-10 14:34:06
【问题描述】:
我使用 Google Vision OCR 使用 PHP 语言从图像中获取文本。 当我用了很长时间。我收到以下错误:
array(1) {
["error"]=>
array(4) {
["code"]=>
int(403)
["message"]=>
string(53) "Requests from IP address ..... are blocked."
["status"]=>
string(17) "PERMISSION_DENIED"
["details"]=>
array(1) {
[0]=>
array(2) {
["@type"]=>
string(35) "type.googleapis.com/google.rpc.Help"
["links"]=>
array(1) {
[0]=>
array(2) {
["description"]=>
string(32) "Google developer console API key"
["url"]=>
string(75) "https://console.developers.google.com/project/191619933224/apiui/credential"
}
}
}
}
}
}
请告诉我原因以及如何解决它。 非常感谢。
【问题讨论】:
-
可能你已经超出了你的请求限制配额,ip不能再发送请求了。您需要提高限制或更好地处理请求。
-
你好,你还在用 google vision ocr 和 php 吗?
标签: php ocr google-vision