对图像进行分析与解读,包括描述内容、提取文字、回答问题、比较视觉信息,并从JPG、PNG、GIF等格式中抽取结构化数据。
利用多模式AI模型的内置视觉能力分析图像.是一项面向实际任务的技能,主要用于QQ快速启动. 分析图像. 描述图像中的内容:. extract Text (OCR). extract text from images。它将相关步骤、工具调用和结果整理方式集中到统一流程中,帮助使用者更快完成目标并减少重复操作。
实际使用前应先确认任务范围、数据来源、运行环境、必要权限和关键参数,再依据技能说明逐步执行;若输入条件不完整,应先补齐信息或采用保守配置,避免因错误假设导致结果偏离需求。
执行过程中需要关注工具调用是否成功、接口或依赖是否可用、输出格式是否符合预期,并对异常提示、缺失字段和边界情况进行处理;涉及批量任务时,还应保存进度,避免中断后重复操作。
利用多模态 AI 模型内置的视觉能力分析图像。
描述图像中的内容:
# 当你提供图像路径时,agent 将自动启用视觉能力
image("/path/to/image.jpg", prompt="Describe what's in this image")
从图像中提取文本:
image("/path/to/document.png", prompt="Extract all text from this image")
对比或联合分析多张图像:
images(["/path/to/image1.jpg", "/path/to/image2.jpg"],
prompt="Compare these two images and describe the differences")
针对图像内容提出具体问题:
image("menu.jpg", prompt="What are the prices of the main courses?")
image("chart.png", prompt="What trend does this graph show?")
image("screenshot.png", prompt="What error message is displayed?")
检查图像内容是否合规:
image("upload.jpg", prompt="Is this image appropriate for a professional setting?")
从视觉内容中提取结构化数据:
image("receipt.jpg", prompt="Extract the date, total amount, and items purchased")
image("business_card.png", prompt="Extract name, phone, email, and company")
image("form.jpg", prompt="Extract all filled fields as key-value pairs")
对图像进行比较分析:
images(["before.jpg", "after.jpg"],
prompt="What changes were made between these two images?")
相关专题
热门下载
相关下载
精品课程
共6课时 | 54.7万人学习
共89课时 | 134万人学习
共49课时 | 82.5万人学习
最新文章