wisediag

WiseOCR

辦公效率v1.0.28
作者:wisediag更新於 2026-05-11共 28 個版本 · 最新版本釋出於 2026-04-01wiseocr@clawhub_wisediag/wiseocr
檔案處理PDF 處理#OCR#Privacy#PDF

據 AlphaMoat 統計,截至 2026-09,WiseOCR 累計下載 2,221 次、獲 5 個星標,在全部 5,078 個 AI 技能中排名第 4,280 位,在「辦公效率」分類(435 個)中排名第 330 位。

累計安裝
135
累計下載
2221
星標
5
全站排名
#4,280
全站前 85% · 「辦公效率」前 76%
平台累計安裝累計下載星標評論
ClawHub ↗5922215-
SkillHub ↗13522175—

各平台的計數口徑不同,統計時間不一致。

這個技能是做什麼的

該技能需要WISEDIAG_API_KEY,並將檔案上傳至WiseDiag伺服器處理。文件禁止上傳含身份、財務、生物特徵、憑據、個人聯絡方式或未成年人資訊的檔案;這類材料應使用本地離線OCR。只處理獲准上傳的檔案,並妥善保管API金鑰,避免明文持久儲存。

資料釋出於 2026-10-29

可以用來做什麼

  • 將獲准雲端處理的PDF或圖像轉為Markdown

什麼時候用

  • 需要識別單個檔案中的文字、表格或多欄內容且可上傳時

示例提示詞

以下是根據技能文件生成的示例,不代表實際執行結果。

判斷檔案是否適合雲端OCR;若含敏感個人資訊則建議使用本地工具

月度資料趨勢

累計下載2221
753154223302026-03 · 累計下載 8622026-05 · 累計下載 13752026-06 · 累計下載 15642026-07 · 累計下載 18632026-08 · 累計下載 20962026-09 · 累計下載 222126-0326-09
星標5
4562026-03 · 星標 52026-05 · 星標 52026-06 · 星標 52026-07 · 星標 52026-08 · 星標 52026-09 · 星標 526-0326-09

2026-09 起統計方法調整:同名技能按作者分別統計,並覆蓋全部技能。圖中虛線為調整前的月份,與之後的資料不直接比較,也不計算跨越調整的增長。

月份累計下載環比星標
2026-092221—5
2026-082096+12.5%5
2026-071863+19.1%5
2026-061564+13.7%5
2026-051375—5
2026-03862—5

SKILL.md 原文

以下是作者釋出的原始檔案,按純文字顯示,本站未做修改或稽核;其中的連結不可點選,命令請核實後再執行。抓取於 2026-10-23。

4.2 KB · ClawHub v1.0.28
---
name: wiseocr
description: "PDF & Image OCR — Convert a single PDF or image to Markdown via WiseDiag cloud API, with high-accuracy text extraction, table recognition, and multi-column layout support. Usage: Upload a file and say Use WiseOCR to OCR this."
registry:
  homepage: https://github.com/wisediag/WiseOCR
  author: wisediag
env_vars:
  - WISEDIAG_API_KEY
credentials:
  required: true
展開全部(共 123 行)
---

# ⚠️ Privacy Warning

**IMPORTANT - READ BEFORE INSTALLING:**

This skill **uploads your file to WiseDiag's cloud servers** for OCR processing.

**Do NOT use with sensitive or confidential documents** unless:
- You trust WiseDiag's data handling policies
- You accept that file contents will be transmitted and processed remotely

### 🚫 Personal Sensitive Information Warning

**Do NOT upload documents containing any of the following:**

| Category | Examples |
|----------|---------|
| Identity | ID card numbers, passport numbers, driver's license numbers |
| Financial | Bank account numbers, credit card numbers, tax IDs |
| Biometric | Fingerprints, facial recognition data, voiceprints |
| Credentials | Passwords, PINs, security question answers |
| Personal contact | Home address, personal phone number, personal email |
| Minor's info | Any information belonging to children under 18 |

> **If the document contains sensitive personal information, it is recommended to use a local/offline OCR solution.**

---

# WiseOCR Skill (powered by WiseDiag)

A high-accuracy OCR tool that converts a **single PDF or image file** into Markdown format. After processing, the Markdown result is automatically saved to disk — no additional saving is needed.

Supported formats: PDF, jpg, jpeg, png, webp, gif, bmp, tiff.

## Installation

```bash
pip install -r requirements.txt
```

## 🔑 API Key Setup (Required)

**Get your API key:** 👉 [https://console.wisediag.com/apiKeyManage](https://console.wisediag.com/apiKeyManage)

The API key MUST be set as an environment variable. The script reads it automatically.

```bash
export WISEDIAG_API_KEY=your_api_key
```

## How to Process a File (Step-by-Step)

**NEVER call any API or HTTP endpoint directly. ONLY use the script below.**

Step 1: Set the API key (if not already set):

```bash
export WISEDIAG_API_KEY=your_api_key
```

Step 2: Run the script with the input file:

```bash
cd scripts

# Single PDF
python3 wiseocr.py -i "/path/to/input_filename.pdf"

# Single image
python3 wiseocr.py -i "/path/to/scan.png"
```

**IMPORTANT:** If the input file has been copied or renamed (e.g. to a temp path), always pass `-n` with the original filename (without extension) so the output file is named correctly:

```bash
python3 wiseocr.py -i "/tmp/ocr_input.pdf" -n "my_report"
# Output saved to: ~/.openclaw/workspace/WiseOCR/my_report.md
```

The Markdown result is saved to `~/.openclaw/workspace/WiseOCR/{name}.md` automatically. No additional saving is needed.

## Arguments

| Flag | Description |
|------|-------------|
| `-i, --input` | Input file: PDF or image — single file path (required) |
| `-n, --name` | Output filename stem (recommended when input file is renamed/copied) |
| `-o, --output` | Output directory (default: ~/.openclaw/workspace/WiseOCR) |
| `--dpi` | PDF rendering DPI, 72-600 (default: 200) |

## Data Privacy

**What happens to your files:**
1. Files are uploaded to WiseDiag's OCR API
2. Files are processed on WiseDiag servers
3. Processing results are returned to you
4. Files are not permanently stored on WiseDiag servers

### ⚠️ Do NOT upload documents containing personal sensitive information, including but not limited to:
- **Identity information**: ID card numbers, passport numbers, driver's license numbers
- **Financial information**: Bank account/card numbers, credit card numbers, tax IDs, financial statements
- **Biometric data**: Fingerprints, facial images, iris scans, voiceprints
- **Account credentials**: Passwords, PINs, security question answers, private keys
- **Personal contact details**: Home address, personal phone number, personal email
- **Information about minors**: Any personally identifiable information belonging to children under 18

**For documents containing the above, use offline/local OCR tools instead.**

## License

MIT

「辦公效率」分類下的熱門技能

資料月份:2026-09 · 下載/星標/安裝數聚合自公開技能註冊庫(ClawHub、SkillHub),按月更新。口徑說明見資料方法。