Skip to content

Perform OCR (Optical Character Recognition) on image present on clipboard

License

Notifications You must be signed in to change notification settings

dude-with-the-long-username/clipboard-ocr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clipboard-ocr

Perform OCR (Optical Character Recognition) on image present on clipboard

  • current implementation requires xclip to be installed.
    • On Arch Linux: sudo pacman -S xclip
    • On Debian based distros (eg: Ubuntu): sudo apt install xclip
  • Currently supported OS: Linux

Usage

    pip install -r requirements.txt
  • copy portion of image you want to run OCR on, onto clipboard
  • run program.py
  • OCR will be generated and copied to your clipboard, paste in any text editor to verify

Upcoming fixes:

  • fix issue: will fail if latest clipboard entry is not an image
  • fix: don't create temporary files

Tips:

  • use flameshot or ksnip for your screenshot needs.
  • If you use KDE, you can set custom shortcuts to run this program whenever you press a keyboard shortcut. You can set this up in the KDE settings. (google KDE custom shortcuts)
    • for other Desktop Environments, do some research.

About

Perform OCR (Optical Character Recognition) on image present on clipboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages