Hi, I am following the instructions on this page for installation of openCV:
http://docs.opencv.org/2.4.4-beta/doc/tutorials/introduction/desktop_java/java_dev_intro.html#create-a-simple-java-project-in-eclipse
But it doesn't work. I cant execute the example code.
import org.opencv.core.CvType;
import org.opencv.core.Mat;
public class Main {
public static void main(String[] args) {
System.loadLibrary("opencv_java244");
Mat m = Mat.eye(3, 3, CvType.CV_8UC1);
System.out.println("m = " + m.dump());
}
}
I need openCV to do some motion detection on image-series, but i am too stupid to import openCV-2.4.5 properly.
The console output shows this message:
Exception in thread "main" java.lang.UnsatisfiedLinkError: no opencv_java244 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at camStatisticsTests.RawTests.main(RawTests.java:20)
What am i doing wrong ?