搜索

PythonReactSEOPDF
OpenClaw

face-compare

Compare two face images and return similarity score using iFlytek Face Recognition API.

dzy-10260 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install dzy-1026/xfyun-face-compare

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

👤 Face Compare

Compare two face images and calculate their similarity score using iFlytek's advanced face recognition technology.

Designed for identity verification, face matching, and security authentication scenarios.


✨ Features

  • High-accuracy face comparison
  • Base64 image encoding support
  • Multiple image format support (jpg, png, bmp)
  • Detailed similarity scoring
  • One-command execution

🚀 Usage

python {baseDir}/scripts/index.py "<image1_path>" "<image2_path>"

Example:

python {baseDir}/scripts/index.py "/path/to/face1.jpg" "/path/to/face2.jpg"

📋 Input Specification

Image Requirements
  • Supported formats: JPG, PNG, BMP
  • File size: < 4MB recommended
  • Image should contain clear, frontal face
  • One face per image for best results

⚠ Constraints

  • Both image paths must be valid and accessible
  • Images must contain detectable faces
  • API credentials must be configured
  • Network connection required

🔧 Environment Setup

Required:

  • Python available in PATH
  • Environment variables configured:
export XF_FACE_APP_ID=your_app_id
export XF_FACE_API_KEY=your_api_key
export XF_FACE_API_SECRET=your_api_secret

Or configure it in ~/.openclaw/openclaw.json:

{
	"env": {
		"XF_FACE_APP_ID": "your_app_id",
		"XF_FACE_API_KEY": "your_api_key",
		"XF_FACE_API_SECRET": "your_api_secret"
	}
}

📦 Output

Returns JSON response with:

  • Similarity score (0-100)
  • Comparison result (same person or not)
  • Confidence level
  • Face detection status

🎯 Target Use Cases

  • Identity verification
  • Access control systems
  • Duplicate account detection
  • Photo matching services
  • Security authentication
  • Attendance systems

🛠 Extensibility

Future enhancements may include:

  • Batch face comparison
  • Face quality assessment
  • Multiple face detection
  • Liveness de...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/dzy-1026/xfyun-face-compare
Version
—
Commit
f9005ad622f76ccc668110e1daec8abc3bb7bc6d
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 👤 Face Compare

Compare two face images and calculate their similarity score using iFlytek's advanced face recognition technology.

Designed for identity verification, face matching, and security authentication scenarios.

---

## ✨ Features

- High-accuracy face comparison
- Base64 image encoding support
- Multiple image format support (jpg, png, bmp)
- Detailed similarity scoring
- One-command execution

---

## 🚀 Usage

```bash
python {baseDir}/scripts/index.py "<image1_path>" "<image2_path>"
```

Example:

```
python {baseDir}/scripts/index.py "/path/to/face1.jpg" "/path/to/face2.jpg"
```

## 📋 Input Specification

### Image Requirements

- Supported formats: JPG, PNG, BMP
- File size: < 4MB recommended
- Image should contain clear, frontal face
- One face per image for best results

---

## ⚠ Constraints

- Both image paths must be valid and accessible
- Images must contain detectable faces
- API credentials must be configured
- Network connection required

---

## 🔧 Environment Setup

Required:

- Python available in PATH
- Environment variables configured:

```bash
export XF_FACE_APP_ID=your_app_id
export XF_FACE_API_KEY=your_api_key
export XF_FACE_API_SECRET=your_api_secret
```

Or configure it in `~/.openclaw/openclaw.json`:

```json
{
	"env": {
		"XF_FACE_APP_ID": "your_app_id",
		"XF_FACE_API_KEY": "your_api_key",
		"XF_FACE_API_SECRET": "your_api_secret"
	}
}
```

---

## 📦 Output

Returns JSON response with:
- Similarity score (0-100)
- Comparison result (same person or not)
- Confidence level
- Face detection status

---

## 🎯 Target Use Cases

- Identity verification
- Access control systems
- Duplicate account detection
- Photo matching services
- Security authentication
- Attendance systems

---

## 🛠 Extensibility

Future enhancements may include:

- Batch face comparison
- Face quality assessment
- Multiple face detection
- Liveness de...

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.