{"id":50547676,"url":"https://github.com/parthha12/bb-hud","last_synced_at":"2026-06-04T00:03:50.502Z","repository":{"id":339588295,"uuid":"1150354751","full_name":"parthha12/bb-hud","owner":"parthha12","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-05T20:06:11.000Z","size":114,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-29T22:43:10.264Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/parthha12.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":"docs/roadmap.md","authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-05T07:14:48.000Z","updated_at":"2026-02-05T20:06:15.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/parthha12/bb-hud","commit_stats":null,"previous_names":["torrap11/bb-hud","parthha12/bb-hud"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/parthha12/bb-hud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthha12%2Fbb-hud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthha12%2Fbb-hud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthha12%2Fbb-hud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthha12%2Fbb-hud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parthha12","download_url":"https://codeload.github.com/parthha12/bb-hud/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parthha12%2Fbb-hud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33884763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-03T02:00:06.370Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2026-06-04T00:03:49.708Z","updated_at":"2026-06-04T00:03:50.497Z","avatar_url":"https://github.com/parthha12.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BBS Converter\n\nReal-time Poker HUD to Big Blinds (BB/s) converter. Captures on-screen poker HUD data via screen capture and OCR, converts chip counts and pot sizes into big blind units, and displays the results as an overlay.\n\n## Architecture\n\n```\nScreen Capture → OCR → Parse → Convert → Overlay\n     (mss)    (tesseract) (regex)  (math)  (opencv)\n```\n\n**Modules:**\n\n| Module | Responsibility |\n|---|---|\n| `capture` | Screen region selection and frame grabbing at ≥30 FPS |\n| `ocr` | Text extraction from captured frames using Tesseract |\n| `parser` | Structured data extraction from raw OCR text (stacks, blinds, pot) |\n| `converter` | Chip-to-BB arithmetic |\n| `overlay` | Transparent on-screen display of converted values |\n| `utils` | Shared helpers (config, logging, timing) |\n\n## Prerequisites (macOS)\n\n### 1. Install Homebrew (if not already installed)\n\n```bash\n/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"\n```\n\n### 2. Install Python\n\n```bash\nbrew install python@3.11\n```\n\nVerify with:\n\n```bash\npython3 --version\n```\n\n### 3. Install Tesseract OCR\n\n```bash\nbrew install tesseract\n```\n\nVerify with:\n\n```bash\ntesseract --version\n```\n\n### 4. Grant Screen Recording Permission\n\nmacOS requires screen recording permission for screen capture to work.\n\n1. Open **System Settings → Privacy \u0026 Security → Screen Recording**\n2. Enable your terminal app (Terminal, iTerm2, etc.)\n3. Restart the terminal after granting permission\n\n## Setup\n\n```bash\ngit clone https://github.com/parthhar/bbs-converter.git\ncd bbs-converter\npython3 -m venv .venv\nsource .venv/bin/activate\npip install -e \".[dev]\"\n```\n\n## Usage\n\n```bash\n# Run with defaults (launches setup wizard on first run)\nbbs-converter\n\n# Specify capture region directly\nbbs-converter --region 100,200,800,600\n\n# Set target FPS and OCR confidence threshold\nbbs-converter --fps 30 --confidence 70\n\n# Use a custom config file\nbbs-converter --config config.toml\n```\n\n## Testing\n\n```bash\n# Run all tests\npytest\n\n# Run with coverage report\npytest --cov=bbs_converter\n\n# Run a specific test file\npytest tests/unit/test_converter_core.py\n\n# Run tests matching a keyword\npytest -k \"parser\"\n```\n\n## Linting\n\n```bash\nruff check src/ tests/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthha12%2Fbb-hud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparthha12%2Fbb-hud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparthha12%2Fbb-hud/lists"}