Views
No views yet
Superseded bylgd-chips-gen2(the current served model — a dual-felt blend covering both blackjack and Ultimate Texas Hold'em, with a different venue-matched palette). Gen 1 is published for provenance.
| Gen | Repo | Palette | Frozen-gate verdict | Status |
|---|---|---|---|---|
| 1 | lgd-chips-gen1 (this) | black / white / green / red / pink | blackjack gate: recall 0.91 / precision 0.77 | superseded |
| 2 | lgd-chips-gen2 | black / green / pink / purple / yellow | UTH gate: 0.80 / 0.85 / colour 0.97 | ✅ current |
model.classes.json order)chip_black chip_white chip_green chip_red chip_pinkmodel.onnx — ONNX export (run with onnxruntime).model.classes.json — ordered class-name sidecar (index → colour).metrics.json — training config + evaluation.yolo11s.pt (COCO-pretrained), 60 epochs, imgsz=640.| Gate | Recall | Precision |
|---|---|---|
chip_test (blackjack) | 0.91 | 0.77 |
⚠️ Not casino accuracy (rule of the project). Gate footage is our own PoC recordings. This generation also produced falsechip_blackboxes on printed felt markings (fixed in gen 2). Dataset-internalmAP@50(0.97) inmetrics.jsonis not real-world accuracy.
1import json, onnxruntime as ort
2sess = ort.InferenceSession("model.onnx", providers=["CPUExecutionProvider"])
3colours = json.load(open("model.classes.json")) # index -> "chip_black", ...
4# Detect boxes per colour, then count per class for stack/bet estimation.yolo11s.pt, AGPL-3.0) — these weights inherit
AGPL-3.0 and are not an original work of ours. Networked deployment triggers AGPL §13 (offer the
Corresponding Source). onnxruntime (MIT) keeps the inference code AGPL-free; the weights stay AGPL.