OpenCV library loaded in hadoop but not working

前端 未结 1 1468
我在风中等你
我在风中等你 2020-12-18 05:25

I am trying to use OpenCV with Hadoop. Below is my code. I am just testing if OpenCV libraries works fine with Hadoop, i.e when I am running OpenCV code in function pu

相关标签:
1条回答
  • 2020-12-18 06:06

    I was facing the same problem. I used the following workaround.

    You can start by using JavaCV tool as it works perfectly with hadoop. Then with OpenCv,make an executable jar by wrapping all opencv libraries and jars within executable jar. Now native library is loaded by operating system. So within executable jar file, write the code which extracts the OpenCv native library to temper pry file, then it loads the library, and finally delete the temp file.

    0 讨论(0)
提交回复
热议问题