Skip to content
Back to skills

Image Ocr Reader

ASecurity

从图片中提取文字内容的技能,支持中文和英文识别。

  • 16 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added June 7, 2026
developmentpythonbashapi

Works with

  • api

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro scans all 3 files and shows the line behind each finding

Scanned June 7, 2026

npx -y skills add modbender/skill-library-mcp --skill image-ocr-reader --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Image Ocr Reader?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Image Ocr Reader
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-image-ocr-reader/badge)](https://www.skillsdirectory.com/skills/modbender-image-ocr-reader)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: Image OCR Reader
description: 从图片中提取文字内容的技能,支持中文和英文识别。
---

# Image OCR Reader

从图片中提取文字内容的技能,支持中文和英文识别。

## 功能

- 从图片文件中提取文字 (OCR)
- 支持中文、英文混合识别
- 使用 Tesseract OCR 引擎
- 兼容 jpg、png、jpeg 等常见图片格式

## 依赖

- Python 3
- tesseract-ocr
- pytesseract
- Pillow

## 安装

### 1. 安装系统依赖

```bash
# Ubuntu/Debian
sudo apt-get install tesseract-ocr

# macOS
brew install tesseract

# CentOS/RHEL
sudo yum install tesseract
```

### 2. 安装 Python 依赖

```bash
pip install pytesseract Pillow
```

## 使用方法

### 命令行

```bash
python3 image_ocr_reader.py --file /path/to/image.jpg
```

### Python API

```python
from image_ocr_reader import extract_text

text = extract_text("/path/to/image.jpg")
print(text)
```

## 输出示例

输入一张包含文字的图片,输出提取的文字内容。

---

## 积分

- 版本: 1.0.0
- 作者: OpenClaw
- 许可证: MIT

Files in this skill

  • SKILL.md1.1 KB
  • __init__.py214 B
  • image_ocr_reader.py4.7 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.