Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/elmghari-mohammed-smart-ocr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/smart-ocr
What's inside
- Skill name
smart-ocr- Description
- >
- License
- MIT
- Instructions
- 462 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (1)
- SKILL.md
SKILL.md (first lines)
# Smart OCR Skill
## Overview
This skill enables intelligent text extraction from images and scanned documents using **PaddleOCR** - a leading OCR engine supporting 100+ languages. Extract text from photos, screenshots, scanned PDFs, and handwritten documents with high accuracy.
## How to Use
1. Provide the image or scanned document
2. Optionally specify language(s) to detect
3. I'll extract text with position and confidence data
**Example prompts:**
- "Extract all text from this screenshot"
- "OCR this scanned PDF document"
- "Read the text from this business card photo"
- "Extract Chinese and English text from this image"
## Domain Knowledge
### PaddleOCR Fundamentals
```python
from paddleocr import PaddleOCR
# Initialize OCR engine
ocr = PaddleOCR(use_angle_cls=True, lang='en')
# Run OCR on image
result = ocr.ocr('image.png', cls=True)
# Result structure: [[box, (text, confidence)], ...]
for line in result[0]:
box = line[0] # [[x1,y1], [x2,y2], [x3,y3], [x4,y4]]
text = line[1][0] # Extracted text
conf = line[1][1] # Confidence score
print(f"{text} ({conf:.2f})")
```
### Supported Languages
```python
# Common language codes
languages = {
'en': 'English',
'ch': 'Chinese (Simplified)',
'cht': 'Chinese (Traditional)',
'japan': 'Japanese',
'korean': 'Korean',
'french': 'French',
'german': 'German',
'spanish': 'Spanish',
'russian': 'Russian',
'arabic': 'Arabic',
'hindi': 'Hindi',
'vi': 'Vietnamese',
'th': 'Thai',
# ... 100+ languages supported
}
# Use specific language
ocr = PaddleOCR(lang='ch') # Chinese
ocr = PaddleOCR(lang='japan') # Japanese
ocr = PaddleOCR(lang='multilingual') # Auto-detect
```
### Configuration Options
```python
from paddleocr import PaddleOCR
ocr = PaddleOCR(
# Detection settings
det_model_dir=None, # Custom detection model
det_limit_side_len=960, # Max side length for detection
det_db_thresh=0.3, # Binarization threshold
det_db_box_thresh=0.5, # Box score threshold
# Recognition settings
rec_model_dir=None, # Custom recognition model
rec_char_dict_path=None, # Custom character dictionary
# Angle classification
use_angle_cls=True, # Enable angle classification
cls_model_dir=None, # Custom classification model
# Language
lang='en', # Language code
# Performance
use_gpu=True, # Use GPU if available
gpu_mem=500, # GPU memory limit (MB)
enable_mkldnn=True, # CPU optimization
# Output
show_log=False, # Suppress logs
)
```
### Processing Different Sources
#### Image Files
```python
# Single image
result = ocr.ocr('image.png')
# Multiple images
images = ['img1.png', 'img2.png', 'img3.png']
for img in images:
result = ocr.ocr(img)
process_result(result)
```
#### PDF Files (Scanned)
```python
from pdf2image import convert_from_path
def ocr_pdf(pdf_path):
"""OCR a scanned PDF."""From elmghari-mohammed/opencode-config, MIT.
More from elmghari-mohammed/opencode-config
- 0.469score
concept-guide
elmghari-mohammed
Use this skill whenever a user asks you to explain a technical concept, topic, or technology — especially anything coding or programming related.
SkillCFreshness: CClaude Code +9 - 0.459score
backend
elmghari-mohammed
Use for backend development, APIs, data flow, server logic, and service integration.
SkillCFreshness: CClaude Code +9 - 0.459score
code-quality
elmghari-mohammed
Use for code review, refactoring, maintainability, linting, and improving code quality.
SkillCFreshness: CClaude Code +9 - 0.459score
refactoring
elmghari-mohammed
Use for safe refactors, simplifying code, reducing duplication, and improving maintainability.
SkillCFreshness: CClaude Code +9 - 0.459score
review
elmghari-mohammed
Use for code review, risk spotting, regressions, and feedback on patches or diffs.
SkillCFreshness: CClaude Code +9 - 0.459score
superpower
elmghari-mohammed
Use for superpower workflows, fast context gathering, and jumping into a task with strong execution discipline.
SkillCFreshness: CClaude Code +9 - 0.459score
debugging
elmghari-mohammed
Use for diagnosing bugs, tracing failures, reproducing issues, and isolating root causes.
SkillCFreshness: CClaude Code +9 - 0.459score
designer
elmghari-mohammed
Use for UI/UX design, visual polish, layout decisions, and front-end aesthetics.
SkillCFreshness: CClaude Code +9 - 0.459score
frontend
elmghari-mohammed
Use for frontend development, React UI work, components, state, forms, and browser behavior.
SkillCFreshness: CClaude Code +9 - 0.459score
performance
elmghari-mohammed
Use for performance analysis, optimization, profiling, and reducing wasted work.
SkillCFreshness: CClaude Code +9 - 0.459score
architecture
elmghari-mohammed
Use for system design, module boundaries, layering, and high-level technical decisions.
SkillCFreshness: CClaude Code +9 - 0.257score
testing
elmghari-mohammed
Use for test strategy, writing tests, debugging failing tests, and improving coverage.
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Jul 6, 2026 (3 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from elmghari-mohammed
- 0.469score
concept-guide
elmghari-mohammed
Use this skill whenever a user asks you to explain a technical concept, topic, or technology — especially anything coding or programming related.
SkillCFreshness: CClaude Code +9 - 0.459score
backend
elmghari-mohammed
Use for backend development, APIs, data flow, server logic, and service integration.
SkillCFreshness: CClaude Code +9 - 0.459score
code-quality
elmghari-mohammed
Use for code review, refactoring, maintainability, linting, and improving code quality.
SkillCFreshness: CClaude Code +9 - 0.459score
refactoring
elmghari-mohammed
Use for safe refactors, simplifying code, reducing duplication, and improving maintainability.
SkillCFreshness: CClaude Code +9 - 0.459score
review
elmghari-mohammed
Use for code review, risk spotting, regressions, and feedback on patches or diffs.
SkillCFreshness: CClaude Code +9 - 0.459score
superpower
elmghari-mohammed
Use for superpower workflows, fast context gathering, and jumping into a task with strong execution discipline.
SkillCFreshness: CClaude Code +9
Cite this page
smart-ocr skill. Agent Mart. https://agentmart.dev/skills/elmghari-mohammed-smart-ocr (last updated 2026-10-24)