Skip to content

rayofhopejp/AutoScreenOCR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ASOCR(Auto Screen OCR)

Select range and every time the screen changes, OCR is activated. 範囲を選ぶと、画面が変わる度にOCRが起動します。

usage1: simple OCR

  1. Settings->Privacy->Allow screen capture to terminal
  2. pip install -r requirements.txt
  3. download jpn.traineddata https://github.com/tesseract-ocr/tessdata
  4. move jpn.traineddata to /usr/loacl/share/tessdata/
  5. python main.py
  6. select range and press space key
  7. it works!
  8. escape by esc key

usage2: select many windows

  1. python main_manywindows.py
  2. select range
  3. delete range by delete key
  4. press space key
  5. it works!
  6. escape by esc key

usage3: auto OCR

  1. python main_auto.py
  2. select range
  3. delete range by delete key
  4. press space key
  5. it works! (every time the screen changes and stay 1 sec, OCR is activated)
  6. 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

About

Select range and every time the screen changes, OCR is activated.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages