threshold the image find the card isolate the corners split it into rank and suit compare with the stored rank/suit images and then show the results ...