Google云视觉演示与实际API行为有何不同? [英] Google Cloud vision demo behaving differently from actual API?

查看:139
本文介绍了Google云视觉演示与实际API行为有何不同?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

相同的图像会导致Google云视觉API演示中的文本检测结果与实际的API不同。在演示中,精度要高得多。更重要的是,演示中的换行符更加正确。将文本块视为在一起,而在我使用免费试用的API中,文本的排序被严格视为从上到下,而不考虑水平接近度。我做错了什么,或者这是一个错误?

The same image leads to different text detection results in the google cloud vision API demo versus the actual API. In the demo, the accuracy is much higher. More importantly, the newline behavior is more correct in the demo; blocks of text are treated as together, whereas in the API I'm using with the free trial, the ordering of the text is treated as strictly "top to bottom" with no regard for horizontal proximity. Am I doing something wrong, or is this a bug?

推荐答案

您可能会从 detect_document_text detect_text 。试试这两种API。

It's possible that you may get a better result from detect_document_text than from detect_text. Try both APIs.

这篇关于Google云视觉演示与实际API行为有何不同?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆