Skip to content

Latest commit

 

History

History
31 lines (26 loc) · 1.18 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.18 KB

ScreenSnip

Windows python GUI for Google's Tesseract OCR engine

Libraries to install

  • pip install mss for screen capture
  • pip install Pillow for image file reading
  • pip install PyQt5 for GUI
  • pip install pytesseract for tesseract interfacing (this will be removed in future versions as it does hardly anything)

Important

You must download tesseract from https://github.com/UB-Mannheim/tesseract/wiki

After installiation, move around the files so that it matches this:

.
├── TESSDATA                # tessdata folder (comes with installed tesseract)
│   ├── script
│   │   ├── Cyrillic.traineddata
│   │   ├── Arabic.traineddata
│   │   ├── ...
│   ├── chi_sim.traineddata 
│   ├── eng.traineddata     
│   ├── ...
├── TESSERACT               # Main installed tesseract engine
│   ├── tesseract.exe
│   ├── text2image.exe
│   ├── libtesseract-5.dll
│   ├── ...                 # And lots of other dll's/exe's
└── ScreenSnip.py           # Main python script from this repo