Note that matches cards are appended to the csv file configured via CSV_FILE in the file test.py Then click Ok to save.Ĭlick Download Card Images and select the directory you have set BASE_SET_DIR. Select Magic Workstation from the dropdown box and click Load Defaults. Now we will get the images associated with the cards but first, because we have a particular file directory structure, we need to ensure the naming convention is correct.Ĭlick on Options -> Image Formats.
Note the "And all Sets After" option box for easily downloading multiple sets.
Mtg card images for magic workstation full#
Note that all the cards end in full.jpg Gatherer DownloaderĪutomates downloading of full Magic the Gathering sets, both card listings and card images.ĭownload the card database for the sets you wish to recognize/inventory. BASE_SET_DIR//.full.jpg where card_name is unique within a given set. BASE_SET_DIR/ where set_name_abbreviation is a unique identifier for the set comprised of letters and numbers. Thus, we need a database of cards to match against.įile Structure BASE_SET_DIR/ variable in test.py root directory of the images. The matching algorithm is designed to find a matching card of a taken image. One variable is required to be set that denotes the location of the Magic the Gathering cards you wish to index against.īASE_SET_DIR/ variable in test.py root directory of the images. python, opencv, numpy, SQLAlchemy, Flask, elixer.Says the name of the card using Text-to-Speech festival.Outputs recognized cards in Magic Workstation csv format.Uses image recognition software opencv to quickly identify Magic the Gathering Cards.Magic the Gathering card recognition for purposes of quickly digitizing your inventory. Chose not fork because of the amount of code change.
Code mostly taken from card_scan by YenTheFirst.