Difference in results of cloud vision - Demo vs API

29 views
Skip to first unread message

Pavel Zaslavsky

unread,
Jan 14, 2019, 11:24:14 AM1/14/19
to cloud-vision-discuss
Hi,

We see a strange difference between the results we get in the demo of Google Cloud vision and result we get over the API.

Take this image for instance

Here is what we see in the demo - note the "Quartz clock" entity
image.png

Here is what we get over the API for the same image (truncated at 0.5), note that "Quartz clock" entity does not exist here at all. 

image.png

Any idea why we see different results?

Thanks,
Pavel


Jordan (Cloud Platform Support)

unread,
Jan 24, 2019, 7:33:01 PM1/24/19
to cloud-vision-discuss
Seeing a difference in web detection results is to be expected due to how dynamic the open web is. The indexes Google uses for web results are constantly churning based on a large number of factors such as page ranking changes. Since the Vision API WEB_DETECTION relies on Google's own indexes, it is therefore also subjected to this dynamic churn. 

Requests may also be served by different Google frontends and in turn different Google data centers depending on the location of the request. Therefore some requests may be served by different versions of the web detections service as it is common for updates to take time to propagate across data centers. 

Lastly, if you are using a different version of the Vision API it may be using a different model for label detections. The Cloud Vision Demo uses the V1 API for its requests, and keeps the default model setting of "builtin/stable"
Reply all
Reply to author
Forward
0 new messages