OpenCV 3.0.0-rc1

org.opencv.android
Class OpenCVLoader

java.lang.Object
  extended by org.opencv.android.OpenCVLoader

public class OpenCVLoader
extends java.lang.Object

Helper class provides common initialization methods for OpenCV library.


Field Summary
static java.lang.String OPENCV_VERSION_2_4_10
          OpenCV Library version 2.4.10.
static java.lang.String OPENCV_VERSION_2_4_11
          OpenCV Library version 2.4.11.
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.
static java.lang.String OPENCV_VERSION_3_0_0
          OpenCV Library version 3.0.0.
 
Constructor Summary
OpenCVLoader()
           
 
Method Summary
static boolean initAsync(java.lang.String Version, android.content.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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPENCV_VERSION_2_4_10

public static final java.lang.String OPENCV_VERSION_2_4_10
OpenCV Library version 2.4.10.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_11

public static final java.lang.String OPENCV_VERSION_2_4_11
OpenCV Library version 2.4.11.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_2

public static final java.lang.String OPENCV_VERSION_2_4_2
OpenCV Library version 2.4.2.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_3

public static final java.lang.String OPENCV_VERSION_2_4_3
OpenCV Library version 2.4.3.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_4

public static final java.lang.String OPENCV_VERSION_2_4_4
OpenCV Library version 2.4.4.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_5

public static final java.lang.String OPENCV_VERSION_2_4_5
OpenCV Library version 2.4.5.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_6

public static final java.lang.String OPENCV_VERSION_2_4_6
OpenCV Library version 2.4.6.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_7

public static final java.lang.String OPENCV_VERSION_2_4_7
OpenCV Library version 2.4.7.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_8

public static final java.lang.String OPENCV_VERSION_2_4_8
OpenCV Library version 2.4.8.

See Also:
Constant Field Values

OPENCV_VERSION_2_4_9

public static final java.lang.String OPENCV_VERSION_2_4_9
OpenCV Library version 2.4.9.

See Also:
Constant Field Values

OPENCV_VERSION_3_0_0

public static final java.lang.String OPENCV_VERSION_3_0_0
OpenCV Library version 3.0.0.

See Also:
Constant Field Values
Constructor Detail

OpenCVLoader

public OpenCVLoader()
Method Detail

initAsync

public static boolean initAsync(java.lang.String Version,
                                android.content.Context AppContext,
                                LoaderCallbackInterface Callback)
Loads and initializes OpenCV library using OpenCV Engine service.

Parameters:
Version - OpenCV library version.
AppContext - application context for connecting to the service.
Callback - object, that implements LoaderCallbackInterface for handling the connection status.
Returns:
Returns true if initialization of OpenCV is successful.

initDebug

public static boolean initDebug()
Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java").

Returns:
Returns true is initialization of OpenCV was successful.

initDebug

public static boolean initDebug(boolean InitCuda)
Loads and initializes OpenCV library from current application package. Roughly, it's an analog of system.loadLibrary("opencv_java").

Parameters:
InitCuda - load and initialize CUDA runtime libraries.
Returns:
Returns true is initialization of OpenCV was successful.

OpenCV 3.0.0-rc1 Documentation