This is a simple python script that will send screenshots taken in Windows by Greenshot to Tesseract, and copy the data to the clipboard (dependency: pyperclip).
- Download and Install Greenshot
- Download and Install Tesseract
- Edit tess-ocr.bat to include your full path to pythonw.exe, and to tess-ocr.py
- Right click on greenshot icon -> Configure External Commands
- New:
- Name:
Tesseract OCR
- Command:
full\path\to\tess-ocr.bat file
- Name:
- Leave ""arguements"" as is:
("{0}")
- Right click on greenshot icon -> Preferences
- Destination:
Tesseract OCR
- Destination:
Save Directly
(Optional, this will give you a .txt file of the same name in the same location as the .png)
- Destination:
This will copy the OCR generated text to the clipboard and save a .txt file