public class Result extends AbstractModel
| Constructor and Description | 
|---|
Result()  | 
Result(Result 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 | 
|---|---|
Candidate[] | 
getCandidates()
Get Most matching candidate recognized 
 | 
FaceRect | 
getFaceRect()
Get Position of detected face frame 
 | 
Long | 
getRetCode()
Get The status return code for the face image detected. 
 | 
void | 
setCandidates(Candidate[] Candidates)
Set Most matching candidate recognized 
 | 
void | 
setFaceRect(FaceRect FaceRect)
Set Position of detected face frame 
 | 
void | 
setRetCode(Long RetCode)
Set The status return code for the face image detected. 
 | 
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, toJsonStringpublic Result()
public Result(Result source)
public Candidate[] getCandidates()
public void setCandidates(Candidate[] Candidates)
Candidates - Most matching candidate recognizedpublic FaceRect getFaceRect()
public void setFaceRect(FaceRect FaceRect)
FaceRect - Position of detected face framepublic Long getRetCode()
public void setRetCode(Long RetCode)
RetCode - The status return code for the face image detected. Valid values: `0` - normal; `-1601` - the image does not meet the quality requirements, in which case `Candidate` is empty; `-1604` - the face similarity is not higher than `FaceMatchThreshold`.Copyright © 2023. All rights reserved.