A real-time system that watches a live blackjack table with a single camera, recognizes every card, scores each hand against the dealer, and lights up the winners on a physical LED strip.
Live detection frame — every card boxed with its rank, suit and confidence, LEDs glowing under the felt.
One phone camera in, a lit-up winning seat out. Five stages run every round.
A phone camera (iVCam) feeds a top-down view of the felt.
Tiled YOLOv8 finds all 52 card classes, even tiny corner indices.
Cards snap to 7 fixed seats on an arc, plus the dealer line.
Each hand is totalled and compared to the dealer — win, lose, push, blackjack.
A Raspberry Pi LED strip lights winning seats in their seat color, near-instantly.
Cards are assigned to seats by geometry, so the LED mapping stays rock-solid no matter how the cards land.
The system keeps running game stats for every seat and the dealer over live sessions.
Trained on ~42 real corrected photos over a 24k-image base, fine-tuned at 1280px so the tiny corner indices survive.