gpt4 book ai didi

javascript - 为什么 google cloud vision Logo detection 在同一张图片上返回不同的结果?

转载 作者:行者123 更新时间:2023-11-30 20:38:12 25 4
gpt4 key购买 nike

我一直在玩弄谷歌云视觉 API,即 Logo 检测功能。基本上我想确定图像是否是 Logo ,所以我通过 API 运行它。但是,每次运行它时,我总是得到不同的结果。有时 API 将其归类为 Logo ,有时则不然。对此是否有任何解释以及可能提高准确性的方法?

编辑:我刚刚确定了真正的问题所在。我正在尝试在面向公众的网站上检测远程图像上的 Logo ,偶尔(但并非总是)返回以下错误:

I20180409-21:25:38.090(8)?     error: 
I20180409-21:25:38.091(8)? { details: [],
I20180409-21:25:38.091(8)? code: 13,
I20180409-21:25:38.091(8)? message: 'We can not access the URL
currently. Please download the content and pass it in.' },

此问题的原因是什么,有解决办法吗?

最佳答案

我已经用 API explorer 试过了,具有相同的 Logo (在我的示例中,相同的 imageUri)我总是得到相同的结果。对于 this image ,我总是得到低于 Logo 的结果:

 "mid": "/m/0dwx7",
"description": "logo",
"score": 0.63438356,
"topicality": 0.63438356

你可以用 this link 试试如果输出不同,请告诉我。

关于javascript - 为什么 google cloud vision Logo detection 在同一张图片上返回不同的结果?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49590288/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com