google MLKIT在文本识别时显示此错误:"等待文本识别模型下载。请等待" [英] google MLKIT shows this error while text recognition : " waiting for the text recognition model to be downloaded. please wait "

查看:88
本文介绍了google MLKIT在文本识别时显示此错误:"等待文本识别模型下载。请等待"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在flutter应用程序中使用的软件包:firebase_ml_vision 0.9.3 + 5。当我使用文本识别器时,它显示错误等待文本识别模型下载。请稍候。
,但是人脸检测或条形码没有问题,并且可以正常工作。

I am using this package : firebase_ml_vision 0.9.3+5 on my flutter app.When I'm using text recognizer it shows the error "waiting for the text recognition model to be downloaded. please wait". but it does not have problem with face detection or barcode and there works fine.

文本识别器有什么问题?
我在这里找到了一些可以提供有关Google Play服务解决方案的线程,但它对我不起作用。我正在银河s8上使用android 9。

what is the problem about text recognizer? I found threads here that gave solution about google play service but it does not work for me. I'm using android version 9 on galaxy s8.

我正在使用 github

推荐答案

一个可能的问题可能是您忘记添加互联网许可在清单中,因此下载无法完成。添加:

One possible problem might be that you forgot to add the internet permission in your manifest so the download can't complete. Add:

<使用权限android:name = android.permission.INTERNET />

在您的 AndroidManifest.xml
希望对您有用。

in your AndroidManifest.xml Hopefully that works for you.

这篇关于google MLKIT在文本识别时显示此错误:&quot;等待文本识别模型下载。请等待&quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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