How to add OpenCV library in spring web application
程序员文章站
2023-12-30 10:48:22
...
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://*.com/questions/27203586/how-to-add-opencv-library-in-spring-web-application