| Package | Description | 
|---|---|
| com.tencentcloudapi.iai.v20200303 | |
| com.tencentcloudapi.iai.v20200303.models | 
| Modifier and Type | Method and Description | 
|---|---|
| DetectFaceSimilarityResponse | IaiClient. DetectFaceSimilarity(DetectFaceSimilarityRequest req)对两张图片中的人脸进行相似度比对,返回人脸相似度分数。
若您需要判断 “此人是否是某人”,即验证某张图片中的人是否是已知身份的某人,如常见的人脸登录场景,建议使用[人脸验证](https://www.tencentcloud.com/document/product/1059/36972)或[人员验证](https://www.tencentcloud.com/document/product/1059/36971)接口。
>     
- 公共参数中的签名方式请使用V3版本,即配置SignatureMethod参数为TC3-HMAC-SHA256。 | 
| Constructor and Description | 
|---|
| DetectFaceSimilarityRequest(DetectFaceSimilarityRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
Copyright © 2025. All rights reserved.