public class CreateFaceResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
CreateFaceResponse() |
CreateFaceResponse(CreateFaceResponse 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.
|
String |
getRequestId()
Get The unique request ID, which is returned for each request.
|
Long[] |
getRetCode()
Get Adding result for each face image.
|
String[] |
getSucFaceIds()
Get List of IDs of successfully added faces
|
Long |
getSucFaceNum()
Get Number of successfully added faces
|
FaceRect[] |
getSucFaceRects()
Get Frame positions of successfully added faces.
|
Long[] |
getSucIndexes()
Get Indexes of successfully added faces.
|
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 |
setRetCode(Long[] RetCode)
Set Adding result for each face image.
|
void |
setSucFaceIds(String[] SucFaceIds)
Set List of IDs of successfully added faces
|
void |
setSucFaceNum(Long SucFaceNum)
Set Number of successfully added faces
|
void |
setSucFaceRects(FaceRect[] SucFaceRects)
Set Frame positions of successfully added faces.
|
void |
setSucIndexes(Long[] SucIndexes)
Set Indexes of successfully added faces.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public CreateFaceResponse()
public CreateFaceResponse(CreateFaceResponse source)
public Long getSucFaceNum()
public void setSucFaceNum(Long SucFaceNum)
SucFaceNum
- Number of successfully added facespublic String[] getSucFaceIds()
public void setSucFaceIds(String[] SucFaceIds)
SucFaceIds
- List of IDs of successfully added facespublic Long[] getRetCode()
public void setRetCode(Long[] RetCode)
RetCode
- Adding result for each face image. -1101: no face detected; -1102: image decoding failed;
-1601: the image quality control requirement is not met; -1604: the face similarity is not above `FaceMatchThreshold`.
Other non-zero values: algorithm service exception.
The order of `RetCode` values is the same as the order of `Images` or `Urls` in the input parameter.public Long[] getSucIndexes()
public void setSucIndexes(Long[] SucIndexes)
SucIndexes
- Indexes of successfully added faces. The order of indexes is the same as the order of `Images` or `Urls` in the input parameter.
For example, if there are 3 URLs in `Urls`, and the second URL fails, then the value of `SucIndexes` will be [0,2].public FaceRect[] getSucFaceRects()
public void setSucFaceRects(FaceRect[] SucFaceRects)
SucFaceRects
- Frame positions of successfully added faces. The order is the same as the order of `Images` or `Urls` in the input parameter.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 © 2024. All rights reserved.