extract exact match of image from dataset

asked 2016-02-18 00:55:28 -0500

jan gravatar image

In my project I want to extract exact match of the image (coming through camera) from the data set.Data set contains the set of positive and negative images.Images in data set having small differences .So problem is that if i use "features detector "algorithm it gives me no of images but i ant exact match .how can i do this?

edit retag flag offensive close merge delete


Can you describe more about your Input images , methods you tried & observed results?

Balaji R gravatar imageBalaji R ( 2016-02-18 03:13:46 -0500 )edit

If you have a single object that you want to detect (and not all object of that kind) you can use this tutorial for it. If you want to detect a type of object (like faces) you should use cascades (and then you need a db of images, negatives and positives, for training)

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-18 06:48:04 -0500 )edit

i am having real part of bracket of vehicle and I captured images of that from different views and angles(side,top,bottom,front,different angles).So whenever I put that bracket in front of the camera (suppose front view in front of camera) exact (i.e front view)image should be extracted from the set of images.so how to do this?

jan gravatar imagejan ( 2016-02-19 00:16:49 -0500 )edit

I am not sure what you mean by "bracket", but want you can do is using the template matching or features matching + homography

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-19 06:44:58 -0500 )edit

image I am having the same real part with me and its images from different views(images are captured by camera).

jan gravatar imagejan ( 2016-02-22 00:17:08 -0500 )edit

So, what you are trying to say is that your images have not the same small problems (like craters, etc)? And what you want to do is to detect if there is the same problem in more images?

thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-22 02:31:19 -0500 )edit

no.Actually I am having same real part and data set (of images of same real part captured from different views like top view,bottom view etc ) so whenever i put real part in front of camera(in particular view) then my search engine should find the the exact image of that view to match.

jan gravatar imagejan ( 2016-02-22 02:58:28 -0500 )edit

oh, so you have a set of images and you want to detect what image is in the camera?

  1. One way to go is to do a simple diff on images and pick the one with the less differences. (this may be improved with smoothing and histogram equalizations, maybe even CLAHE for doing contrast corrections)
  2. Another one is to do the feature matching and select the best match as the one that has the most features matched.
thdrksdfthmn gravatar imagethdrksdfthmn ( 2016-02-22 03:42:32 -0500 )edit