Hardware hacking is the easiest option. Get one of those HDMI capture devices to view the image from PC (1) running the game and do all the processing on a separate PC (2). Use a microcontroller from PC (2) to send mouse and keyboard signals over USB to PC (1). I think that is how you do it while making it pretty fool proof. You also want to spoof human like interactions with the keyboard and particularly the mouse. Its probably best to avoid moving the mouse around a lot.
https://poker-ai.org/phpbb/viewtopic.php?f=26&t=3264By the way, which casino are you even using? PokerStars would be very difficult but the hardware hacking techniques would work (in my opinion)!