본문으로 건너뛰기
cccskills
무료GitHub에 공개

openakita/skills@image-understanding

Analyze an image with Dashscope (Qwen) Vision models to describe its contents, extract text with OCR (text recognition), identify objects, or answer visual questions. Results can help interpret photos, charts, and documents.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

원문원문 설명 보기

Analyze images using Dashscope (Qwen) Vision models for detailed description, OCR text extraction, object recognition, and visual Q&A. Use when the user needs to understand image content via Alibaba Cloud Dashscope API, especially for Chinese-language image analysis and documents.

실행 점수 미검증

설치 방법 보기

이럴 때 유용합니다

  • Extract text from a photo of a whiteboard or paper document
  • Identify objects or details in a product image
  • Ask a focused question about an image
  • Interpret a chart or technical drawing

포함된 파일(5)

  • SKILL.md3.8 KB
  • agents/openai.yaml393 B
  • scripts/image_understander.py4.3 KB
  • scripts/image_understanding.py10.3 KB
  • scripts/main.py10.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

图片理解技能 (Image Understanding)

使用 Dashscope(通义千问) 视觉模型分析图片,支持详细描述、OCR文字提取、物体识别和图片问答。


简介

图片理解技能是一个强大的视觉分析工具,通过调用 Dashscope(阿里云通义千问)的视觉大模型(qwen-vl-plus、qwen-vl-max),让 AI 能够理解和分析图像内容。

核心功能:

  • 🖼️ 图片内容详细描述
  • 🔤 文字提取(OCR)
  • 🎯 物体识别
  • 💬 图片问答

使用场景

📄 文档处理

  • 会议白板照片转文字
  • 纸质文档扫描识别
  • 手写笔记数字化

🛒 工作应用

  • 产品图片分析
  • 竞品图片提取信息
  • 图表数据解读

💬 图片问答

  • 针对图片提问获取答案
  • 理解复杂场景细节
  • 技术图纸逻辑分析

环境配置

1️⃣ 安装依赖

pip install requests

2️⃣ 获取 Dashscope API Key

  1. 访问 Dashscope 控制台
  2. 创建账号并开通服务
  3. 创建 API Key

3️⃣ 配置 API Key

# 方式一:环境变量(推荐)
set DASHSCOPE_API_KEY=sk-your-api-key-here

# 方式二:运行时传入(见下方)

使用方法

基本命令

python scripts/image_understanding.py -i 图片路径 [选项]

常用参数

参数说明
-i, --image必填 图片路径或URL
-m, --model模型选择:qwen-vl-plus(默认) 或 qwen-vl-max
-p, --custom-prompt自定义分析提示词
-e, --extract-text提取文字(OCR)
-o, --identify-objects识别物体
--compact输出紧凑JSON

使用示例

# 1. 基本描述(默认)
python scripts/image_understanding.py -i photo.jpg

# 2. 提取文字
python scripts/image_understanding.py -i screenshot.png -e

# 3. 识别物体
python scripts/image_understanding.py -i photo.jpg -o

# 4. 自定义问答
python scripts/image_understanding.py -i photo.jpg -p "这个产品多少钱?"

# 5. 使用更强的模型
python scripts/image_understanding.py -i photo.jpg -m qwen-vl-max

# 6. 网络图片
python scripts/image_understanding.py -i "https://example.com/image.png" -e

# 7. 设置API Key后运行
set DASHSCOPE_API_KEY=sk-xxx
python scripts/image_understanding.py -i photo.jpg

最佳实践

📸 图片质量

  • 确保图片清晰、亮度充足
  • 文字图片分辨率不低于 640x640
  • 避免模糊或过暗的图片

💡 提示词技巧

  • 使用具体、明确的指令
  • 指定关注点(如"重点关注价格标签")
  • 多语言场景可混合中英文

✅ 结果验证

  • 重要信息建议人工复核
  • 涉及专业领域需专家确认
  • 妥善保存原始图片和分析结果

API 配置

配置项值
服务商Dashscope (通义千问)
默认模型qwen-vl-plus
高级模型qwen-vl-max
API Basehttps://dashscope.aliyuncs.com/compatible-mode/v1
环境变量DASHSCOPE_API_KEY

故障排除

问题解决方案
API Key 错误检查 DASHSCOPE_API_KEY 是否正确
图片格式不支持使用 PNG/JPG/GIF/WEBP/BMP 格式
网络超时检查网络连接,尝试使用代理
识别不准确提高图片质量,添加更详细的提示词

运行 python scripts/image_understanding.py --help 查看完整帮助

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Save useful facts, user preferences, skills, rules, and lessons from errors to long-term memory. Each entry can include an importance level to indicate whether it should be retained as a lasting preference, a common pattern, or temporary information.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Remembering a user's writing or coding preferences
  • Saving a workflow that worked well
  • Recording a lesson learned from an error
openakita/openakita2천2026년 9월 24일 업데이트

Click a button, link, or other page element by providing a CSS selector or matching text. First open the target page with `browser_navigate`, then use this skill to select the element to click.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Clicking a button by its CSS selector
  • Following a link by its visible text
  • Selecting a page option by matching text
openakita/openakita2천2026년 9월 24일 업데이트

Read text from the current webpage, either across the whole page or from an element selected with a CSS selector. Use it to check page information, retrieve displayed element values, extract text, or verify what a page contains.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Reading all text on the current page
  • Extracting text from a selected page section
  • Checking displayed values or confirming page content
openakita/openakita2천2026년 9월 24일 업데이트

See every open browser tab with its zero-based index, URL, and page title. This makes it easier to find a specific page, review what is open, or identify a tab before switching to it during browser work.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Finding a page among several open tabs
  • Checking the URLs and titles of open pages
  • Identifying a tab before switching to it
openakita/openakita2천2026년 9월 24일 업데이트

Open a web page at a specified URL and prepare the browser for later interaction. Use it before clicking page elements or typing into fields; the browser starts automatically if it is not already running.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Open a search engine or another web page
  • Open a local HTML file in the browser
  • Navigate before clicking or typing
openakita/openakita2천2026년 9월 24일 업데이트

Open a URL in a new browser tab while keeping the current page available. Use it to work across multiple pages without losing your place; the browser must already be running before the new tab can be opened.

한국어 요약은 준비 중입니다. 영어 요약을 표시하고 있습니다.

  • Open a second page without leaving the current one
  • Compare information across browser tabs
  • Keep a reference page open while navigating elsewhere
openakita/openakita2천2026년 9월 24일 업데이트

openakita의 스킬 모두 보기

이 스킬의 문제 신고