hey guys

I'm looking to start a summer project involving programming an odds calculator for online poker. I have experience programming, but I have no idea which language is capable of recognizing cards that are dealt onto the screen.

1) What language should I use?
2) What's the topic I'm looking for that does screen and image recognition?