public class DetectAIFakeFacesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
DetectAIFakeFacesRequest() |
DetectAIFakeFacesRequest(DetectAIFakeFacesRequest 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 |
getEncryptedBody()
Get Encrypted ciphertext; The data format before encryption is as follows:{"FaceInput":"AAAAA","FaceInputType":1}
|
Encryption |
getEncryption()
Get Whether the request information needs to be fully encrypted; Supported encryption algorithms: AES-256-CBC, SM4-GCM; Users with encryption requirements can use this parameter, for details, please click the link on the left.
|
String |
getFaceInput()
Get Enter the image or video with a face to be detected, in base64 encoding.
|
Long |
getFaceInputType()
Get The type of input is 1- The input type is a picture 2- The input type is a video Others - Return error code InvalidParameter
|
void |
setEncryptedBody(String EncryptedBody)
Set Encrypted ciphertext; The data format before encryption is as follows:{"FaceInput":"AAAAA","FaceInputType":1}
|
void |
setEncryption(Encryption Encryption)
Set Whether the request information needs to be fully encrypted; Supported encryption algorithms: AES-256-CBC, SM4-GCM; Users with encryption requirements can use this parameter, for details, please click the link on the left.
|
void |
setFaceInput(String FaceInput)
Set Enter the image or video with a face to be detected, in base64 encoding.
|
void |
setFaceInputType(Long FaceInputType)
Set The type of input is 1- The input type is a picture 2- The input type is a video Others - Return error code InvalidParameter
|
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 DetectAIFakeFacesRequest()
public DetectAIFakeFacesRequest(DetectAIFakeFacesRequest source)
public String getFaceInput()
public void setFaceInput(String FaceInput)
FaceInput
- Enter the image or video with a face to be detected, in base64 encoding. Base64 value of the image: The overall image resolution is recommended to be 480x640, and the face size is 100X100 or larger; The image data size after Base64 encoding does not exceed 3M, and only supports jpg and png formats. Please use standard Base64 encoding (use = for padding). Refer to RFC4648 for encoding specifications. Base64 value of the video: The size after Base64 encoding does not exceed 8M, and supports mp4, avi, and flv formats. Please use standard Base64 encoding (use = for padding). Refer to RFC4648 for encoding specifications. The maximum supported video length is 20s, and the recommended length is 2 to 5s. The recommended video resolution is 480x640, and the frame rate is between 25fps and 30fps.public Long getFaceInputType()
public void setFaceInputType(Long FaceInputType)
FaceInputType
- The type of input is 1- The input type is a picture 2- The input type is a video Others - Return error code InvalidParameterpublic Encryption getEncryption()
public void setEncryption(Encryption Encryption)
Encryption
- Whether the request information needs to be fully encrypted; Supported encryption algorithms: AES-256-CBC, SM4-GCM; Users with encryption requirements can use this parameter, for details, please click the link on the left.public String getEncryptedBody()
public void setEncryptedBody(String EncryptedBody)
EncryptedBody
- Encrypted ciphertext; The data format before encryption is as follows:{"FaceInput":"AAAAA","FaceInputType":1}Copyright © 2024. All rights reserved.