From a533fca9e85c4b50fd7b422aaa8c50365b827309 Mon Sep 17 00:00:00 2001 From: zlei9 Date: Sun, 29 Mar 2026 14:37:58 +0800 Subject: [PATCH] Initial commit with translated description --- SKILL.md | 42 ++++++++++++++++++++++++++++++++++++++++++ _meta.json | 6 ++++++ 2 files changed, 48 insertions(+) create mode 100644 SKILL.md create mode 100644 _meta.json 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