image-ocr

TotalClaw 作者 totalclaw

使用 Tesseract OCR 从图像中提取文本

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~xejrax-image-ocr
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~xejrax-image-ocr/file -o xejrax-image-ocr.md
# Image OCR

Extract text from images using Tesseract OCR. Supports multiple languages and image formats including PNG, JPEG, TIFF, and BMP.

## Commands

```bash
# Extract text from an image (default: English)
image-ocr "screenshot.png"

# Extract text with a specific language
image-ocr "document.jpg" --lang eng
```

## Install

```bash
sudo dnf install tesseract
```

---

## 中文说明

# Image OCR

使用 Tesseract OCR 从图像中提取文本。支持多种语言以及包括 PNG、JPEG、TIFF 和 BMP 在内的多种图像格式。

## 命令

```bash
# Extract text from an image (default: English)
image-ocr "screenshot.png"

# Extract text with a specific language
image-ocr "document.jpg" --lang eng
```

## 安装

```bash
sudo dnf install tesseract
```