Inspiration
We thought it be fun to cheat at a game typically played for money
What it does
It identifies playing cards through a camera feed and counts the cards (method of tallying high or low probability to win in blackjack)
How we built it
To build this, we used OpenCV to get the camera feed, then based the card-identification code on Evan Juras' Playing Card Detection Project (https://github.com/EdjeElectronics/OpenCV-Playing-Card-Detector/blob/master/CardDetector.py)
Challenges we ran into
Initially, we tried to use Tesseract Optical Character Recognition to read the rank and suit of the playing cards. After much trial and error, we had to settle on a different method, which is where Evan Juras' project came in.
Accomplishments that we're proud of
Finishing it for our first hackathon.
What we learned
Programming isn't always as simple as it first seems. We also learned a lot about image processing object detection in Python.
What's next for Blackjack Card Counter
Winning the hackathon, baby!
Log in or sign up for Devpost to join the conversation.