Instalujemy Tesseract
https://github.com/UB-Mannheim/tesseract/wiki
Tworzymy plik tesseractocr.bat
"c:\Program Files\Tesseract-OCR\tesseract.exe" %1 %1 -l pol
OCR z pliku PNG
Reply
Instalujemy Tesseract
https://github.com/UB-Mannheim/tesseract/wiki
Tworzymy plik tesseractocr.bat
"c:\Program Files\Tesseract-OCR\tesseract.exe" %1 %1 -l pol
In registry editor change the key:
HKEY_CLASSES_ROOT\textfile\shell\open\command
and add or modify a value: Type REG_EXPAND_SZ
"c:\tools\notepad++\unicode\notepad++.exe" "%1"
the reg file is:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\Applications\notepad++.exe] [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell] [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\edit] [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\edit\command] @="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\"" [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open] [HKEY_CLASSES_ROOT\Applications\notepad++.exe\shell\open\command] @="\"C:\\Program Files (x86)\\Notepad++\\notepad++.exe\" \"%1\""
1. Modify registry key, change ShutdownWithoutLogon 1 -> 0
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system