Skip to content

devcrema/mac-ocr-translator

Repository files navigation

mac-ocr-translator

sample_record

installation

  • git clone https://github.com/devcrema/mac-ocr-translator.git
  • cd mac-ocr-translator
  • pip install -r requirements.txt
  • brew install imagemagick
  • brew install tesseract
  • brew install tesseract-lang
  • preference - 보안 및 개인정보보호 - 손쉬운 사용 - add this program (현재 사용중인 termianl or IDE)
  • preference - 보안 및 개인정보보호 - 화면 기록 - add this program (현재 사용중인 termianl or IDE)
  • python3 ./main.py

How to use

  • cmd + shift + 1 : ocr + translate (eng -> kor)
  • cmd + shift + 2 : ocr + pronunciation (eng)

TODO

  • python key event listener for screenshot
  • python key event that trigger screenshot
  • apply ocr
  • translator (https://github.com/ssut/py-googletrans)
  • show result
  • pronunciation
  • better performance on pronunciation
  • python running in background and launch at login
  • gui library
  • preference

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published