Skip to content

MRGRD56/RealTimeTranslator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RealTimeTranslator

Screen text translator alpha

image

Now supports:

  • 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.

Installation

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.

Usage

Main window

image

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 (like T 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.

Translated text window

image

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.

Settings window

image

(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


See also: https://github.com/MRGRD56/textractor-translator