Find magic cards based on the Name on the card.
Project description
MTG_Card_Identifier
MTG_Card_Identifier is a python based program to identify Magic: The Gathering cards based on the Card name in the image that the user uploads.
__ ___ ______ ______ ______ __
/ |/ / /_ __/ / ____/ / ____/ ____ _ _____ ____/ /
/ /|_/ / / / / / __ / / / __ `/ / ___/ / __ /
/ / / / / / / /_/ / / /___ / /_/ / / / / /_/ /
/_/ /_/ /_/ \____/ \____/ \__,_/ /_/ \__,_/
____ __ __ _ ____ _
/ _/ ____/ / ___ ____ / /_ (_) / __/ (_) ___ _____
/ / / __ / / _ \ / __ \ / __/ / / / /_ / / / _ \ / ___/
_/ / / /_/ / / __/ / / / // /_ / / / __/ / / / __/ / /
/___/ \__,_/ \___/ /_/ /_/ \__/ /_/ /_/ /_/ \___/ /_/
_____ _ __ __
/ ___/ _____ _____ (_) ____ / /_ / /
\__ \ / ___/ / ___/ / / / __ \ / __/ / /
___/ / / /__ / / / / / /_/ // /_ /_/
/____/ \___/ /_/ /_/ / .___/ \__/ (_)
/_/
Installation
Linux
# Run the install.sh script
$ sudo sh install.sh
Windows
- Run:
> pip3 install -r requirements.txt
- May have to install Tesseract from here
Usage
$ python3 -img IMAGE [-p PERCENT] [-url URL] [-ci CI] [-show SHOW]
MTG_Card_Identifier: Find magic cards based on the Name on the card.
optional arguments:
-h, --help show this help message and exit
-p PERCENT, --Percent PERCENT
Enter the percent you want the comparison to be [whole numbers].
-url URL, --URL URL Tell the script that the -img is a url. Usage [ -url y ]
-ci CI, --CI CI Print out more information about a card if the script is 100 percent a match.
[y or n]
-show SHOW, --Show SHOW
Show guessed image. [y or n]
required named arguments:
-img IMAGE, --Image IMAGE
Insert path to the Image here.
Requirements
Python PIP Packages:
Sets included:
NOTE: All images belong to Magic: The Gathering and Wizards of the Coast respectively
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file MTG_Card_Identifier-0.0.1.tar.gz
.
File metadata
- Download URL: MTG_Card_Identifier-0.0.1.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ad0bce59c2582b9bb933ff7f2236619bc77d65d93026fbc6c0fa2e8c51cfd45 |
|
MD5 | f942b92239a16dc995c9255aee5d75a3 |
|
BLAKE2b-256 | 6256d8a30b75e1dff4b9118766b6757e0f911889c26ae71f48b51f2e91eb93b0 |
File details
Details for the file MTG_Card_Identifier-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: MTG_Card_Identifier-0.0.1-py3-none-any.whl
- Upload date:
- Size: 8.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ab8f2eede3c66185bc4890f8bbdafc5ac122cab36c3ce8f36f3c1ecef3643ea |
|
MD5 | 57f8c0b1b322ffd5abee997093b2dcda |
|
BLAKE2b-256 | 9220094d48a1637a28799cb5e068a3a4aa073dea96a17ec990fc8c577211c6d2 |