- Recognition of Russian, English and Japanese text;
- Recognized text translation via Google Translate;
- Automatic and manual translation;
- History of translations;
- Basic settings: languages, recognition settings, UI.
Before running the app you have to download neccessary trained models from this repository https://github.com/tesseract-ocr/tessdata and place them in a specific folder (C:\RTT_Data\TrainedData
by default).
For now only 3 languages are supported for recognition. (it's pretty easy to fix but I'm too lazy for it~)
After installing the trained models you should download the latest release, unzip the archive and run RealTimeTranslator.exe
.
You have to put this window around the text you want to be translated, like on the screenshot above.
The buttons mean:
A
- Auto mode (automatically translates the selected text when it changes);L
- Recognize the last recognized area (used for debug)T
- Translate the selected area manually;R
- Only recognize the selected area (likeT
but without translating);X
- Exit the app.
Also you can manually translate the selected text by pressing ~
on your keyboard or double clicking the title of the main window.
You can resize and move it however and wherever you want. You can scroll this window to see the old translated text. The original (recognized) and the translated text are displayed.
(yes it looks ugly and is not completely in English yet)
This window is minimized by default.
There is the "Threshold" setting which is one of the main settings. You have to adjust this value manually for better recognition. Learn more here: https://docs.opencv.org/4.x/db/d8e/tutorial_threshold.html