用Java调用openCV的SVM报错:
Exception in thread "main" java.lang.UnsatisfiedLinkError: org.opencv.ml.SVM.load_0(Ljava/lang/String;)J
at org.opencv.ml.SVM.load_0(Native Method)
at org.opencv.ml.SVM.load(SVM.java:122)
at com.springdemo.table_classification.Train.test1(Train.java:149)
at com.springdemo.table_classification.test.main(test.java:42)
问题分析:调用前没有加载openCV的动态链接库。
加载动态链接库后大功告成!
本文解决使用Java调用OpenCV的SVM模块时出现的动态链接库未加载问题,通过正确加载库,成功运行SVM算法。
3588

被折叠的 条评论
为什么被折叠?



