πΈ Instantly extract text from screenshots in Ubuntu, just like Windows PowerToys!
This script lets you select any part of the screen, extracts text using Tesseract OCR, and automatically copies it to your clipboard.
β
Take a screenshot and extract text instantly
β
Auto-copy extracted text to clipboard
β
Works just like Windows PowerToys Text Extractor
β
Simple and lightweight (Uses Flameshot + Tesseract)
- Install required tools:
sudo apt update && sudo apt install flameshot tesseract-ocr ocrmypdf xclip -y
- Download the script:
wget -O ~/screenshot-ocr.sh https://raw.githubusercontent.com/emonbhuiyan/Screenshot-Ocr/main/screenshot-ocr.sh
chmod +x ~/screenshot-ocr.sh
- Run the script:
~/screenshot-ocr.sh
- Or set up a keyboard shortcut:
- Open Settings β Keyboard Shortcuts
- Click "+ Add Shortcut"
- Name: "Text Extractor"
- Command:
/home/YOUR_USERNAME/screenshot-ocr.sh
- Set a shortcut (Example:
Super + Shift + T)
This project is licensed under the MIT License.