Overview
- Skill Key
- dzy-1026/xfyun-face-compare
- Author
- dzy-1026
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/dzy-1026/xfyun-face-compare
- Latest Commit SHA
- f9005ad622f76ccc668110e1daec8abc3bb7bc6d
Compare two face images and return similarity score using iFlytek Face Recognition API.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 face-compare 技能。 若已安装,则直接安装 face-compare 技能。
# 👤 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...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.