OpenCVLoader
¶Helper class provides common initialization methods for OpenCV library.
static boolean initDebug()
Loads and initializes OpenCV library from within current application package. Roughly it is
analog of system.loadLibrary("opencv_java")
.
Return type: | boolean; |
---|---|
Returns: | returns true if initialization of OpenCV was successful. |
Note
This method is deprecated for production code. It is designed for experimental and local development purposes only. If you want to publish your app use approach with async initialization.
static boolean initAsync(String Version, Context AppContext, LoaderCallbackInterface Callback)
Loads and initializes OpenCV library using OpenCV Manager.
Parameters: |
|
---|---|
Return type: | boolean; |
Returns: | returns true if initialization of OpenCV starts successfully. |
OPENCV_VERSION_2_4_2
¶OpenCV Library version 2.4.2
OPENCV_VERSION_2_4_3
¶OpenCV Library version 2.4.3
OPENCV_VERSION_2_4_4
¶OpenCV Library version 2.4.4
OPENCV_VERSION_2_4_5
¶OpenCV Library version 2.4.5
OPENCV_VERSION_2_4_6
¶OpenCV Library version 2.4.6
OPENCV_VERSION_2_4_7
¶OpenCV Library version 2.4.7
OPENCV_VERSION_2_4_8
¶OpenCV Library version 2.4.8
OPENCV_VERSION_2_4_9
¶OpenCV Library version 2.4.9
OPENCV_VERSION_2_4_10
¶OpenCV Library version 2.4.10
OPENCV_VERSION_2_4_11
¶OpenCV Library version 2.4.11
OPENCV_VERSION_2_4_12
¶OpenCV Library version 2.4.12
OPENCV_VERSION_2_4_13
¶OpenCV Library version 2.4.13