Building OpenCV_Contrib for Java
Hi,
I am new to openCV and attempting to build jar files for Opencv_contrib modules. Anyone succeeded doing that?
Pls. share your experience.
Thanks BP
Hi,
I am new to openCV and attempting to build jar files for Opencv_contrib modules. Anyone succeeded doing that?
Pls. share your experience.
Thanks BP
Asked: 2015-07-16 01:52:57 -0600
Seen: 1,702 times
Last updated: Jul 16 '15
How to translate this to Java?
Haar Cascade detecting only faces(no heads)?
OpenCV Tutorial 1 - Add OpenCV on API 8
OpenCV face detection in iPhone
Unresolved inclusion in OpenCV+Android tutorial
How to reduce false positives for face detection
Area of a single pixel object in OpenCV
build problems for android_binary_package - Eclipse Indigo, Ubuntu 12.04
How to convert Floating point image to 32-bit single-channel?
you'll need cmake, python(to generate the wrappers), ant, and a jdk.
follow instructions here and here
last, but not least, - don't expect too much. atm, only the bioinspired module is exposed to java by default. (you can use the face one, too, but have to enable it manually)
Thanks Berak.
Managed to build from source but now i am facing the below mentioned problem.
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.objdetect.CascadeClassifier.CascadeClassifier_1(Ljava/lang/String;)J at org.opencv.objdetect.CascadeClassifier.CascadeClassifier_1(Native Method) at org.opencv.objdetect.CascadeClassifier.<init>(CascadeClassifier.java:45)
Pls. note i have loaded native library inside a static block but still i am facing this issue. Pls. share if you have any solution/fix the same.
thanks BP