A quick small project for detecting Magic the Gathering cards using Amazon's Textract service.
- Python 3.6+
- An Amazon account - AWS free tier is enough
- AWS CLI - for setting up auth credentials
- Raspberry pi (tested on model 3B+)
- Camera Module
- A button switch - example
- Set up the Raspberry pi roughly as shown use BCM pin numbers (pinout)
- If you plan to control the pi in headless mode (e.g. VNC server), enable direct capture mode (instructions)
- Install dependencies
git clone https://github.com/nicolaskyejo/mtg_aws_iot.git
cd mtg_aws_iot/project
pip install -r requirements.txt
- Run mtg_card_recognition.py