Card recognition from a photo
- Problem
- Cards have to be recognized from a phone photo in poor lighting, across thousands of near-identical printings and variants.
- Approach
- I sent the camera capture to the Ximilar vision API for server-side recognition, then resolved the match against the 185k-card catalog from card to variant to printing, with pg_trgm fuzzy search as a fallback.
- Result
- Capture-to-match is fast and separates close variants instead of guessing between them.




