Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Save ORB features to database

I am new on opencv. I look the code of using ORB features in this link http://answers.opencv.org/question/6260/orb-features/ Code:

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);

and i use this code to show the value of features:

Log.i(TAG, "FEATURE = "+ features.get(0,0)[0]);

I want to save the features value to database. How many features value that must i save?