开发者

Identify pattern in image

what is the best approach to identify a pattern (could be a text,signature, logo. NOT faces,objects,people,etc) in an image, given that all images are taken from the same angle, which means the pattern to identify will be ALWAYS visible at the same angle, but not position / size/ quality / brightness, etc.

Assuming I have the logo, I would like to run a test on 1000 images, from different sizes & quality and get 开发者_如何学Cthose images that have this pattern embedded or at least a high probability to have this pattern embedded.

Thanks,


Perhaps you can show a couple of images but it seems like template matching (perhaps with a distance transform) seems like an ideal candidate to your problem.


Perl? I'd have suggested using OpenCV with python or C since you're on the Linux platform.

You could check out SURF and SIFT (explains how to do this with OpenCV and C++ with code attached) which can do decent template matching (logos, etc.).

Text detection is a different kettle of fish, I'd suggest Robust Text Detection in Natural Images with Edge-enhanced maximally stable extremal regions paper which is the latest I've seen that does robust text detection from natural scenes without becoming overly intricate.

Training a neural network with the expected patterns seems to be the best way all-round, though the training process will take a long time. Actual identification is almost real-time though.

Here's a discussion on MSER implementation in two libraries: a) OpenCV, b) VLfeat


Have you checked AForgenet.com ? It has great libs for blob processing. Its in .NET

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜