简体   繁体   English

Google Vision - Batch Image Annotation, map 结果请求图片

[英]Google Vision - Batch Image Annotation, map result to request images

I'm using Google Vision to detect text in images (on my backend written in kotlin).我正在使用 Google Vision 检测图像中的文本(在我用 kotlin 编写的后端)。 I want to do a batch request with multiple images from a web url but the problem I'm facing is how to know what results maps to what image in the request?我想对 web url 中的多个图像进行批量请求,但我面临的问题是如何知道请求中的哪些结果映射到哪些图像?

Can I rely on Google to return the result in the same order as I put them into the batch request?我可以依靠 Google 以与我将结果放入批处理请求时相同的顺序返回结果吗?

Currently I do not get any information in the response that I can use to figure out to what image the annotated text belongs to.目前我在响应中没有得到任何信息,我可以用它来确定带注释的文本属于哪个图像。 And it's important that the text can be mapped to the correct image.重要的是文本可以映射到正确的图像。

If you need more information please let me know and I'll provide it to you.如果您需要更多信息,请告诉我,我会提供给您。

The responses are in the same order as they are in the request.响应的顺序与它们在请求中的顺序相同。

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

相关问题 Google Cloud Vision PHP — 提出批量请求 - Google Cloud Vision PHP — Make Batch Request 异步批处理 Google Vision 文本检测 - Async Batch Google Vision Text detection 使用 Google Cloud Vision 进行图像分类 API - Image Classification Using Google Cloud Vision API Google Cloud Vision - Google 将图像上传到哪个区域? - Google Cloud Vision - Which region does Google upload the images to? Google Cloud Vision API 将所有图像检测为不当 - Google Cloud Vision API detects all images as inappropriate 节点JS | 谷歌视觉 API | 将 base64 发送到 Google Cloud Vision 时出现“错误的图像数据” - Node JS | Google Vision API | "Bad image data" when sending base64 to Google Cloud Vision 谷歌视觉 API 可以接受外部图像 URL 吗? - Can google vision API accept external image URL? Google Cloud AutoML Vision 支持哪些图像位类型? - What image bit types are supported by Google Cloud AutoML Vision? 将 PIL Image 传递给 google cloud vision 无需保存和读取 - Pass PIL Image to google cloud vision without saving and reading Google Cloud Vision AI 如何从提供的图像范围内选择相似图像 - Google Cloud Vision AI how to select similar images from range of provided images
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM