Inspiration

Inspired by many of the alternate designs for some for the popular cards in Magic the Gathering, as well the power of DALLE from OpenAI we designed to add some fun to you game of magic!

What it does

Our application is a downloadable python program which can be used to scan your cards from any magic the gathering set and query the card data and formatted image from the MTG database based on the image you took. Using text on the card, it returns a generated image using our own version of the DALLE model served through cloudflare.

How we built it

After setting up the generator using the magic the gathering scanner, we also hosted a version of DALLE as a playground hosted through a flask server on the cloud. We designed the ui using pyqt to interact with both the open magic database correctly and the hosted model.

Challenges we ran into

We learned quite a bit about hosting docker images on the cloud after testing various methods like serving it on an EC2 instance as well as through our local machines and port forwarding to the image. We also had to learn how to make threaded code for tasks that were interactable through the pyqt library for a effective U.I. that can run python scripts.

Accomplishments that we're proud of

We are proud that we were able to make a fully functional application that could utilize many components working in tandem.

What we learned

We learned how to make multithreaded frontend systems. Servable machine learning images and deployable applications as docker containers. And utilize several machine learning systems at once.

What's next for Magic Eye

In the future we hope to interact with text from multiple cards to depict images of cards battling or to make animations created from text and images from cards together. We also want to make a mobile app using react native and expo so that it can be easier to interact with your cards.

Built With

Share this project:

Updates