A powerful screen capture utility that extracts text from non-copyable sources using OCR technology.
- Quick Screen Capture: Capture any portion of your screen with a simple hotkey (default: Ctrl+Shift+S)
- Smart Text Extraction: Advanced OCR processing using Tesseract
- System Tray Integration: Convenient access through system tray icon
- Left-click to capture
- Right-click for menu options
- Intelligent Text Processing:
- Preserves file paths and URLs
- Maintains special characters
- Smart word spacing and formatting
- Python 3.12+
- Windows OS
- Tesseract OCR installed (default path:
C:\Program Files\Tesseract-OCR\tesseract.exe)
- Clone the repository:
git clone https://github.com/yourusername/TextGrabber.git
cd TextGrabber- Install required Python packages:
pip install -r requirements.txt- Install Tesseract OCR if not already installed:
- Download from Tesseract Installer
- Install to default location (
C:\Program Files\Tesseract-OCR\)
- Run the application:
python text_grabber.py- The app will minimize to system tray
- Use the default hotkey (Ctrl+Shift+S) or left-click the tray icon to capture
- Select the area containing text
- Extracted text will be automatically copied to clipboard
Settings are stored in: %APPDATA%/TextGrabber/settings.json
Configurable options include:
- Hotkey combinations
- Tesseract OCR path
- Text processing preferences
pytesseract: OCR engine interfacePillow: Image processingtkinter: GUI componentskeyboard: Hotkey managementpystray: System tray integrationpyperclip: Clipboard operations
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
- Tesseract OCR for the OCR engine
- All contributors and users of TextGrabber
