arabic-ocr

Extract Arabic text from images and scanned documents using Tesseract.

13|4|Updated Apr 7, 2026
One-click install
npx skills add https://github.com/Moshe-ship/hurmoz --skill arabic-ocr-moshe-ship
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arabic-ocr
Source: https://github.com/Moshe-ship/hurmoz/tree/main/arabic-ocr
Command: npx skills add https://github.com/Moshe-ship/hurmoz --skill arabic-ocr-moshe-ship

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Arabic OCR converts text in images and documents into editable, searchable text, enabling quick digitization of scanned notes, forms, and media.

Core Features & Use Cases

  • Local Arabic OCR: Tesseract-based extraction with Arabic language support for offline, private processing.
  • Cloud alternative: TrOCR via HuggingFace as an optional online model when higher accuracy is needed.
  • Use Case: Digitize archived documents or screenshots containing Arabic text for search, indexing, or translation.

Quick Start

Run the arabic-ocr skill on an image to extract Arabic text into a plain text file.

Frequently Asked Questions about arabic-ocr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract Arabic text from a scanned PDF or image?

Extract Arabic text from scanned PDFs or photos by running OCR tools like Tesseract or HuggingFace TrOCR. This process converts embedded image text into editable plain text files for quick digitization and search.

Does offline Arabic OCR work without sending documents to the cloud?

Offline Arabic OCR works without cloud connectivity by using local Tesseract with Arabic support. This ensures private processing of scanned documents and forms while converting embedded text into searchable archives.

What dependencies are needed to run Arabic OCR on scanned documents?

Running Arabic OCR requires local Tesseract with Arabic support, ImageMagick, and curl. For the optional HuggingFace TrOCR cloud model, you must also configure the HF_TOKEN environment variable to access the API.

When should I use HuggingFace TrOCR instead of Tesseract for Arabic text extraction?

Use the HuggingFace TrOCR API instead of Tesseract for Arabic text extraction when higher accuracy is needed for complex images. TrOCR serves as an optional online model alternative to the standard local offline processing.

Can I use Arabic OCR for archival digitization and media workflows?

You can use Arabic OCR for archival digitization and media workflows to extract text from screenshots and scanned forms. This enables searchable archives, document indexing, and supports accessibility tasks across media pipelines.