public class Result extends AbstractModel
Constructor and Description |
---|
Result() |
Modifier and Type | Method and Description |
---|---|
Candidate[] |
getCandidates()
Get Most matching candidate recognized
|
FaceRect |
getFaceRect()
Get Position of detected face frame
|
Long |
getRetCode()
Get Status return code of detected face image.
|
void |
setCandidates(Candidate[] Candidates)
Set Most matching candidate recognized
|
void |
setFaceRect(FaceRect FaceRect)
Set Position of detected face frame
|
void |
setRetCode(Long RetCode)
Set Status return code of detected face image.
|
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 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
- Status return code of detected face image. 0: normal.
-1601: the image quality control requirement is not met; in this case, `Candidate` is empty.Copyright © 2020. All rights reserved.