Media & Image v1.0.1

img-ocr

Image text recognition tool based on Tesseract OCR. Activate when user mentions: image recognition, OCR, text...

ginntech 更新于 2026-04-04 1 浏览
下载 SKILL

技能说明

Image text recognition tool based on Tesseract OCR. Activate when user mentions: image recognition, OCR, text extraction, image to text, recognize text in images.

使用场景

Image text recognition tool based on Tesseract OCR.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/img-ocr
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

5 个文件 · 20 kB
SKILL.md text/markdown
---
name: img-ocr
description: Image text recognition tool based on Tesseract OCR. Activate when user mentions: image recognition, OCR, text extraction, image to text, recognize text in images.
---

# img-ocr

Image text recognition tool based on Tesseract OCR.

## Dependencies

- Python3
- pytesseract: `pip3 install pytesseract`
- Pillow: `pip3 install Pillow`
- Tesseract OCR: `sudo apt install tesseract-ocr`
- Chinese lang pack: `sudo apt install tesseract-ocr-chi-sim`

## Quick Usage

```bash
python3 skills/img-ocr/scripts/ocr.py /path/to/image.jpg
```

## Typical Scenarios

```bash
# Recognize Chinese + English
python3 skills/img-ocr/scripts/ocr.py screenshot.png

# Extract text from screenshot
python3 skills/img-ocr/scripts/ocr.py /path/to/screenshot.jpg
```

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。