Ask Your Question

How do I find a portion of an image captured by a camera?

asked 2013-05-09 13:11:47 -0500

bris gravatar image

updated 2013-05-14 09:22:49 -0500

I have a digital image (let's call it testWhole) that has a printed counterpart. I want to be able to take a picture of the printed version (let's call it testPart) and compare it to the digital version (testWhole). Ideally, for now, I'd like to be able to show a bounding box of where the testPart image lies within the testWhole image.

I have tried using drawKeypointMatches (at all minimum values set) but get no matches!

I get tons of keypoints from the testWhole image, but when I try to find the keypoints of the testPart image (from the camera) I don't get any keypoints unless I use testPart.findKeypoints(flavor="SURF",min_quality=200,highQuality=False).

I feel I'm doing something wrong with the testPart image (from the camera), shouldn't I be getting keypoints that match those from testWhole, since it is from the same image?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-05-15 03:40:11 -0500

Hi, You are getting a lot less keypoints because the testPart image is taken from a camera and there will be a lot of factors like noise in the testPart image and hence the keypoints will be lesser in number. Also if your testPart is of similar size when compared to that part in the test whole, and aall you want to do is to create a bounding box, you should go for template matching as it will be more efficient as well as accurate.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2013-05-09 13:11:47 -0500

Seen: 226 times

Last updated: May 15 '13