ianzhao05 / textshot

Python tool for grabbing text via screenshot
MIT License
1.72k stars 258 forks source link

Small changes #4

Closed ALinuxPerson closed 4 years ago

ALinuxPerson commented 4 years ago

Here are the following changes I made.

  1. Add check before execution that checks if tesseract is in the system (by calling it) and if it isn't, output a notification and a terminal message.
  2. Send notification and terminal message of the clipboard being copied to.
  3. Send notification and terminal message if an error trying to process the image has occurred.
  4. Added 2 new imports: subprocess and pynotifier.
  5. Added 2 new dependencies: py-notifier and wintoast10 (if the os name is Windows, required by py-notifier)