public class CreatePersonSampleRequest extends AbstractModel
Constructor and Description |
---|
CreatePersonSampleRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getDescription()
Get Material description.
|
String[] |
getFaceContents()
Get [Base64](https://tools.ietf.org/html/rfc4648) string converted from an image.
|
String |
getName()
Get Name of a material.
|
String[] |
getTags()
Get Material tag
Array length limit: 20 tags;
Tag length limit: 128 characters.
|
String[] |
getUsages()
Get Material use case.
|
void |
setDescription(String Description)
Set Material description.
|
void |
setFaceContents(String[] FaceContents)
Set [Base64](https://tools.ietf.org/html/rfc4648) string converted from an image.
|
void |
setName(String Name)
Set Name of a material.
|
void |
setTags(String[] Tags)
Set Material tag
Array length limit: 20 tags;
Tag length limit: 128 characters.
|
void |
setUsages(String[] Usages)
Set Material use case.
|
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 String getName()
public void setName(String Name)
Name
- Name of a material. Length limit: 20 characters.public String[] getUsages()
public void setUsages(String[] Usages)
Usages
- Material use case. Valid values:
1. Recognition: used for content recognition, equivalent to `Recognition.Face`
2. Review: used for detection of inappropriate content, equivalent to `Review.Face`
3. All: all of the above, equivalent to 1 and 2 combinedpublic String getDescription()
public void setDescription(String Description)
Description
- Material description. Length limit: 1,024 characters.public String[] getFaceContents()
public void setFaceContents(String[] FaceContents)
FaceContents
- [Base64](https://tools.ietf.org/html/rfc4648) string converted from an image. Only JPEG and PNG images are supported. Array length limit: 5 images.
Note: the image must be a relatively clear facial feature photo of one person with a size of at least 200 x 200 pixels.public String[] getTags()
public void setTags(String[] Tags)
Tags
- Material tag
Copyright © 2021. All rights reserved.