Android Opencv:使用Json保存ORB功能

时间:2014-03-27 07:24:10

标签: android json opencv feature-extraction orb

我想将orb功能保存到我从这段代码中获得的数据库:

bmp=BitmapFactory.decodeResource(getResources(),R.drawable.t1);
Utils.bitmapToMat(bmp, mat);
FeatureDetector detector = FeatureDetector.create(FeatureDetector.ORB);
detector.detect(mat, keypoints);
DescriptorExtractor extractor = DescriptorExtractor.create(DescriptorExtractor.ORB);
extractor.compute(mat, keypoints, features);

我使用json代码从Mat中获取数据,其中包含我从这里得到的代码: http://answers.opencv.org/question/8873/best-way-to-store-a-mat-object-in-android/?answer=28608#post-id-28608

但是当我显示json字符串时,显示如下: enter image description here

我不了解这些数据,如何通过DescriptorMatcher.BRUTEFORCE_HAMMING计算?

0 个答案:

没有答案