public class VerifyFaceResponse extends AbstractModel
Constructor and Description |
---|
VerifyFaceResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getFaceModelVersion()
Get Algorithm model version used for face recognition in the group where the `Person` is, which is set when the group is created.
|
Boolean |
getIsMatch()
Get Whether the person in the image matches the `PersonId`.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Float |
getScore()
Get Similarity between given face image and `PersonId`.
|
void |
setFaceModelVersion(String FaceModelVersion)
Set Algorithm model version used for face recognition in the group where the `Person` is, which is set when the group is created.
|
void |
setIsMatch(Boolean IsMatch)
Set Whether the person in the image matches the `PersonId`.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setScore(Float Score)
Set Similarity between given face image and `PersonId`.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Float getScore()
public void setScore(Float Score)
Score
- Similarity between given face image and `PersonId`. If there are multiple faces under the `PersonId`, the score of the highest similarity will be returned.
The returned similarity score varies by algorithm version.
If you need to verify whether the faces in the two images are the same person, then the 0.1%, 0.01%, and 0.001% FARs on v3.0 correspond to scores of 40, 50, and 60, respectively. Generally, if the score is above 50, it can be judged that they are the same person.
The 0.1%, 0.01%, and 0.001% FARs on v2.0 correspond to scores of 70, 80, and 90, respectively. Generally, if the score is above 80, it can be judged that they are the same person.public Boolean getIsMatch()
public void setIsMatch(Boolean IsMatch)
IsMatch
- Whether the person in the image matches the `PersonId`.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion
- Algorithm model version used for face recognition in the group where the `Person` is, which is set when the group is created. For more information, please see [Algorithm Model Version](https://intl.cloud.tencent.com/document/product/867/40042?from_cn_redirect=1)public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- The unique request ID, which is returned for each request. RequestId is required for locating a problem.Copyright © 2020. All rights reserved.