OpenCV 2.4.2

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
 
Constructor Summary
OpenCVLoader()
           
 
Method Summary
static boolean initAsync(java.lang.String Version, Context AppContext, LoaderCallbackInterface Callback)
          Load and initialize OpenCV library using OpenCV Engine service.
static boolean initDebug()
          Load and initialize OpenCV library from current application package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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
Constructor Detail

OpenCVLoader

public OpenCVLoader()
Method Detail

initAsync

public static boolean initAsync(java.lang.String Version,
                                Context AppContext,
                                LoaderCallbackInterface Callback)
Load and initialize OpenCV library using OpenCV Engine service.

Parameters:
Version - OpenCV Library version
AppContext - Application context for connecting to service
Callback - Object, that implements LoaderCallbackInterface for handling Connection status
Returns:
Return true if initialization of OpenCV starts successfully

initDebug

public static boolean initDebug()
Load and initialize OpenCV library from current application package. Roughly it is analog of system.loadLibrary("opencv_java")

Returns:
Return true is initialization of OpenCV was successful

Official OpenCV 2.4 Documentation