How to add OpenCV library in spring web application

阅读更多

First of all, I have a basic example of OpenCV running in a main method. However, if I use OpenCV in a Spring Web Controller, an error is thrown.

 

error link:

System.loadLibrary(Core.NATIVE_LIBRARY_NAME);

 

Solution:

i solved adding opencv_java248.dll file to your compile jdk/bin path like : Windows/Sun/java/bin

 

Reference:

http://stackoverflow.com/questions/27203586/how-to-add-opencv-library-in-spring-web-application

你可能感兴趣的:(opencv)