This is a card reader for certain types of online poker(Texas Hold'em).
This tools is only for Mac.
- Capture the window of poker table with PyObjc.
- Detect suit and number of cards with OpenCV.
That's all :-)
pre-requist
- Mac
- python 3.6+
prepare venv
$ python3 -m venv venv
$ . venv/bin/activate
install requirements
$ pip install -r requirements.txt
run
$ watch -n 1 python main.py
(after that, boot the certain online poker client and enjoy!)
- You can isntall "watch" command using homebrew.
- Please try to resize window if card is not detected properly.