public class VerifyPersonResponse extends AbstractModel
Constructor and Description |
---|
VerifyPersonResponse() |
VerifyPersonResponse(VerifyPersonResponse 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.
|
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 VerifyPersonResponse()
public VerifyPersonResponse(VerifyPersonResponse source)
public Float getScore()
public void setScore(Float Score)
Score
- Similarity between given face image and `PersonId`. If there are multiple faces under the `PersonId`, their information will be fused for verification.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.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 © 2023. All rights reserved.