Images Recognition

Hey,
I have a hand of poker with 2 images of the suits (a picture on the card with heart for example) and I want to somehow determine their suite ( for example diamonds or spades ).
Can someone point me in the right direction ?

Thanks!