【发布时间】:2017-06-06 21:43:36
【问题描述】:
我在 Android 中运行以下 openCV 代码:
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB);
DescriptorExtractor descriptor = DescriptorExtractor.create(DescriptorExtractor.ORB);
DescriptorMatcher matcher = DescriptorMatcher.create(DescriptorMatcher.BRUTEFORCE_HAMMING);
在 openCV 2.4.1 中运行良好 在 openCV 3.2 中,我遇到以下异常:
java.lang.UnsatisfiedLinkError: No implementation found for long org.opencv.features2d.DescriptorMatcher.create_1(int) (tried Java_org_opencv_features2d_DescriptorMatcher_create_11 and Java_org_opencv_features2d_DescriptorMatcher_create_11__I)
at org.opencv.features2d.DescriptorMatcher.create_1(Native Method)
at org.opencv.features2d.DescriptorMatcher.create(DescriptorMatcher.java:76)
我在 2 台不同的 Android 设备上进行了检查。是我做错了什么还是这是新 openCV 版本中的错误?
【问题讨论】:
标签: android opencv opencv3.0 opencv4android