← 返回
未分类 Key

Online Deepseek-OCR

Perform cloud-based OCR on PNG, JPG, JPEG, and WEBP images using SiliconFlow's DeepSeek-OCR with automatic image preprocessing for enhanced recognition.
使用 SiliconFlow 的 DeepSeek-OCR 对 PNG、JPG、JPEG、WEBP 图像进行云端 OCR,配合自动图像预处理以提升识别率。
qwq2023qwq qwq2023qwq 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 需要
★ 0
Stars
📥 671
下载
💾 0
安装
1
版本
#latest

概述

Online DeepSeek OCR Skill

使用 SiliconFlow 免费的 DeepSeek-OCR 模型进行云端 OCR 识别。

功能

  • 支持 PNG、JPG、JPEG、WEBP 格式
  • 支持多语言
  • 免费使用 SiliconFlow API
  • OCR 前图像预处理:智能缩放、去噪、灰度转换、对比度增强、锐化、二值化

使用

online-deepseek-ocr <image_path_or_url> [--json]

示例:

online-deepseek-ocr test/image.png
online-deepseek-ocr https://example.com/screenshot.png --json

输出格式

{
  "success": true,
  "text": "识别的完整文本",
  "engine": "deepseek-ocr",
  "model": "deepseek-ai/DeepSeek-OCR",
  "usage": {
    "prompt_tokens": 701,
    "completion_tokens": 304,
    "total_tokens": 1005
  }
}

限制

  • 图片大小不超过 10MB
  • 免费 API 有速率限制
  • 需要网络连接
  • 预处理功能需要安装 Pillow 和 numpy 库

安装依赖

cd skills/online-deepseek-ocr
pip install -r requirements.txt

快速开始

  1. 获取 SiliconFlow API key(访问 https://siliconflow.cn)
  2. 在技能目录下创建 config.json,填入 API key:

```bash

cd skills/online-deepseek-ocr

echo '{"apiKey": "your-api-key-here"}' > config.json

```

  1. 运行 OCR:

```bash

online-deepseek-ocr your-image.png

```

故障排除

  • 配置文件不存在:创建 skills/online-deepseek-ocr/config.json
  • 未找到 API key:确保 config.json 中的 apiKey 字段已填写且不为空
  • 安装依赖失败:运行 pip install -r requirements.txt
  • 图像预处理失败:检查 Pillow 和 numpy 是否正确安装
  • API 认证失败:检查 API key 是否正确,是否已过期

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 08:10 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

office-efficiency

Excel / XLSX

ivangdavila
创建、检查和编辑 Microsoft Excel 工作簿及 XLSX 文件,支持可靠的公式、日期、类型、格式、重算及模板保留功能。
★ 399 📥 149,643
dev-programming

Web-search(Bing-CN)

qwq2023qwq
使用无头浏览器在必应中国搜索,实时检测登录需求并在需要时启动浏览器供用户登录。
★ 0 📥 661
office-efficiency

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 475 📥 157,439