Automating Card Games Using OpenCV and Python
arnab.org
arnab.org
https://github.com/arnabdotorg/Playing-Card-Recognition
if anyone wants to play with it.
For instance, recognizing the cards in an image...my first approach would've been to try to identify the numbers/letters of the cards...which would've been just stupid...but the OP's strategy of using findContours and simply choosing the four largest rectangles is elegant...in the way that OpenCV is so powerful you can problem-solve at a fairly high level.
http://sudokugrab.blogspot.co.uk/2009/07/how-does-it-all-wor... http://www.aishack.in/2010/08/sudoku-grabber-with-opencv/
[1] http://en.wikipedia.org/wiki/Scale-invariant_feature_transfo...
Heck, you may not even need OpenCV. Just livestream, and let somebody far away tell you the probabilities..
Very soon they'll be banning Google Glasses from Las Vegas. Or any glasses, for that matter.
EDIT: ok, seems I'm the last person on earth to arrive in this conclusion: http://www.foxnews.com/tech/2013/06/06/casinos-ban-gamblers-... We'll have to wait till Google Contact Lenses.
Missed triggers no more!
http://www.foxnews.com/tech/2013/06/06/casinos-ban-gamblers-...
Stand your tablet up at the table, have a rack for their cards and deal them in to your game.
You don't have an API (for obvious reasons) into the poker clients, so you have software that basically reads the screen as an image and works the keyboard/mouse.... the more sophisticated ones do it in a VM to avoid detection (some poker software actively scans your machine for known bot software or other tampering)
The thing worked pretty well, unfortunately production moved overseas and the company that made the blocks is gone now.