2.7 KiB
Current Situation
GoldenDict did offer a functionality to translate the word under cursor(when scan popup been enabled) on Windows. the technique used there is old and can not work crossplatform .
with the help of another great tool Capture2Text ,GoldenDict can work with ocr seamlessly.
Note
Capture2Text has offered Windows precompiled executable files.I have ported it to Linux https://github.com/xiaoyifang/Capture2Text
Thanks to:
Download release or compile by yourself
https://github.com/xiaoyifang/Capture2Text/releases
Configuration on Windows
after installation of both software. configure the Capture2Text ,see screenshots below.
configure external Call Executable
path (Windows for example)
path\GoldenDict.exe "${capture}"
configure hotkey
configure First word only
without this configuration ,it will capture the last word of
Use it
place the cursor on the word (can be on the image ),press
- Win+W to capture the first word.
- Win+Q select rectangle.
result:
use Capture2Text on Linxu
download and build the capture2text
https://github.com/xiaoyifang/Capture2Text
settings
start capture
Ctrl+Shift+Q
end capture
press Ctrl+Shift+Q
again.