commit a533fca9e85c4b50fd7b422aaa8c50365b827309 Author: zlei9 Date: Sun Mar 29 14:37:58 2026 +0800 Initial commit with translated description diff --git a/SKILL.md b/SKILL.md new file mode 100644 index 0000000..db490c8 --- /dev/null +++ b/SKILL.md @@ -0,0 +1,42 @@ +--- +name: image-ocr +description: "使用Tesseract OCR从图像中提取文本。" +metadata: + { + "openclaw": + { + "emoji": "👁️", + "requires": { "bins": ["tesseract"] }, + "install": + [ + { + "id": "dnf", + "kind": "dnf", + "package": "tesseract", + "bins": ["tesseract"], + "label": "Install via dnf", + }, + ], + }, + } +--- + +# 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 +``` diff --git a/_meta.json b/_meta.json new file mode 100644 index 0000000..9f30fc9 --- /dev/null +++ b/_meta.json @@ -0,0 +1,6 @@ +{ + "ownerId": "kn7d9tgyz5fxw3t93bz27t97zn7zxtqc", + "slug": "image-ocr", + "version": "1.0.0", + "publishedAt": 1770135677206 +} \ No newline at end of file