Fairly bad attempt at recognizing Magic The Gathering (MTG) cards from a given image.
Uses opencv-python and imagehash (perceptual hashing) to recognize the cards.
I have little to no experience with image processing. This was more of an excuse to use OpenCV for something. I probably won't develop this further.
Real cards and their hashes are collected via Scryfall's bulk data files.
If provided a good picture (e.g. eight MTG cards lay out on a white A4 paper in decent lighting) it will yield some good results (but nowhere remotely close to perfect).
Could probably be improved with:
- Better knowledge of image processing/OpenCV
- By hashing only the card art?
Lucky 8/8
6/8
6/8