跳到正文
cccskills
免费在 GitHub 公开

openakita/skills@image-understander

Use this skill to understand image contents with GPT-4 Vision. It can describe a picture, extract text from screenshots, identify visible objects, and answer questions about an image, returning the result in a structured format.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Analyze images using GPT-4 Vision for detailed description, OCR text extraction, object recognition, and visual Q&A. Use when the user needs to understand image content, extract text from screenshots, identify objects in photos, or ask questions about images via OpenAI GPT-4 Vision API.

集成工具OpenAI

实测评分 未实测

查看安装方法

适用场景

  • Describe what is shown in a photo
  • Extract text from a screenshot
  • Identify objects in an image
  • Ask a question about an image

包含的文件(4)

  • SKILL.md2.0 KB
  • agents/openai.yaml353 B
  • scripts/image_understander.py7.8 KB
  • scripts/main.py3.0 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

图片理解技能 (Image Understander)

📋 概述

一个基于 OpenAI GPT-4 Vision 的图片理解工具,支持图片描述、文字识别(OCR)、物体识别和图片问答。

🚀 功能

功能命令说明
图片描述-m describe详细描述图片内容
文字提取-m ocr提取图片中的所有文字
物体识别-m objects识别并列出图片中的物体
图片问答-m qa针对图片回答问题

📦 安装

# 安装依赖
pip install openai pillow requests

🔧 配置

方式一:环境变量

set OPENAI_API_KEY=sk-your-api-key-here

方式二:命令行传入

python scripts/main.py -i photo.jpg -a sk-your-key

📖 使用方法

基本使用

# 描述图片
python scripts/main.py -i photo.jpg -m describe

# 提取文字(OCR)
python scripts/main.py -i screenshot.png -m ocr

# 识别物体
python scripts/main.py -i photo.jpg -m objects

# 图片问答
python scripts/main.py -i photo.jpg -m qa -q "这个图片里有什么?"

完整参数

python scripts/main.py \
  --image PATH_TO_IMAGE \
  --mode describe|ocr|objects|qa \
  --api-key YOUR_API_KEY \
  --prompt "你的问题" \
  --output OUTPUT.json \
  --verbose

📁 输出示例

{
  "mode": "describe",
  "image": "photo.jpg",
  "result": "A beautiful sunset over the ocean with orange and purple sky...",
  "objects": [],
  "text": ""
}

⚠️ 注意事项

  • 需要 OpenAI API Key(支持 GPT-4 Vision)
  • 支持的图片格式:PNG、JPG、GIF、BMP
  • 图片大小建议小于 20MB

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 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/openakita20052026年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/openakita20052026年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/openakita20052026年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/openakita20052026年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/openakita20052026年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/openakita20052026年9月24日 更新

查看 openakita 的全部技能

报告此技能的问题