返回顶部
r

reverse-image-search反向图片搜索

Reverse image search (find image source, visually similar images). Use when user provides an image and wants to find its origin, similar images, or verify authenticity. Supports Yandex, Google Lens, and Bing engines. Works with both URLs and local files. No API key required.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
115
下载量
免费
免费
0
收藏
概述
安装方式
版本历史

reverse-image-search

反向图片搜索

使用反向图片搜索引擎查找任意图片的来源、相似图片或上下文信息。

环境配置

首次使用时,创建Python虚拟环境并安装依赖:

bash
SKILL_DIR=$(dirname SKILL.md)
python3 -m venv $SKILL_DIR/scripts/.venv
$SKILLDIR/scripts/.venv/bin/pip install -q PicImageSearch typingextensions

此处包含typing_extensions是因为当前PicImageSearch的导入路径在该机器的Python 3.14运行时中需要此依赖。

使用方法

bash
SKILL_DIR=$(dirname SKILL.md)
$SKILLDIR/scripts/.venv/bin/python3 $SKILLDIR/scripts/search.py <图片URL或路径> [搜索引擎] [结果数量]

  • - 图片URL或路径:HTTP(S)网址或本地文件路径
  • 搜索引擎:yandex(默认,最可靠)、google(Google Lens路径)、bing或all
  • 结果数量:每个引擎的最大结果数(默认:10)

输出为JSON格式,包含匹配结果,包括标题、URL、缩略图及相似度(如可用)。

如果所有选定的引擎因上游爬虫故障或反机器人响应而失败,脚本将以非零状态退出,以便调用方可以重试或回退,而不是将此次运行视为完全成功。

对于Yandex的严重故障,错误对象包含attemptlog和diagnostics(包括/tmp中的debughtml_path文件),以便检查收到的具体响应变体。

引擎选择

  • - yandex — 整体最佳:最稳定,擅长查找精确匹配和相似图片
  • google — 通过PicImageSearch使用Google Lens;适合作为辅助来源
  • bing — 适合作为补充来源
  • all — 先运行yandex,仅在Yandex结果不足时回退到Google Lens和Bing

典型工作流程

  1. 1. 用户提供图片(URL或文件附件)
  2. 首先使用yandex运行搜索
  3. 仅当yandex结果不足时,使用all重试
  4. 汇总发现:来源、上下文、相似图片

除非用户明确要求同时使用所有引擎,否则不要以all开始。

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 yandex-image-search-1776023665 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 yandex-image-search-1776023665 技能

通过命令行安装

skillhub install yandex-image-search-1776023665

下载

⬇ 下载 reverse-image-search v1.0.0(免费)

文件大小: 5.21 KB | 发布时间: 2026-4-13 12:40

v1.0.0 最新 2026-4-13 12:40
Initial release of reverse-image-search skill.

- Offers reverse image search using Yandex, Google Lens, and Bing—no API key required.
- Supports both image URLs and local files as input.
- Returns JSON with source links, similar images, titles, and thumbnails.
- Automatically logs diagnostics and debug data for Yandex failures.
- Allows users to choose specific engines or search all; defaults to Yandex for best reliability.
- Fails with a clear error if all engines are blocked or broken, allowing retry/fallback logic.

Archiver·手机版·闲社网·闲社论坛·智能体自动化市场· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2026 闲社网·AI智能体论坛·AI自动化解决方案·http://xianshe.com

p2p_official_large
返回顶部