OCR Space: Free OCR API

调用 OCR.space 免费 API 识别图片中的文字

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "OCR Space: Free OCR API" with this command: npx skills add juguangyuan520-dotcom/ocr-space

OCR.space 文字识别 Skill

使用免费 OCR API 识别图片中的文字,支持多语言。

🚀 功能

  • ✅ 图片文字识别 (OCR)
  • ✅ 多语言支持
  • ✅ 免费无需注册
  • ✅ 支持中文、英文、日文、韩文等 20+ 语言

📡 OCR.space 免费版限制

限制项额度
每日请求数500 次/天
单文件大小5 MB(自动压缩)
API Key不需要(测试用 helloworld

⚠️ 注意:免费版适合测试和小规模使用,生产环境建议购买付费版


🌍 支持的语言

语言代码语言名称
chs中文简体
cht中文繁体
eng英语
jpn日语
kor韩语
fre法语
ger德语
spa西班牙语
por葡萄牙语
rus俄语
ara阿拉伯语
tha泰语
hin印地语
vie越南语
ita意大利语
dut荷兰语
pol波兰语
tur土耳其语

💡 Engine 2 和 Engine 3 支持语言自动检测


📁 文件结构

ocr-space/
├── SKILL.md          # 本文件
├── ocr_space.py      # 主脚本
└── README.md         # 使用说明

🔧 使用方法

命令行

# 识别中文(默认)
python3 ocr_space.py /path/to/image.jpg

# 识别英文
python3 ocr_space.py /path/to/image.jpg eng

# 识别日文
python3 ocr_space.py /path/to/image.png jpn

Python 代码调用

import sys
sys.path.insert(0, '/Users/shusiwei/.openclaw/workspace/skills/ocr-space')
from ocr_space import ocr_image

# 识别图片
result = ocr_image('/path/to/image.jpg', language='chs')
if result:
    print(result)

📝 OpenClaw 中使用

在 OpenClaw 中可以通过 exec 调用:

python3 ~/.openclaw/workspace/skills/ocr-space/ocr_space.py <图片路径> [语言]

示例:

# 识别桌面图片
python3 ~/.openclaw/workspace/skills/ocr-space/ocr_space.py ~/Desktop/screenshot.png

🔍 完整 API 文档

更多参数和使用方法请参考:OCR.space OCR API


📜 更新日志

  • 2026-03-10: 初始版本,支持基本 OCR 功能

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Voice

Convert text to speech using Microsoft Edge's TTS engine with customizable voices, direct playback, and automatic temporary file cleanup.

Registry SourceRecently Updated
01.8K
Profile unavailable
General

Microsoft 365 MCP Server

Integrate Microsoft 365 to manage Outlook email, calendar events, OneDrive files, Tasks, Teams chats, and user profiles via Microsoft Graph and MCP protocol.

Registry SourceRecently Updated
42.5K
Profile unavailable
General

Data Visualizer

SVG chart generator for data visualization. Create bar charts, line charts, pie charts, scatter plots, heatmaps, dashboards, comparison charts, and trend ana...

Registry SourceRecently Updated
0331
Profile unavailable