A simple Python GUI Application which reads text from an image (of any language) and translates it into the language of the user's choosing.
For installation of required packages, run:
pip install -r requirements.txt
Run main.py in your terminal:
python main.py
We see images with text in languages we do not know all over the internet. If it were in text format, we could have copied the text and used Google Translate. But that is not the case for images. We cannot just copy-paste.
This application reads text from an image the user provides and gives an output of the text translated to a language of the user's choosing.
This project uses pytesseract for reading text from image and googletrans library to translate the text. The GUI is made by using PySimpleGUI.
The image can be given as a URL or from the user's system.
The user then chooses the source and destination language from a dropdown list.
The user enters the image URL or selects the file from the system.
The output is shown in the next screen with the original and translated texts.