public class CompareFacesRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
sourceImageType
Type of Image 1, with values:
FacePic: User\"s face photo
IDPic: Headshot from the user\"s second-generation ID card chip (typically obtained and decoded by a second-generation ID card reader)
example:
FacePic
|
String |
sourceImageValue
Address of Image 1.
|
String |
targetImageType
Type of Image 2, with values:
FacePic: User\"s face photo
IDPic: Headshot from the user\"s second-generation ID card chip (typically obtained and decoded by a second-generation ID card reader)
example:
FacePic
|
String |
targetImageValue
Address of Image 2.
|
| 构造器和说明 |
|---|
CompareFacesRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CompareFacesRequest |
build(Map<String,?> map) |
String |
getSourceImageType() |
String |
getSourceImageValue() |
String |
getTargetImageType() |
String |
getTargetImageValue() |
CompareFacesRequest |
setSourceImageType(String sourceImageType) |
CompareFacesRequest |
setSourceImageValue(String sourceImageValue) |
CompareFacesRequest |
setTargetImageType(String targetImageType) |
CompareFacesRequest |
setTargetImageValue(String targetImageValue) |
@NameInMap(value="SourceImageType") public String sourceImageType
Type of Image 1, with values:
FacePic
@NameInMap(value="SourceImageValue") public String sourceImageValue
Address of Image 1. Please refer to the instructions on uploading image addresses.
example:http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
@NameInMap(value="TargetImageType") public String targetImageType
Type of Image 2, with values:
FacePic
@NameInMap(value="TargetImageValue") public String targetImageValue
Address of Image 2. Please refer to the instructions on uploading image addresses.
example:http%3A%2F%2Fjiangsu.china.com.cn%2Fuploadfile%2F2015%2F0114%2F1421221304095989.jpg
public static CompareFacesRequest build(Map<String,?> map) throws Exception
Exceptionpublic CompareFacesRequest setSourceImageType(String sourceImageType)
public String getSourceImageType()
public CompareFacesRequest setSourceImageValue(String sourceImageValue)
public String getSourceImageValue()
public CompareFacesRequest setTargetImageType(String targetImageType)
public String getTargetImageType()
public CompareFacesRequest setTargetImageValue(String targetImageValue)
public String getTargetImageValue()
Copyright © 2025. All rights reserved.