从opencv4android使用SIFT检测器时的致命信号11

时间:2015-02-24 10:06:46

标签: android opencv fatal-error feature-detection sift

我尝试使用Opencv4Android的SIFT功能检测器

我的代码如下

       public void onManagerConnected(int status) {
        switch (status) {
        case LoaderCallbackInterface.SUCCESS:
            {

   fileimage = new File(Environment.getExternalStorageDirectory().getAbsolutePath()+"/Pictures/263.jpg");

 image=Highgui.imread(fileimage.getAbsolutePath(),Highgui.CV_LOAD_IMAGE_COLOR);

    FeatureDetector fd = null ;

    fd= FeatureDetector.create(FeatureDetector.SIFT);

    MatOfKeyPoint keypoints= new MatOfKeyPoint(); 

    fd.detect(image, keypoints);

我的日志文件如下

       -24 09:40:19.636: A/libc(12695): Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0  in tid 12695 (mples.tutorial2)

0 个答案:

没有答案