How to establish image feature library with OpenCV?

asked 2016-12-27 09:14:33 -0500

I want to use sift features which extract from about 1000 images to establish an image feature library. How can I do these? In order to faster the progress of image matching, my idea is to store these features into a database(e.g. mysql), and then read these features from this database. Is this idea feasible? Help someone can help me.

edit retag flag offensive close merge delete


Yes it should be possible. For the SIFT part, you can look at the corresponding tutorials.

Eduardo gravatar imageEduardo ( 2016-12-27 16:54:05 -0500 )edit

my idea is to store these features into a database(e.g. mysql)

this sounds like a bad idea. you'll probably end up using BagOfWords with some meachinelearning(like an SVM) so you need to store a BOW vocabulary (large) and a trained ml model(also large), not single sift features.

berak gravatar imageberak ( 2016-12-28 02:56:47 -0500 )edit

Thanks for all the advice. But I am still confused that if I have a new image and I want to find the matched images from lots of images(e.g. 1000 images) . How can I complete this work?

wu_wang_chu_xin gravatar imagewu_wang_chu_xin ( 2017-01-04 00:57:26 -0500 )edit