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 Code:

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?