OpenCV Manager is an Android service targeted to manage OpenCV library binaries on end users devices. It allows sharing the OpenCV dynamic libraries of different versions between applications on the same device. The Manager provides the following benefits\:
OpenCV Manager is an Android service targeted to manage OpenCV library binaries on end users devices. It allows sharing the OpenCV dynamic libraries of different versions between applications on the same device. The Manager provides the following benefits\:
#. Less memory usage. All apps use the same binaries from service and do not keep native libs inside them self;
#. Less memory usage. All apps use the same binaries from service and do not keep native libs inside themselves;
#. Hardware specific optimizations for all supported platforms;
#. Hardware specific optimizations for all supported platforms;
#. Trusted OpenCV library source. All packages with OpenCV are published on Google Play service;
#. Trusted OpenCV library source. All packages with OpenCV are published on Google Play service;
#. Regular updates and bug fixes;
#. Regular updates and bug fixes;
...
@@ -21,18 +21,18 @@ Usage model for target user
...
@@ -21,18 +21,18 @@ Usage model for target user
First OpenCV app\:
First OpenCV app\:
#. User downloads app dependent from OpenCV from Google Play or installs it manually;
#. OpenCV app is downloaded as an dependency on Google Play marketplace or manually;
#. User starts application. Application asks user to install OpenCV Manager;
#. When the app starts, it suggests installing OpenCV Manager;
#. User installs OpenCV Manager from Google Play Service;
#. Then OpenCV Manager is downloaded and installed, using Google Play marketplace service.
#. User starts application. Application proposes to user to install OpenCV library for target device and runs Google Play;
#. When started, the application suggests installing OpenCV library for the target device trough Google Play marketplace;
#. User runs app in the third time and gets what he or she wants.
#. After installation is finished, the app may be launched to perform common tasks.
Next OpenCV app\:
Next OpenCV app\:
#. User downloads app dependent from OpenCV from Google Play or installs it manually;
#. OpenCV app is downloaded as an dependency on Google Play marketplace or manually;
#. User starts application.
#. After the installation is finished, the app may be launched.
#. If selected version is not installed Manager asks user to install OpenCV library package and runs Google Play;
#. If the selected version is not installed, OpenCV Manager suggests installing OpenCV library for the target device trough Google Play marketplace;
#. User runs app in the second time and gets what he or she wants.
#. After installation is finished, the app may be launched to perform common tasks.
Helper class provides common initialization methods for OpenCV library
Helper class provides common initialization methods for OpenCV library.
boolean initDebug()
boolean initDebug()
-------------------
-------------------
.. method:: static boolean initDebug()
.. method:: static boolean initDebug()
Load and initialize OpenCV library from current application package. Roughly it is analog of system.loadLibrary("opencv_java")
Loads and initializes OpenCV library from within current application package. Roughly it is analog of ``system.loadLibrary("opencv_java")``.
:rtype: boolean
:rtype: boolean;
:return: Return true if initialization of OpenCV was successful
:return: returns true if initialization of OpenCV was successful.
.. note:: This way is deprecated for production code. It is designed for experimantal and local development purposes only. If you want to publish your app use approach with async initialization
.. note:: This method is deprecated for production code. It is designed for experimantal and local development purposes only. If you want to publish your app use approach with async initialization.