【发布时间】:2017-12-20 12:51:42
【问题描述】:
当返回“我们目前无法访问该 URL”时,我调用了 google api。但是资源必须存在并且可以访问。
https://vision.googleapis.com/v1/images:annotate
请求内容:
{
"requests": [
{
"image": {
"source": {
"imageUri": "http://yun.jybdfx.com/static/img/homebg.jpg"
}
},
"features": [
{
"type": "TEXT_DETECTION"
}
],
"imageContext": {
"languageHints": [
"zh"
]
}
}
]
}
回复内容:
{
"responses": [
{
"error": {
"code": 4,
"message": "We can not access the URL currently. Please download the content and pass it in."
}
}
]
}
【问题讨论】:
-
您有解决此问题的方法吗?现在是 2019 年,但它仍然不起作用。抛出同样的错误。
标签: google-cloud-platform google-cloud-vision