org.opencv.android
public class OpenCVLoader extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
OPENCV_VERSION_2_4_2
OpenCV Library version 2.4.2.
|
static java.lang.String |
OPENCV_VERSION_2_4_3
OpenCV Library version 2.4.3.
|
static java.lang.String |
OPENCV_VERSION_2_4_4
OpenCV Library version 2.4.4.
|
static java.lang.String |
OPENCV_VERSION_2_4_5
OpenCV Library version 2.4.5.
|
static java.lang.String |
OPENCV_VERSION_2_4_6
OpenCV Library version 2.4.6.
|
static java.lang.String |
OPENCV_VERSION_2_4_7
OpenCV Library version 2.4.7.
|
static java.lang.String |
OPENCV_VERSION_2_4_8
OpenCV Library version 2.4.8.
|
static java.lang.String |
OPENCV_VERSION_2_4_9
OpenCV Library version 2.4.9.
|
Constructor and Description |
---|
OpenCVLoader() |
Modifier and Type | Method and Description |
---|---|
static boolean |
initAsync(java.lang.String Version,
Context AppContext,
LoaderCallbackInterface Callback)
Loads and initializes OpenCV library using OpenCV Engine service.
|
static boolean |
initDebug()
Loads and initializes OpenCV library from current application package.
|
static boolean |
initDebug(boolean InitCuda)
Loads and initializes OpenCV library from current application package.
|
public static final java.lang.String OPENCV_VERSION_2_4_2
public static final java.lang.String OPENCV_VERSION_2_4_3
public static final java.lang.String OPENCV_VERSION_2_4_4
public static final java.lang.String OPENCV_VERSION_2_4_5
public static final java.lang.String OPENCV_VERSION_2_4_6
public static final java.lang.String OPENCV_VERSION_2_4_7
public static final java.lang.String OPENCV_VERSION_2_4_8
public static final java.lang.String OPENCV_VERSION_2_4_9
public static boolean initAsync(java.lang.String Version, Context AppContext, LoaderCallbackInterface Callback)
Version
- OpenCV library version.AppContext
- application context for connecting to the service.Callback
- object, that implements LoaderCallbackInterface for handling the connection status.public static boolean initDebug()
public static boolean initDebug(boolean InitCuda)
InitCuda
- load and initialize CUDA runtime libraries.