搜索

PythonReactSEOPDF
OpenClaw

wisediag-medocr

Convert PDF files to Markdown using WiseDiag MedOcr API. Supports table recognition, multi-column layouts, and medical document OCR. Usage: Upload a PDF file and say Use MedOcr to process this.

fmdmm0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install fmdmm/wisediag-medocr

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

WiseDiag MedOcr Skill

Convert PDF files into Markdown format. The script handles API authentication, file upload, OCR processing, and saves the result automatically.

⚠️ IMPORTANT: How to Use This Skill

You MUST use the provided script to process files. Do NOT call any API or HTTP endpoint directly.

The script scripts/medocr.py handles everything:

  • API authentication (reads WISEDIAG_API_KEY from environment)
  • PDF upload and OCR processing
  • Saves the Markdown result to WiseDiag-MedOcr-1.0.0/{filename}.md

🔑 API Key Setup (Required)

Get your API key: 👉 https://chat.wisediag.com/apiKeyManage

export WISEDIAG_API_KEY=your_api_key

Installation

pip install -r requirements.txt

Usage

To process a PDF file, run:

cd scripts
python medocr.py -i /path/to/input.pdf

The script will automatically save the result to WiseDiag-MedOcr-1.0.0/{filename}.md.

Example:

python medocr.py -i /path/to/体检报告.pdf
# Output saved to: WiseDiag-MedOcr-1.0.0/体检报告.md

With custom output directory:

python medocr.py -i /path/to/input.pdf -o /custom/output/dir

Arguments

Flag Description
-i, --input Input PDF file path (required)
-o, --output Output directory (default: ./WiseDiag-MedOcr-1.0.0)
--dpi PDF rendering DPI, 72-600 (default: 200)

Output

After the script runs, the Markdown file is saved automatically:

  • Default: WiseDiag-MedOcr-1.0.0/{filename}.md
  • The file is named after the input PDF (e.g. 报告.pdf → 报告.md)
  • No additional saving is needed — the file is already on disk

License

MIT

来源信息

Source
github
Repository
openclaw/skills
Path
skills/fmdmm/wisediag-medocr
Version
—
Commit
77dca75499057b4cca1e65d5f97ae87a39d8fa66
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

WiseDiag MedOcr (OpenClaw Skill)

A medical-grade OCR tool that converts PDF files into Markdown format.

License Python

Features

  • PDF to Markdown conversion with high accuracy
  • Table recognition and structured formatting
  • Multi-column layout support
  • Medical document optimized OCR processing
  • Automatic file saving with input filename

⚠️ IMPORTANT: How to Use This Skill

You MUST use the provided script to process files. Do NOT call any API or HTTP endpoint directly.

The script scripts/medocr.py handles everything automatically:

  • API authentication (reads WISEDIAG_API_KEY from environment)
  • PDF upload and OCR processing
  • Saves the Markdown result to WiseDiag-MedOcr-1.0.0/{filename}.md
  • No additional saving is needed after the script runs

Installation (for OpenClaw)

OpenClaw will automatically read this README and install dependencies.

Manual Installation:

pip install -r requirements.txt

🔑 API Key Setup (Required)

Get your API key: 👉 https://chat.wisediag.com/apiKeyManage

Set the environment variable:

# Temporary (current terminal session)
export WISEDIAG_API_KEY=your_api_key_here

# Permanent (add to ~/.zshrc or ~/.bashrc)
echo 'export WISEDIAG_API_KEY=your_api_key_here' >> ~/.zshrc
source ~/.zshrc

Usage

To process a PDF file, run:

cd scripts
python medocr.py -i /path/to/input.pdf

The script will automatically save the result...

来源内容

SKILL.md
# WiseDiag MedOcr Skill

Convert PDF files into Markdown format. The script handles API authentication, file upload, OCR processing, and saves the result automatically.

## ⚠️ IMPORTANT: How to Use This Skill

**You MUST use the provided script to process files. Do NOT call any API or HTTP endpoint directly.**

The script `scripts/medocr.py` handles everything:
- API authentication (reads `WISEDIAG_API_KEY` from environment)
- PDF upload and OCR processing
- Saves the Markdown result to `WiseDiag-MedOcr-1.0.0/{filename}.md`

## 🔑 API Key Setup (Required)

**Get your API key:**
👉 https://chat.wisediag.com/apiKeyManage

```bash
export WISEDIAG_API_KEY=your_api_key
```

## Installation

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

## Usage

**To process a PDF file, run:**

```bash
cd scripts
python medocr.py -i /path/to/input.pdf
```

The script will automatically save the result to `WiseDiag-MedOcr-1.0.0/{filename}.md`.

**Example:**

```bash
python medocr.py -i /path/to/体检报告.pdf
# Output saved to: WiseDiag-MedOcr-1.0.0/体检报告.md
```

**With custom output directory:**

```bash
python medocr.py -i /path/to/input.pdf -o /custom/output/dir
```

## Arguments

| Flag | Description |
|------|-------------|
| `-i, --input` | Input PDF file path (required) |
| `-o, --output` | Output directory (default: ./WiseDiag-MedOcr-1.0.0) |
| `--dpi` | PDF rendering DPI, 72-600 (default: 200) |

## Output

After the script runs, the Markdown file is saved automatically:

- Default: `WiseDiag-MedOcr-1.0.0/{filename}.md`
- The file is named after the input PDF (e.g. `报告.pdf` → `报告.md`)
- No additional saving is needed — the file is already on disk

## License

MIT
README
---
name: wisediag-medocr
description: "Convert PDF files to Markdown using WiseDiag MedOcr API. Supports table recognition, multi-column layouts, and medical document OCR. Usage: Upload a PDF file and say Use MedOcr to process this."
registry:
  homepage: https://github.com/wisediag/medocr-skill
  author: WiseDiag
  credentials:
    required: true
    env_vars:
      - WISEDIAG_API_KEY
---

# WiseDiag MedOcr (OpenClaw Skill)

A medical-grade OCR tool that converts PDF files into Markdown format.

![License](https://img.shields.io/badge/License-MIT-blue.svg)
![Python](https://img.shields.io/badge/Python-3.8+-green.svg)

## Features

- PDF to Markdown conversion with high accuracy
- Table recognition and structured formatting
- Multi-column layout support
- Medical document optimized OCR processing
- Automatic file saving with input filename

## ⚠️ IMPORTANT: How to Use This Skill

**You MUST use the provided script to process files. Do NOT call any API or HTTP endpoint directly.**

The script `scripts/medocr.py` handles everything automatically:
- API authentication (reads `WISEDIAG_API_KEY` from environment)
- PDF upload and OCR processing
- Saves the Markdown result to `WiseDiag-MedOcr-1.0.0/{filename}.md`
- No additional saving is needed after the script runs

## Installation (for OpenClaw)

OpenClaw will automatically read this README and install dependencies.

**Manual Installation:**

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

## 🔑 API Key Setup (Required)

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

**Set the environment variable:**

```bash
# Temporary (current terminal session)
export WISEDIAG_API_KEY=your_api_key_here

# Permanent (add to ~/.zshrc or ~/.bashrc)
echo 'export WISEDIAG_API_KEY=your_api_key_here' >> ~/.zshrc
source ~/.zshrc
```

## Usage

**To process a PDF file, run:**

```bash
cd scripts
python medocr.py -i /path/to/input.pdf
```

The script will automatically save the result...

相关技能

OpenClaw

bambu-studio-ai

heyixuan2

Bambu Lab 3D printer control and automation. Activate when user mentions: printer status, 3D printing, slice, analyze model, generate 3D, AMS filament, print monitor, Bambu Lab, or any 3D printing task. Full pi...

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

geo-optimization

capt-marbles

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discove...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance