Technical Specification β Poker Table Parser via Capture Card
π― Goal
Build a highly accurate and fast parser that processes poker table data in real time from a capture card feed, recognizes all required elements, and outputs the game hand line in our standard format.
β οΈ The parserβs task is pure parsing only (raw data extraction).
π« No analytics, EV calculations, or strategy logic.
π Requirements
- Data Source
- Input: capture card feed (video or screenshots).
- Frequency: event-based (new action detected) or fixed interval (e.g., every 200ms).
- What to parse
- Heroβs hole cards (2 cards).
- Board cards (street by street: Flop / Turn / River).
- Player positions (UTG, MP, CO, BTN, SB, BB).
- Player stacks in bb (convert from chips).
- Pot size (POT) after each action.
- Player actions (open, call, bet %, jam Xbb, etc.).
- Game stage: PF / F / T / R.
Output format (single line)
HAND: <POS> <HAND> | TABLE [ID]: <board or β> | POT <bb> | STACKS: <pos stack>... | LINE: PF <...> β F <...> β T <...> β R <...> β Hero act
- When to output a line
- After each active action (open / raise / bet / jam).
- When the action reaches Hero.
- π« Skip folds.
- PKO mode (bounties)
Add bounty info to stacks:
BTN 24bb[$34]
- Speed & Accuracy
- Card recognition error β€ 0%.
- Stack recognition error β€ 1bb.
- Output update β€ 0.5 sec after action.
π Example Outputs
Preflop
HAND: BB Kβ οΈQβ¦οΈ | TABLE [12]: β | POT 4.6bb | STACKS: UTG 28bb, MP 25bb, CO 31bb, BTN 18bb, BB(Hero) 22bb | LINE: PF UTG open 2.2bb β MP call β CO call β BTN call β Hero act
Postflop
HAND: BB 9β οΈ8β οΈ | TABLE [12]: 9β£οΈ 7β¦οΈ 2β οΈ Kβ£οΈ 7β£οΈ | POT 12.3bb | STACKS: CO 27bb, BTN 24bb, BB(Hero) 19bb | LINE: PF UTG open 2.2bb β CO call β BTN call β BB call β F CO bet 33% (4.1bb) β BTN call β UTG fold β Hero call β T x/x/x/x β R BTN jam 18bb β Hero act
β Expected Result
- A ready-to-use tool (library / service) that:
- Takes a frame β
- Detects all objects (cards, stacks, pot, actions) β
- Outputs a single line in the required format.
- Support for both cash games and tournaments (including PKO).
Required languages
| Ukrainian | Native |