OpenCV + Java = UnsatisfiedLinkError

后端 未结 5 1370
故里飘歌
故里飘歌 2020-12-11 00:08

I need capture a video stream from my USB webcam, for this i use Opencv 2.4.6 for developing in Java. I follow the steps listed in here

I add the \"C:\\opencv\\build

5条回答
  •  醉话见心
    2020-12-11 01:01

    I had a similar error while using OpenCV with java.I did 2 things to resolve it.

    1. static{ System.loadLibrary(Core.NATIVE_LIBRARY_NAME); }
    2. I added the path to OpenCV dll or .so to javalibpath or path. which actually didnt work for some reason and i ended up putting the OpenCV dll in the system32 folder.

提交回复
热议问题