I tried putting all libraries in my project (it was describet like solution of this problem ) but there is still same problem.
Mat m = Highgui.imread("Koala.jpg");
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.highgui.Highgui.imread_1(Ljava/lang/String;)J
at org.opencv.highgui.Highgui.imread_1(Native Method)
at org.opencv.highgui.Highgui.imread(Highgui.java:352)
at Open.main(Open.java:26)
I got the same error and the below line worked for me.
System.loadLibrary(Core.NATIVE_LIBRARY_NAME);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With