public class CompareFaceResponse extends AbstractModel
Constructor and Description |
---|
CompareFaceResponse() |
Modifier and Type | Method and Description |
---|---|
String |
getFaceModelVersion()
Get Algorithm model version used for face recognition.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Float |
getScore()
Get Face similarity score between two images.
|
void |
setFaceModelVersion(String FaceModelVersion)
Set Algorithm model version used for face recognition.
|
void |
setRequestId(String RequestId)
Set The unique request ID, which is returned for each request.
|
void |
setScore(Float Score)
Set Face similarity score between two images.
|
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
- Face similarity score between two images.
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.
If you need to verify whether the faces in the two images are the same person, you are recommended to use the `VerifyFace` API.public String getFaceModelVersion()
public void setFaceModelVersion(String FaceModelVersion)
FaceModelVersion
- Algorithm model version used for face recognition.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.