Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

Reads a Magic: The Gathering card in front of a webcam and identifies it in an existing database of cards of a user-specified set.

Notifications You must be signed in to change notification settings

TrifectaIII/MTG-Card-Reader

Repository files navigation

UPDATE (5/29/2019)

V2.0

I am happy to report that MTG-Card-Reader 2.0, a web-based in-browser version is in active development. If you have any interest in contributing to development of v2.0, send me an e-mail at maddenfong@gmail.com. I am a complete novice regarding web hosting/web deployment of a project like this and could use some help.

A note on this version

At the moment, this original version of the project is experiencing some major crashing issues (at least on my machine) but they are not throwing error messages and I'm too busy with v2.0 to hunt them down, sorry ☹️. I recently swapped the feature description algorithm from SIFT to ORB (which means any semi-recent version of opencv-python is good, don't need specific versions of -contrib anymore) but the crashes were happening before that.

MTG-Card-Reader

Reads a Magic: The Gathering card in front of a webcam and identifies it in a database of cards from a user-specified set.

See it in action here!

Download the Allset.json file (zipped or unzipped) from the MTGJSON website listed below, and place in project folder. Then run MTGCardReader.py to start the program.

When loading up a set for the first time, the program may take 5 minutes or more to download and store all images from that set.

Run install_packages.py to install the requisite packages (NOTE: This is mostly untested)

Open Thesis Paper - MTG Card Reader.pdf to read about this project in more detail.

Resources

Uses MTGJSON, Python 3, PyQt5, OpenCV

About Me

I am a recent university grad currently living and looking for a job in San Francisco. If you would like to contact me about this software project (or anything else) please send an email to maddenfong@gmail.com

About

Reads a Magic: The Gathering card in front of a webcam and identifies it in an existing database of cards of a user-specified set.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages