Reading Data From the Screen
(x-posted in Software)
I am attempting to write a program to do various calculations based on a particular hand in real-time.
I am currently working with PartyPoker and clones.
I have been able to read from the chat box all the information about any bets/raises/calls/etc as well as the information about the community cards.
However, I would like to be able to read the cards themselves, primarily to figure out the player's hole cards, and opponents cards if/when they are shown.
I have found a decent Screen OCR library (Textract. Google for it), but I cannot figure out how to read in the cards.
I think that I may be able to do it by creating a font which matches the PartyPoker font, but I have thus far been unsuccessful.
Any suggestions?
If you have suggestions that you feel to be too technical for explanation here, PM me.
Edit: I'm using C++ with Visual Studio 2003
|