Im not sure how to implement an application which can recognise letters in an image. Say Ive got a king of hearts image, i want the computer to recognise that it is a king of hearts just by analysing the image.
So far all i know is i need to have some form of letter template that the program can compare to..that's all..

Anybody can help me with this?

Thanks in advance