Auto translate textbox from Japanese to English or Indonesia
How to use
- Install python first, Anaconda is recommended
- Install python depedency with command:
pip install -r requirement.txt
- Install tesseract for windows, Download here, select
- Download japanese datapack at this repository
- Copy trainneddata file to
- Run Princess Connect Re:Dive
- Run run.py with command :
python run.py --data fast --translate googleDictor just
select japanese detection datapack.\
fastis lightweight but not accurate.
mediumis not light but not heavy either, fairly accurate.
bestis heavy but it is very accurate. default is best
Select translator endpoint.\
azureusing bing translate, need API key, free is limited 2 millions of character
ibmusing IBM Translate, not really accurate.
googleModuleusing googletrans module, not accurate, IP maybe blocked if too many request
googleDictusing google dictionary endpoint, somewhat accurate. Default is googleDict
PR is wellcome!
Yes, I need your help to improve this program. My code is messy but at least it work.
If there any improvement, PR is always open!
Please open issue if there is any bug or have question!
- Overlay to the game.
- Improve performance with multithreading / multiprocessing