Ask Your Question

Revision history [back]

How to use opencv in Java Web application ?

Hello,

I am trying to use opencv in one of my java web application but i am facing issue related to .so file the native library. i have set java.library.path to path to directory which contains all the required lib for opencv. I am using the sift detection feature of opencv, but when i am running my tomcat which is outside of eclipse means the standalone tomcat on server i get the following error

HTTP Status 500 - Handler processing failed; nested exception is java.lang.UnsatisfiedLinkError: org.opencv.highgui.Highgui.imread_0(Ljava/lang/String;I)J

on the line that Highgui.imread(bookObject, Highgui.CV_LOAD_IMAGE_COLOR);