Crossplatform OCR Translation tool COT for translating text on your screen.
Currently supports DeepL and LibreTranslate as translation APIs, and Tesseract as an OCR engine.
Features 2 modes:
-
Notification
Uses native notifications to show the translation.
Ideal for translating small phrases and separate words.
-
TextBox
Prints translated text near your selection.
Ideal for translating big chunks of text.
- Java 21+
- Network connection
- Download the latest archive from the Releases tab and extract the contents.
- Download .traineddata files for Tesseract for the languages you are going to translate:
Fast versions
Default versions
And put them inocrdata/tessdata/ - Get your DeepL or Libre API key:
DeepL
Libre (no free plan) - Paste your key in the corresponding file:
api/Deepl/key.txt
api/Libre/key.txt - Run the .jar executable in the root folder.
- Set your preferred input and output languages, presentation mode and translator(DeepL by default).
- Use Ctrl + Shift + C to select a region you want to translate.
Note: If you use TextBox mode or encounter some error, use the shortcut to hide the selection overlay
You can change the shortcut by editing the assets/shortcut.txt file.
- Tesseract may fail to read selected text.
- Tesseract may recognise abstract shapes as characters.
These can not be fully fixed.
This project uses JNativeHook, Tess4J, DeepL Java Library.