Who’s Counting? Real-Time Blackjack Monitoring for Card Counting Detection

  • Krists Zutis
  • Jesse Hoey
Part of the Lecture Notes in Computer Science book series (LNCS, volume 5815)


This paper describes a computer vision system to detect card counters and dealer errors in a game of Blackjack from an overhead stereo camera. Card counting is becoming increasingly popular among casual Blackjack players, and casinos are eager to find new systems of dealing with the issue. There are several existing systems on the market; however, these solutions tend to be overly expensive, require specialised hardware (e.g. RFID) and are only cost-effective to the largest casinos. With a user-centered design approach, we built a simple and effective system that detects cards and player bets in real time, and calculates the correlation between player bets and the card count to determine if a player is card counting. The system uses a combination of contour analysis, template matching and the SIFT algorithm to detect and recognise cards. Stereo imaging is used to calculate the height of chip stacks on the table, allowing the system to track the size of player bets. Our system achieves card recognition accuracy of over 99%, and effectively detected card counters and dealer errors when tested with a range of different users, including professional dealers and novice blackjack players.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Bradski, G., Kaehler, A.: Learning OpenCV. O’Reilly Media, Sebastopol (2008)Google Scholar
  2. 2.
    Brunelli, R.: Template Matching Techniques in Computer Vision: Theory and Practice. Wiley, Chichester (2009)CrossRefGoogle Scholar
  3. 3.
    Canny, J.: A computational approach to edge detection. IEEE Trans. Pattern Analysis and Machine Intelligence 8, 679–714 (1986)CrossRefGoogle Scholar
  4. 4.
    Cooper, W., Dawson-Howe, K.: Automatic blackjack monitoring. In: Proc. of Irish Machine Vision Conference, pp. 248–254 (2004)Google Scholar
  5. 5.
    Duda, R.O., Hart, P.E.: Use of the hough transformation to detect lines and curves in pictures. Comm. ACM 15, 11–15 (1972)CrossRefGoogle Scholar
  6. 6.
    Fuchs, K.: Knock-out blackjack - the theory. koblackjack.com website, (April 22, 2008), http://www.koblackjack.com/system.html
  7. 7.
    Lowe, D.G.: Distinctive image features from scale-invariant keypoints. International Journal of Computer Vision 60(2), 91–110 (2004)CrossRefGoogle Scholar
  8. 8.
    Mikolajczyk, K., Schmid, C.: A performance evaluation of local descriptors. IEEE Transactions on Pattern Analysis and Machine Intelligence 10(27), 1615–1630 (2005)CrossRefGoogle Scholar
  9. 9.
    Ponce, J., Hebert, M., Schmid, C., Zisserman, A. (eds.) Toward Category-Level Object Recognition. LNCS, vol. 4170. Springer, Heidelberg (2006)Google Scholar
  10. 10.
    Terdiman, D.: Who’s holding the aces now? Blackjack Universe website article, (August 18, 2003), http://blackjackuniverse.com/pages/news/mindplay.html
  11. 11.
    Terdiman, D.: Casinos on lookout for iphone card-counting app. CNET news article, (February 17, 2009), http://news.cnet.com/8301-10797_3-10165861-235.html
  12. 12.
    Zaworka, A., Scherer, S.: Machine vision driven real-time black jack analysis. In: Proc. of 24th workshop of the AAPR (2000)Google Scholar
  13. 13.
    Zheng, C., Green, R.: Playing card recognition using rotational invariant template matching. In: Proc. of Image and Vision Computing New Zealand, December 2007, pp. 276–281 (2007)Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2009

Authors and Affiliations

  • Krists Zutis
    • 1
  • Jesse Hoey
    • 1
  1. 1.School of ComputingUniversity of Dundee 

Personalised recommendations