Unsatisfiedlinkerror with Cascadeclassifier

asked 2014-11-15 23:15:24 -0600

LalitD gravatar image

updated 2014-11-16 02:32:55 -0600

berak gravatar image

I am working on a face detection project .i have followed opencv eclipse development guide step by step .and just the class DetectFaceDemo from samples.I have also added the line system.loadliberary (core.native_liberary_name); as in the samples but i am still getting this error: Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.objdetect.CascadeClassifier.CascadeClassifier_0()J

please help

edit retag flag offensive close merge delete

Comments

please make sure, that you're calling System.loadLibrary (Core.native_liberary_name); before calling any opencv code, i.e in a static block.

berak gravatar imageberak ( 2014-11-16 03:20:02 -0600 )edit