CollectorVision: Identifying Trading Cards with On-Device Machine Learning

I've been working on a card scanner for Magic: The Gathering for a while now and wanted to write up how it works. The short version: you show it a card, it tells you what it is. It handles held cards, sleeved cards, skewed angles, phone cameras. The whole thing runs locally — you can run it in Python on your laptop, or as a static web app in your browser. No server required. The live demo is at…