To develop a web application capable of identifying Mahjong tiles (HK Style Taiwan 16-tile variant) from user-uploaded photos and accurately calculating the "Fan" score according to local rules.
| Criteria | YOLO (v10/v11) | Multimodal LLM (GPT-4o) |
|---|---|---|
| Accuracy | Very High (Deterministic) | High, but prone to counting errors |
| Latency | <100ms (Local) | 2-5s (API) |
| Cost | Zero (Client-side) | Recurring (Per-call) |
| Effort | High (Data Tagging required) | Low (Immediate Start) |
Constraint: LLMs (GPT/Claude) are probabilistic and often fail at the recursive math required for 16-tile Mahjong hands.
Solution: Implement a deterministic Python Rule Engine using a shanten algorithm modified for HKTW rules. The LLM will serve only as the "Translator" that explains the resulting Fan breakdown to the user.