public class FaceService extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
private String |
apiKey |
private String |
apiSecret |
private String |
compare |
private String |
detect |
private String |
getdetail |
private String |
ocridcard |
private String |
search |
private String |
setuserid |
| 构造器和说明 |
|---|
FaceService() |
| 限定符和类型 | 方法和说明 |
|---|---|
Compare |
compare(String face_token1,
String image_url1,
File image_file1,
String image_base64_1,
String face_token2,
String image_url2,
File image_file2,
String image_base64_2,
String face_rectangle1,
String face_rectangle2) |
protected void |
comparePost(org.apache.http.HttpEntity httpEntity,
Compare[] compares) |
Detect |
detect(File file,
String image_base64,
String image_url,
Integer return_landmark,
String return_attributes,
Integer calculate_all,
String face_rectangle,
Integer beauty_score_min,
Integer beauty_score_max) |
protected void |
detectPost(org.apache.http.HttpEntity httpEntity,
Detect[] detects) |
Detail |
getdetail(String face_token) |
protected void |
getdetailPost(org.apache.http.HttpEntity httpEntity,
Detail[] details) |
protected void |
idCardPost(org.apache.http.HttpEntity httpEntity,
IdCard[] idCards) |
IdCard |
ocridcard(File file,
String image_base64,
String file_url)
通过file文件获取身份证详细信息
|
Search |
search(String face_token,
String image_url,
File image_file,
String image_base64,
String outer_id,
Integer return_result_count,
String face_rectangle) |
protected void |
searchPost(org.apache.http.HttpEntity httpEntity,
Search[] searches) |
void |
setApiKey(String apiKey) |
void |
setApiSecret(String apiSecret) |
void |
setCompare(String compare) |
void |
setDetect(String detect) |
void |
setGetdetail(String getdetail) |
void |
setOcridcard(String ocridcard) |
void |
setSearch(String search) |
void |
setSetuserid(String setuserid) |
Detail |
setuserid(String face_token,
String user_id) |
protected void |
setuseridPost(org.apache.http.HttpEntity httpEntity,
Detail[] details) |
private String apiKey
private String apiSecret
private String ocridcard
private String detect
private String compare
private String search
private String getdetail
private String setuserid
public IdCard ocridcard(File file, String image_base64, String file_url)
file - protected void idCardPost(org.apache.http.HttpEntity httpEntity,
IdCard[] idCards)
public Detect detect(File file, String image_base64, String image_url, Integer return_landmark, String return_attributes, Integer calculate_all, String face_rectangle, Integer beauty_score_min, Integer beauty_score_max)
protected void detectPost(org.apache.http.HttpEntity httpEntity,
Detect[] detects)
public Compare compare(String face_token1, String image_url1, File image_file1, String image_base64_1, String face_token2, String image_url2, File image_file2, String image_base64_2, String face_rectangle1, String face_rectangle2)
protected void comparePost(org.apache.http.HttpEntity httpEntity,
Compare[] compares)
public Search search(String face_token, String image_url, File image_file, String image_base64, String outer_id, Integer return_result_count, String face_rectangle)
protected void searchPost(org.apache.http.HttpEntity httpEntity,
Search[] searches)
protected void getdetailPost(org.apache.http.HttpEntity httpEntity,
Detail[] details)
protected void setuseridPost(org.apache.http.HttpEntity httpEntity,
Detail[] details)
public void setApiKey(String apiKey)
public void setApiSecret(String apiSecret)
public void setOcridcard(String ocridcard)
public void setDetect(String detect)
public void setCompare(String compare)
public void setSearch(String search)
public void setGetdetail(String getdetail)
public void setSetuserid(String setuserid)
Copyright © 2020. All rights reserved.