ocr

📁 mr-shaper/opencode-skills-paddle-ocr 📅 2 days ago
2
总安装量
2
周安装量
#75320
全站排名
安装命令
npx skills add https://github.com/mr-shaper/opencode-skills-paddle-ocr --skill ocr

Agent 安装分布

cline 2
github-copilot 2
codex 2
kimi-cli 2
gemini-cli 2
cursor 2

Skill 文档

OCR Skill

Usage

To extract text from an image or PDF, run:

python3 "/Users/mrshaper/Library/Application Support/com.differentai.openwork/workspaces/starter/.opencode/skills/paddle-ocr/scripts/ocr.py" "/path/to/image.png"

Options

Option Description
--prompt "text" Custom prompt (e.g., “Extract table as markdown”)
--fast Use faster PaddleOCR instead of DeepSeek-OCR
--json Output as JSON format

Examples

# Basic OCR
python3 scripts/ocr.py image.png

# Extract table as markdown
python3 scripts/ocr.py table.png --prompt "Extract this table as markdown"

# Fast mode
python3 scripts/ocr.py image.png --fast

# PDF OCR
python3 scripts/ocr.py document.pdf

Supported Formats

Images: PNG, JPG, JPEG, BMP, GIF, WEBP, TIFF Documents: PDF