Tithies card scanner
The models and the card index of the Scanner in Tithies, a free browser extension for Magic: The Gathering collections. The Scanner finds the cards in a photo and names each one's print, in the browser: nothing leaves your computer.
| File | What |
|---|---|
manifest.json | The current version: every file's path, SHA-256 and size. |
vN/card-detector.onnx | Finds the cards in a photo: each card's 4 corners (768 × 768 input). |
vN/card-recognizer.onnx | Turns a flattened card into a vector (224 × 224 input, pooler_output). |
vN/index-*.bin | Every print's vector, made by that version's recognizer. |
vN/prints-*.json.gz | The print of each vector: Scryfall id, face, name, set, collector number, language. |
Current version: v2, 104,897 pictures of paper cards, index of 2026-11-26 (Scryfall data of 2026-11-26). On the test photos, against every print: 99.5 % of the cards found, 98.0 % named right, 76.4 % with the right print.
Where it comes from
- Recognizer: fine-tuned from DINOv2-small (Meta, Apache-2.0).
- Detector: a ResNet-18 with a small feature pyramid, started from torchvision's ImageNet weights (BSD-3-Clause).
- Training data: generated scenes of card pictures, and photos of the author's own cards.
- The weights of both models are published under the Apache-2.0 licence.
- The index: vectors computed from the card pictures Scryfall hosts, and print data from Scryfall's bulk data, used as Scryfall's API guidelines allow (free, for Magic software). Not produced or endorsed by Scryfall.
Magic: The Gathering
Tithies is unofficial Fan Content permitted under the Fan Content Policy. Not approved/endorsed by Wizards. Portions of the materials used are property of Wizards of the Coast. ©Wizards of the Coast LLC. Card names, art and other card data belong to Wizards of the Coast.