OpenCV的Andr​​oid版,做我需要单独安装OpenCV的经理?经理、OpenCV、Andr、oid

2023-09-07 08:36:03 作者:七罪獸i

刚开始寻找到OpenCV的为Android。我注意到,我需要安装一些所谓的OpenCV的经理,才可以运行使用它的应用程序。

Just started looking into OpenCV for Android. I noticed that I need to install something called OpenCV Manager before I can run the apps that use it.

有没有什么办法可以捆绑该经理与我的应用程序,这样用户就不必单独安装呢?这将真正帮助,如果这是可能的。

Is there any way to bundle this manager with my app, so that users won't have to install it separately? It would really help if this was possible.

我没有写这使用了OpenCV又一个应用程序,但我只是向前看。

I haven't written an app that uses OpenCV yet, but I'm just looking ahead.

非常感谢。

推荐答案

您正在寻找的静态初始化方法。

You are looking for the static initialization method.

见这里文档。

你也可以检查此线程:

静态初始化上的OpenCV的Andr​​oid