Image Recognition Using SIFT

6 views (last 30 days)
Andy Low
Andy Low on 3 May 2015
Commented: Image Analyst on 6 May 2015
I'm currently doing a face recognition project using SIFT. I have no problem by matching an image with a single image. But, problems come when I want to match an image with a database of image(descriptors). How can i import the database of images and perform matching by using SIFT? The code is here. Thanks in advance.

Accepted Answer

Image Analyst
Image Analyst on 3 May 2015
Put your call to match() in the middle of a for loop like is given in the FAQ: http://matlab.wikia.com/wiki/FAQ#How_can_I_process_a_sequence_of_files.3F The FAQ will show you how to "import the database of images" assuming that your database is just a collection of files in a folder, and not a true database like Oracle or something.
  4 Comments
Andy Low
Andy Low on 6 May 2015
The match means matching the keypoints in both images. It is the method of sift, extract feature point and then match with two images. The "match.m" as i provided above will show you.
Image Analyst
Image Analyst on 6 May 2015
What do you mean by database? I don't have, nor have I ever used, the Database Toolbox. Do you mean like an Oracle database? If you mean just a folder of images, then it should be pretty obvious how to read in your image from the folder.

Sign in to comment.

More Answers (1)

Andy Low
Andy Low on 3 May 2015
Thanks so much for the information! I think it will work for me. I will let you know the result after I try it out. Thanks!!

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!