{"id":21874035,"url":"https://github.com/ianjure/blackjack-card-counter","last_synced_at":"2025-03-21T23:17:31.388Z","repository":{"id":248205184,"uuid":"828058419","full_name":"ianjure/blackjack-card-counter","owner":"ianjure","description":"A computer vision model designed to beat blackjack.","archived":false,"fork":false,"pushed_at":"2024-08-26T06:39:47.000Z","size":21567,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T17:37:21.901Z","etag":null,"topics":["blackjack","computer-vision","yolov8"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianjure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-13T02:27:21.000Z","updated_at":"2025-01-23T18:32:48.000Z","dependencies_parsed_at":"2024-11-28T08:30:57.869Z","dependency_job_id":null,"html_url":"https://github.com/ianjure/blackjack-card-counter","commit_stats":null,"previous_names":["ianjure/blackjack-card-counter"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianjure%2Fblackjack-card-counter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianjure%2Fblackjack-card-counter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianjure%2Fblackjack-card-counter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianjure%2Fblackjack-card-counter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianjure","download_url":"https://codeload.github.com/ianjure/blackjack-card-counter/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880660,"owners_count":20525515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["blackjack","computer-vision","yolov8"],"created_at":"2024-11-28T07:10:42.689Z","updated_at":"2025-03-21T23:17:31.363Z","avatar_url":"https://github.com/ianjure.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blackjack Card Counter\nBlackjack is the most widely played casino banking game in the world. The object of the game is to get closer to 21 than the dealer without going over 21. If a hand goes over 21, it is called a “bust” or “break” and the wager is lost.\n[Read more.](https://en.wikipedia.org/wiki/Blackjack)\n\nCard counting is a technique in which players can keep track of the overall value of the cards dealt and the ones left in the shoe in order to gain a slight advantage. This is most often used in blackjack, but can also be beneficial in other casino card games. Hi-Low is one such card counting system that is very popular and simple. [Read more.](https://www.casinoguardian.co.uk/blackjack/hi-lo-blackjack-system/)\n\nThis project aims to replicate this strategy using computer vision.\n\n## Demo\nhttps://github.com/user-attachments/assets/2519ae17-be0b-48f4-8ab6-8167bb1f5f3a\n\n## Model\nThe computer vision model used in this project is [YOLOV8s](https://github.com/ultralytics/ultralytics), which is custom trained with this [playing card dataset](https://universe.roboflow.com/augmented-startups/playing-cards-ow27d/dataset/3) from Roboflow.\n\n\u003cbr\u003e\n\n**This project is inspired by:** [Poker Hand Detector](https://youtu.be/WgPbbWmnXJ8?si=L3i7tUnto4e-ugpT\u0026t=11180) \u0026 [21 (The Movie)](https://en.wikipedia.org/wiki/21_(2008_film))\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianjure%2Fblackjack-card-counter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianjure%2Fblackjack-card-counter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianjure%2Fblackjack-card-counter/lists"}