ASOCR(Auto Screen OCR)
Select range and every time you press Space key, OCR is activated. 範囲を選ぶと、あなたがスペースキーを押すたびに、画面が変わる度にOCRが起動します。
usage1: simple OCR
- Settings->Privacy->Allow screen capture to terminal
pip install -r requirements.txt
- download jpn.traineddata https://github.com/tesseract-ocr/tessdata
- move jpn.traineddata to
/usr/loacl/share/tessdata/
python main.py
- select range and press space key
- it works!
- escape by esc key
usage2: select many windows
python main_manywindows.py
- select range
- delete range by delete key
- press space key
- it works!
- escape by esc key
usage3: auto OCR
python main_auto.py
- select range
- delete range by delete key
- press space key
- it works! (every time the screen changes and stay 1 sec, OCR is activated)
- escape by esc key
todo:
- user can change the language
- user can change the time for activate OCR
- user can change the threshold of imagehash similarity