Simple Translation Application in Python using Tkinter
By default the program will detect korean language (hangul) and translate it into english.
You can also adjust and costumize it into your desired language.
This program consist of 2 main function: text detection & text translation.
To detect the text from image i used EasyOCR & OpenCV.
After detecting the text, first you need to change it from list to string datatype (deep_translator can't process list) which you can see it on our sub function listToString(). After it you can finally translate the text.
For text translation i used deep translator, a free and unlimited tool to translate between languages (no need to build a RNN architecture again).
From there i import 2 translator which are GoogleTranslator and MyMemory.
You may change the translator type and also see the documentation here.
I'm using tkinter to make the GUI that can you freely edit the frames, buttons, and labels according to your taste. I also already included the jupyter notebook file to show the whole processes.
- TKinter
- PIL
- Numpy
- EasyOCR
- OpenCV (CV2)
- Matplotlib
- Deep_Translator
I used image from a comic named "백작가의 사생아가 결혼하면" on KakaoWebtoon episode 3 (You can read the first 3 episodes for free here).