Token导航 LogoToken导航TokenDH.com
MCP srv insight logo
设计创作未说明官方级别未说明来源级核验

MCP srv insight

MCP Server

基于InsightFace的人脸比对服务,用于检测两张图片中的人脸是否相同,并提供相关信息。

工具数

0

提示词数

0

GitHub Stars

2

资源数

0
人工智能Python图像处理本地部署

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

johnbikes

提供方

johnbikes

最后核验

2026/5/17 20:22

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

环境

  • uv sync

比较两个url

  • uv run same_from_urls.py

带代理的服务器

  • 确保创建一个 .env 并添加您的openaiapi密钥
  • uv run main.py

从第一次运行开始,预计会是这样的

The two URLs you provided do not contain the same face according to insightface.

Trace

期望第二次运行的输出看起来像这样

The two URLs do not contain the same face.

Here is some information about the individuals in each image:

1. The first image (https://upload.wikimedia.org/wikipedia/commons/c/c1/Lionel_Messi_20180626.jpg) is of Lionel Messi. He is an Argentine professional footballer widely regarded as one of the greatest football players of all time. Messi has won numerous awards including the Ballon d'Or multiple times. He is known for his incredible dribbling skills, vision, and goal-scoring ability.

2. The second image (https://upload.wikimedia.org/wikipedia/commons/8/8c/Cristiano_Ronaldo_2018.jpg) is of Cristiano Ronaldo. He is a Portuguese professional footballer also considered one of the greatest footballers in history. Ronaldo has won multiple Ballon d'Or awards as well. He is famous for his athleticism, goal-scoring prowess, and leadership on the field.

Both are iconic figures in the world of football and are often compared for their extraordinary talents and achievements.

Trace

根据InsightFace,使用lifepsan支持来确定之前是否见过人脸

  • 梅西对阵梅西和罗纳尔多
INFO:same_from_urls:Checking is_same for url1 = 'https://upload.wikimedia.org/wikipedia/commons/2/26/Leo_messi_barce_2005.jpg', url2 = None
INFO:__main__:Searched 1 URLs and found result = {'ids': [['id_0', 'id_1']], 'embeddings': None, 'documents': [['https://upload.wikimedia.org/wikipedia/commons/c/c1/Lionel_Messi_20180626.jpg', 'https://upload.wikimedia.org/wikipedia/commons/8/8c/Cristiano_Ronaldo_2018.jpg']], 'uris': None, 'included': ['metadatas', 'documents', 'distances'], 'data': None, 'metadatas': [[None, None]], 'distances': [[0.47270458936691284, 1.1545511484146118]]}
INFO:mcp.server.lowlevel.server:Processing request of type ListToolsRequest
The face in the URL you provided has been seen before according to insightface. A similar face was found in this URL: https://upload.wikimedia.org/wikipedia/commons/c/c1/Lionel_Messi_20180626.jpg.
  • 内马尔对阵梅西和罗纳尔多
INFO:same_from_urls:Checking is_same for url1 = 'https://live.staticflickr.com/8778/17145642931_56ea3a6113_b.jpg', url2 = None
The face in the URL you provided has not been seen before according to insightface. If you have any other URLs or questions, feel free to ask!

目录标签

目录标签

人工智能Python图像处理本地部署人脸识别

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

工具数量(toolCount,工具数)

0

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP