OpenCV 2.4.8

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_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.
 
Constructor Summary
OpenCVLoader()
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

OpenCVLoader

public OpenCVLoader()
Method Detail

initAsync

public static boolean initAsync(java.lang.String Version,
                                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.

OpenCV 2.4.8 Documentation