Skip to content

Script for capturing text and QR code with saving to clipboard, wrote for linux mint 22 cinnamon, notifications and comments in Russian

Notifications You must be signed in to change notification settings

Pavel-us/Text-Capture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Text-Capture

script for text and QR code recognition.

installation:

drop the text_capture.desktop file into the /local/share/applications/ directory in the text_capture.desktop file specify the paths for text_capture.sh and the icon Exec=/home/user/text_capture/text_capture.sh Icon=/home/user/text_capture/text_capture.png make the file executable:

chmod +x ~/.local/share/applications/text_capture.desktop

also make the text_capture.sh file executable:

chmod +x text_capture.sh

add packages.

Required packages:

  • tesseract-ocr — for text recognition.
  • scrot — for screenshot capture.
  • xclip — for working with the clipboard.
  • notify-osd — for displaying notifications.
  • zbar-tools — for recognizing QR codes. installation commands:
sudo apt install tesseract-ocr scrot xclip notify-osd zbar-tools

add support for different languages ​​to Tesseract,

by installing the corresponding language packs, for example:

sudo apt install tesseract-ocr-rus tesseract-ocr-eng

In the text capture function, specify the languages, for example:

LANGUAGES="rus+eng"

About

Script for capturing text and QR code with saving to clipboard, wrote for linux mint 22 cinnamon, notifications and comments in Russian

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages