[英]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.