image-reader

👤 simonjoe246 📦 v1.0.0 ⭐ 4.3 ⬇️ 4.9K 下载
🎨 设计多媒体 免费 🔑 需 API Key

📖 技能介绍


name: image-reader description: > Image recognition and understanding tool. Uses a multimodal model (e.g. doubao-seed-2.0-pro, kimi-k2.5) to analyze image content and supports OCR text extraction and image description. Use this skill when a user sends a screenshot or image and needs the text extracted or the image content understood. compatibility: requires: - Python 3 - openai>=1.0.0 - pyyaml>=6.0


Image Reader Skill

Image recognition and understanding tool that leverages Doubao multimodal models to analyze image content.


Features

  • Text Extraction (OCR): Extract text from images, suitable for documents, screenshots, posters, menus, etc.
  • Image Description: Generate detailed descriptions of images, suitable for photos, illustrations, memes, UI screens, etc.
  • General Analysis: Automatically choose the best analysis strategy based on the image type.

API Configuration

Item Value
API Endpoint https://ark.cn-beijing.volces.com/api/coding/v3
Model doubao-seed-2.0-pro
Authentication API Key (configured in config.yaml)

Usage

Command Line

# General analysis
python image_reader.py /path/to/image.png

# Extract text (OCR)
python image_reader.py /path/to/image.png -p "Extract all text from the image"

# Describe the image
python image_reader.py /path/to/image.png -p "Describe this image in detail"

OpenClaw Skill Invocation

Once installed, you can invoke it using natural language:

Analyze this image
Extract the text from the image
Describe this screenshot

Output

  • Text-heavy images: Returns all extracted text, preserving original formatting.
  • Non-text images: Returns a detailed scene description, including objects, people, colors, style, etc.
  • Mixed content: Provides both text extraction and a visual description.

Technical Details

  • Uses an OpenAI-compatible API to call Doubao multimodal models
  • Images are sent as base64-encoded data
  • The system prompt adapts to the image type to select the most appropriate analysis strategy

🤖 AI 评测

这个图片识别工具质量不错,能自动识别截图、照片等不同类型图片,既能提取文字也能描述内容。界面清晰易上手,配置也比较简单。但需要手动设置 API Key,新手可能不知道去哪申请。另外没有内置示例或测试,用起来心里没底。整体来说功能实用可靠,但新手友好度可以再提高一些。

📊 多维度评分

适应性4.3
规范性3.9
有效性4.4
可靠性4.2
可信度5

📁 包含文件 (6 个)

📄 README.md 1.7 KB
📄 SKILL.md 2.1 KB
📄 _meta.json 131 B
📄 config.yaml 1 KB
📄 image_reader.py 3.1 KB
📄 requirements.txt 25 B

🔥 大家都在搜

wps 写作 pdf 苹果