sj.opencv
Class OpenCVLibLoader

java.lang.Object
  extended by sj.opencv.OpenCVLibLoader

public class OpenCVLibLoader
extends java.lang.Object


Constructor Summary
OpenCVLibLoader()
           
 
Method Summary
static void disableNativeLoading()
          Call this before any reference to the OpenCV library to tell it not to try to load its native library (note, you will probably have to load it yourself then, using System.load() or System.loadLibrary())
static void setLibraryLocation(java.lang.String absolute_path_to_lib_folder)
          Call this before any reference to the OpenCV library to tell it to load the native library from a specific location Should be provided with a folder where the opencv-java library is located If this method is not called then a classic System.loadLibrary("opencv-java") will be used which expects the native library to exist in a folder that is in the java.library.path
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OpenCVLibLoader

public OpenCVLibLoader()
Method Detail

disableNativeLoading

public static void disableNativeLoading()
Call this before any reference to the OpenCV library to tell it not to try to load its native library (note, you will probably have to load it yourself then, using System.load() or System.loadLibrary())


setLibraryLocation

public static void setLibraryLocation(java.lang.String absolute_path_to_lib_folder)
Call this before any reference to the OpenCV library to tell it to load the native library from a specific location Should be provided with a folder where the opencv-java library is located If this method is not called then a classic System.loadLibrary("opencv-java") will be used which expects the native library to exist in a folder that is in the java.library.path

Parameters:
absolute_path_to_lib_folder -