{"repo":"moheladwy/OCR4Linux","free":true,"listed":false,"github":"https://github.com/moheladwy/OCR4Linux","clone":"git clone https://github.com/moheladwy/OCR4Linux.git","description":"OCR CLI Tool for Extracting Text from Screenshots (images) using bash, and python scripts for both x11 and wayland","language":"Shell","stars":80,"topics":["bash","bash-script","ocr","ocr-python","ocr-text-reader","python","tesseract","tesseract-engine","tesseract-ocr","tesseract-python"],"license":"MIT","category":"media-processing","readme_excerpt":"OCR4Linux Version: 1.5.0 OCR4Linux is a versatile text extraction tool that allows you to take a screenshot of a selected area, extract text using OCR, and copy it to the clipboard. It supports both Wayland and X11 sessions and offers multiple language support. Note: This script is currently only made for Arch Linux. It may work on other arch-based distributions, but it has not been tested yet. Motivation I didn't find any easy tool in Linux that does the same thing as the PowerToys app in Windows. This motivated me to create OCR4Linux, a simple and efficient tool to capture screenshots, extract text, and copy it to the clipboard, all in one seamless process. Features - Screenshot Capture - Wayland support via grimblast - X11 support via scrot - Configurable screenshot directory - Text Extraction - Interactive language selection via rofi - Multi-language OCR support with custom language combinations - Automatic language detection fallback - Image preprocessing for better accuracy - UTF-8 text output - Clipboard Integration - Wayland: wl-copy and cliphist - X11: xclip - Additional Features - Interactive language selection menu - Optional screenshot retention - Comprehensive logging system - Command-line interface Requirements System Requirements - Arch Linux or arch-based distribution - Python 3.x - yay package manager (will be installed if needed) - tesseract OCR engine - tesseract-data-eng English language pack - tesseract-data-ara Arabic language pack - rofi for the interac","default_branch":null,"files":null,"tree":[],"storefront":"/r/moheladwy","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/moheladwy/OCR4Linux/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}