简体   繁体   English

Google Cloud Vision - Google 将图像上传到哪个区域?

[英]Google Cloud Vision - Which region does Google upload the images to?

I am building an OCR based solution to extract information from certain financial documents.我正在构建一个基于 OCR 的解决方案来从某些财务文件中提取信息。 As per the regulation in my country (India), this data cannot leave India.根据我国(印度)的规定,这些数据不能离开印度。

Is it possible to find the region where Google Cloud Vision servers are located?是否可以找到 Google Cloud Vision 服务器所在的区域? Alternately, is it possible to restrict the serving region from the GCP console?或者,是否可以从 GCP 控制台限制服务区域?

This is what I have tried:这是我试过的:

  1. I went through GCP Data Usage FAQ: https://cloud.google.com/vision/docs/data-usage我浏览了 GCP 数据使用常见问题解答: https ://cloud.google.com/vision/docs/data-usage

  2. GCP Terms of Service: https://cloud.google.com/terms/ (Look at point 1.4 Data Location on this page) GCP 服务条款: https ://cloud.google.com/terms/(查看本页第 1.4 点数据位置)

  3. Talking to the GCP Sales rep.与 GCP 销售代表交谈。 He did not know the answer.他不知道答案。

I know that I can talk to Google support but that requires $100 to activate, which is a lot for for me.我知道我可以与 Google 支持人员交谈,但这需要 100 美元才能激活,这对我来说太贵了。

Any help would be appreciated.任何帮助,将不胜感激。 I went through the documentation for Rekognition as well but it seems to send some data outside for training so not considering it at the moment.我也浏览了 Rekognition 的文档,但它似乎将一些数据发送到外部进行训练,所以目前不考虑它。

PS - Edited to make things I have tried clearer. PS - 编辑以使我尝试过的事情更清楚。

For anyone looking at this topic recently, Google Vision has introduced multi-region support in December 2019, as can be see in their release notes .对于最近查看此主题的任何人,Google Vision 已于 2019 年 12 月引入了多区域支持,如他们的发行说明中所示。

Currently Google Vision supports 2 different processing regions: eu and us , and they say that using a specific endpoint guarantees that processing will only take place in the chosen territory.目前 Google Vision 支持 2 个不同的处理区域: euus ,他们说使用特定的端点可以保证处理只会在所选区域进行。

The documentation for regionalization mentions that you can simply replace the default API endpoint vision.googleapis.com with either of the regional ones:区域化文档提到您可以简单地将默认 API 端点vision.googleapis.com替换为区域性端点之一:

  • eu-vision.googleapis.com
  • us-vision.googleapis.com

The vision client libraries offer options for selecting the endpoint as well, and the documentation gives code samples .视觉客户端库也提供了用于选择端点的选项,并且文档提供了代码示例

For example, here is how you would do it in Python:例如,以下是您在 Python 中的操作方式:

from google.cloud import vision

client_options = {'api_endpoint': 'eu-vision.googleapis.com'}
client = vision.ImageAnnotatorClient(client_options=client_options)

As pointed out by @Tedinoz in a comment above, the answer can be found here: https://groups.google.com/forum/#!topic/cloud-vision-discuss/at43gnChLNY正如@Tedinoz 在上面的评论中指出的那样,可以在这里找到答案: https ://groups.google.com/forum/#!topic/cloud-vision-discuss/at43gnChLNY

To summarise: 1. Google stores images uploaded to Cloud Vision only in memory 2. Data is not restricted to a particular region (as of Dec 6, 2018) 3. They might add data residency features in Q1, 2019.总结一下: 1. Google 仅将上传到 Cloud Vision 的图像存储在内存中 2. 数据不限于特定区域(截至 2018 年 12 月 6 日) 3. 他们可能会在 2019 年第一季度添加数据驻留功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM