Inspiration

We wanted to try something new from our usual web-site based projects, and wanted an excuse to buy a raspberry pi camera.

What it does

HitMe! can see and recognize cards put in font of it and decide whether or not it wants another card, keeping in mind the goal of blackjack is not to go over 21.

How we built it

We used compiled and installed OpenCV on a Raspberry Pi 3 with the camera module. We implemented a basic card counting algorithm, and card recognition.

Challenges we ran into

Connecting to the internet, installing (and getting familiar with) OpenCV, and fighting glares off the playing cards that we were trying to read.

Accomplishments that we're proud of

We're proud that we learned something new, and got the on-screen display working.

What we learned

We learned a lot about OpenCV, we're no experts, but neither of us had worked with it before.

What's next for HitMe!

If we were to revisit the project we would like to add Haar cascades to get better card recognition.

Built With

Share this project:
×

Updates