Ask Your Question

pwfixed's profile - activity

2014-08-15 11:56:32 -0500 commented question Approach for detecting a similar object

That actually did the trick, I guess I can use the template matching approach for most of my objects and if it doesn't work then I 'll try to do it by feature detection. Thanks Haris!

2014-08-15 11:37:32 -0500 commented question Approach for detecting a similar object

I thought template matching would only work with similar sized images. But I haven't tried it yet. I will give it a try.

2014-08-14 15:19:05 -0500 received badge  Editor (source)
2014-08-14 15:16:21 -0500 asked a question Approach for detecting a similar object

I am trying to detect this object (let's call it "Arrow")

image description

in these two images:

Image "A" image description


Image "B"

image description

Right now, my approach is to load the scene image (either of the last two) in grayscale and then the object image (the arrow, first image) in grayscale and then using the SURF Feature detector, and SURF Descriptor with a Flann Based Matcher to match similar features. The problem I am running is that my object image does not have a lot of features (as you can probably tell) and it only matches Image "A".

I may be taking the wrong approach given that I am new in computer vision so I would like to ask for recommendations. Maybe I need to use a different technique in this case and my inexperience is holding me back. Or maybe I am missing something obvious. I 'd appreciate any input. Thanks!

PS: If it matters in any way, I am using the latest OpenCV java port.