Token导航 LogoToken导航TokenDH.com
研究检索需要联网clawhub未标认证来源可访问clear审计提醒

super-ocr超级 OCR

Agent Skill

super-ocr 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

11,530

周安装

471

GitHub Stars

公开资料未说明

下载量

3,730
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:super-ocr(超级 OCR)
来源仓库:https://github.com/nimachu/super-ocr
安装命令:
openclaw skills install super-ocr
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install super-ocr

简介

用于高精度文本提取,支持中英文识别。

  • 自动选择 Tesseract 或 PaddleOCR 引擎。
  • 适用于文档扫描、图片转文字等场景。适用宿主包括 OpenClaw,接入前应确认版本、权限和运行环境要求。
  • 复杂排版可能影响识别准确率,建议预处理图像。
  • super-ocr 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

name
super-ocr
description
Production-grade OCR with intelligent engine selection. Tesseract (lightweight, fast) and PaddleOCR (high accuracy, Chinese-optimized). Use when extracting text from images, processing Chinese documents, needing confidence scores, or working with mixed Chinese/English content.

Super OCR

Overview

Super OCR is a production-grade optical character recognition tool that intelligently selects the best engine for your needs:

  • Tesseract Engine: Lightweight, fast (~200-500ms), perfect for simple text extraction
  • PaddleOCR Engine: High accuracy (98%+), optimized for Chinese, ideal for complex documents

Engine Selection Strategy

Auto Mode (Default)

The skill automatically selects the optimal engine:

ScenarioSelected EngineWhy
Simple text, English onlyTesseractFaster, lighter dependency
Chinese content, high accuracy neededPaddleOCRBetter Chinese support, 98%+ accuracy
Low confidence from TesseractPaddleOCR (fallback)Quality assurance

Force Mode

Users can explicitly choose an engine:

  • --engine tesseract - Use Tesseract only
  • --engine paddle - Use PaddleOCR only
  • --engine auto - Auto-select (default)

Quick Start

Installation

This skill requires the following dependencies:

  • PaddleOCR (for Chinese text recognition - 98%+ accuracy)
  • Tesseract (for fast English text recognition)
  • OpenCV (for image preprocessing)

Option 1: Install with pip (all-in-one)

pip install paddleocr paddlepaddle pytesseract pillow opencv-python numpy

Option 2: Install dependencies manually

macOS:

# Tesseract
brew install tesseract

# PaddleOCR
pip install paddleocr paddlepaddle

Ubuntu/Debian:

# Tesseract
sudo apt update && sudo apt install tesseract-ocr

# PaddleOCR
pip install paddleocr paddlepaddle

Windows:

# Download Tesseract from: https://github.com/UB-Mannheim/tesseract/wiki
pip install paddleocr paddlepaddle pytesseract pillow opencv-python numpy

Usage

# Auto mode (recommended) - runs all available engines
cd path/to/super-ocr
python scripts/main.py --image path/to/image.png

# Force Tesseract only
python scripts/main.py --image document.jpg --engine tesseract

# Force PaddleOCR (high accuracy Chinese)
python scripts/main.py --image chinese_menu.png --engine paddle

# Run all engines (macOS only: Tesseract + PaddleOCR + MacVision)
python scripts/main.py --image complex_doc.png --engine all

# Batch processing with output directory
python scripts/main.py --images ./images/*.png --output ./results --verbose

# Check dependencies and auto-install
python scripts/dependencies.py --check --install

Structuring This Skill

This skill uses a capabilities-based structure with multiple execution modes:

  1. Engine Selection Logic - Intelligent decision making
  2. OCR Execution - Unified interface for different engines
  3. Post-processing - Standardized output formatting
  4. Validation & Fallback - Quality assurance

Core Capabilities

1. Intelligent Engine Selection

The skill includes a decision tree that analyzes:

  • Image characteristics (contrast, text size)
  • Language patterns (Chinese character detection)
  • User requirements (speed vs accuracy)

See scripts/engine_selector.py for implementation details.

2. Dual Engine Support

Tesseract Engine (scripts/tesseract_ocr.py):

  • Fast preprocessing pipeline
  • PSM mode 6 for uniform text blocks
  • Confidence scoring per word
  • Language detection

PaddleOCR Engine (scripts/paddle_ocr.py):

  • State-of-art? SN (East text detection)
  • Crnn recognition with LSTM
  • Confidence scores per character
  • Table detection support

3. Output Formats

Supports multiple output formats:

FormatContentUse Case
Text onlyClean extracted textSimple search/grep
StructuredText + positionsData extraction
JSONFull metadata + confidenceAPI integration
VerboseDebug infoQuality assurance

4. Quality Guarantees

  • Confidence thresholds (configurable, default 80%)
  • Low-confidence alerts for manual review
  • \Fallback processing for failed OCRs

Resources

scripts/

  • main.py - Main entry point, CLI interface (supports multi-engine)
  • dependencies.py - Auto-install and validation
  • output_formatter.py - Multiple output format support
  • engine/ - OCR engine implementations

- selector.py - Intelligent engine selection logic - tesseract.py - Tesseract engine wrapper - paddle.py - PaddleOCR engine wrapper - macvision.py - macOS Vision OCR (macOS only)

  • preprocessing/ - Image preprocessing utilities

- preprocessor.py - Denoising, enhancement, binarization

dependencies.py (Key Feature)

The dependencies.py module handles:

  • Dependency detection (paddleocr, paddlepaddle, pytesseract, cv2)
  • Auto-install on missing dependencies
  • version checking
  • OS-specific installation commands
  • Clear error messages with troubleshooting steps

Use this when setting up a new environment with python scripts/dependencies.py --check --install

Advanced Features

Custom Configuration

Create config.yaml for persistent settings:

default_engine: auto
confidence_threshold: 0.8
output_format: json
preprocess:
  denoise: true
  enhance_contrast: true

Batch Processing

Process multiple images:

python scripts/ocr.py --images ./images/*.png --output ./results

API Mode

Use as a Python library:

from super_ocr import OCRProcessor

processor = OCRProcessor(engine='auto')
result = processor.extract('image.png')
print(result.text)
print(result.confidence)

Anti-Patterns

  • ❌ Using PaddleOCR for every image (overhead for simple cases)
  • ❌ ignoring confidence scores (quality matters)
  • ❌ Biases (always prefering one engine)
  • ❌ Skipping preprocessing (quality impact)

Performance Notes

EngineInit TimePer-ImageMemoryBest For
Tesseract~200ms~50ms~100MBQuick extraction
PaddleOCR~3s~500ms~500MBHigh accuracy

Initialize once, reuse processor for batch processing.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

94.72%
按下载量换算3,533

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

未展示

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills