Install
openclaw skills install xfyun-face-compareCompare two face images and return similarity score using iFlytek Face Recognition API.
openclaw skills install xfyun-face-compareCompare 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.
python {baseDir}/scripts/index.py "<image1_path>" "<image2_path>"
Example:
python {baseDir}/scripts/index.py "/path/to/face1.jpg" "/path/to/face2.jpg"
Required:
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"
}
}
Returns JSON response with:
Future enhancements may include:
Built for automation workflows and AI-driven identity verification.