- Introduction
- Features
- Technology Stack
- Installation
- Usage
- Code Structure
- Future Enhancements
- Contributing
- License
The Pokémon GO Collection Optimizer is designed to assist Pokémon GO enthusiasts in maximizing the effectiveness of their collections. The tool integrates Optical Character Recognition (OCR), SQL databases, and linear programming algorithms to find the optimal collection of Pokémon to power up, all the while considering real-world constraints such as stardust budgets and candy limits.
File: POGO_OCR.py
- What it Does:
- Captures Pokémon metrics such as Combat Power (CP), Current HP, Total HP, and Stardust from screenshots of the Pokémon GO app.
- Technology:
- Utilizes Google Vision API for OCR capabilities.
- Data Storage:
- Stores the captured metrics in a pandas DataFrame for future analysis and optimization.
File: POGOR.sql
- What it Does:
- Manages the database schema and initial data to support the optimization process.
- Tables:
- Includes tables for Pokémon attributes, moves, and types.
- Technology:
- MySQL is used for database management.
File: pogo_OR.py
- What it Does:
- Optimizes the Pokémon collection based on a customizable "coolness" metric.
- Technology:
- Utilizes PuLP library for the linear programming algorithm.
- Constraints:
- Considers limitations like stardust budget and candy limits.
- Python: Main programming language for scripting and data manipulation.
- Google Vision API: For OCR capabilities.
- MySQL: For database management.
- PuLP: Linear programming library for optimization.
- Python 3.x installed.
- MySQL server up and running.
- Google Vision API credentials.
-
Clone the Repository
git clone https://github.com/your-username/pokemon-go-optimizer.git
-
Navigate to Project Directory
cd pokemon-go-optimizer
-
Install Required Packages
pip install -r requirements.txt
-
Database Setup
mysql -u root -p < POGOR.sql
-
Google Vision API Credentials
- Add your API credentials to
POGO_OCR.py
.
- Add your API credentials to
-
Run the OCR script to collect Pokémon metrics.
python POGO_OCR.py
-
Execute the optimization script to obtain the optimal set of Pokémon to power up.
python pogo_OR.py
POGO_OCR.py
: Contains functions for OCR and data storage.POGOR.sql
: SQL file for database schema and initial data.pogo_OR.py
: Includes the optimization algorithm.requirements.txt
: Lists all the Python dependencies.
- Tableau Integration: For enhanced visualization and interactive constraint adjustments.
- Real-time OCR: To continuously update the database.
- Advanced Optimization Criteria: For more complex constraints and objective functions.
- Please read CONTRIBUTING.md for guidelines on how to contribute to this project.
- This project is licensed under the MIT License. See LICENSE.md for more details.
This README aims to provide a complete understanding of the project and its functionalities. It's an excellent way to introduce others to the complexities and features of the Pokémon GO Collection Optimizer.