Question Finding Text location or smaller image location in a bigger image

Gufran

Member
Joined
Nov 3, 2011
Messages
6
Programming Experience
Beginner
Hi,
I want to find the location of the text in an image, it can be determined either by providing the text or an smaller image containing the text.
I mean, If I have the following image:
main.PNG

and I want to find the location (co-ordinates) of the text "The Exclusive" in it then I can initiate the searching procedure either by providing the text "The Exclusive" or I can also provide the image:
To find.PNG

I guess the second method would be faster and easier.

How do I find the text in image ? should I compare pixel by pixel or there is any other algorithm for same ? and if the text is found in original image then how would I determine the location/co-ordinates of the first character in X and Y ?
The X and Y are relative to the dimension of the image.

Please help me implementing this I am trying to figure it out from last 15 days :(
 
Back
Top