Ask Your Question

Revision history [back]

Detecting many instances of one pattern in a still image.

Hello all,

I am very new to OpenCV and I would like to explore the possibility of using it for a robotics project. I just don't know where to start. What I need is something that takes in a pattern (of a metal piece) and then finds the x,y, and theta of each of the instances of the of that pattern in the image. There can be anywhere between 0 and 100 instances of the object in the image. In the past I have tried using OpenCV with blobs and doing a lot of math in the background to try and find the convex hull and then use that to find the angle. but that proved really unreliable. Is there any pattern matching that is angle invariant (scale invariant is not necessary) and where I can easily change the train image? I have found a lot of info about using SIFT and SURF but i can't find any confirmation of them being able to do more than one object at a time. Are there any tutorials, examples or source code that focus on multiple object detection?

The background is really low noise and lighting and color are always constant.

Thanks!