One early Wednesday morning, I woke up excitedly to read a new chapter on One Piece. However, there was no translated text yet. With anger, frustration, bargaining, depression, and acceptance, we decided to start this project to prevent this from happening again.
- Python 3
- Microsoft's Cognitive Services (for extracting text)
- Google Translate API (for translating text)
- Install Python 3+
- Get an API key for Microsoft's Cognitive Services
- Get an API key for Google Translate API
- Clone the repository.
- Open the command line and navigate to the repository.
- Type
pip install -r requirements.txt
and enter. - Open
config.ini
in a code editor and put your API keys for both APIs. - Run the application using
python main.py --url IMAGE_URL
.
- Replace the text inside the image with translated text
- Improve the translations