@Generated(value="com.microsoft.thrifty.gen.ThriftyCodeGenerator", comments="https://github.com/microsoft/thrifty") public class FaceApiClient extends com.microsoft.thrifty.service.AsyncClientBase implements FaceApi
com.microsoft.thrifty.service.AsyncClientBase.Listener
FaceApi.Async
Constructor and Description |
---|
FaceApiClient(com.microsoft.thrifty.protocol.Protocol protocol,
com.microsoft.thrifty.service.AsyncClientBase.Listener listener) |
Modifier and Type | Method and Description |
---|---|
void |
compare2Face(okio.ByteString imgData1,
CodeInfo facePos1,
okio.ByteString imgData2,
CodeInfo facePos2,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback) |
void |
compareCode(okio.ByteString code1,
okio.ByteString code2,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback) |
void |
compareCodes(okio.ByteString code1,
java.util.List<CodeInfo> codes,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback) |
void |
compareFaces(okio.ByteString code,
okio.ByteString imgData,
java.lang.Integer faceNum,
com.microsoft.thrifty.service.ServiceMethodCallback<CompareResult> callback) |
void |
compareFeatures(okio.ByteString code1,
java.util.List<okio.ByteString> codes,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback) |
void |
detectAndCompare2Face(okio.ByteString imgData1,
FRect detectRect1,
okio.ByteString imgData2,
FRect detectRect2,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback) |
void |
detectAndGetCodeInfo(okio.ByteString imgData,
java.lang.Integer faceNum,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
detectCenterFace(okio.ByteString imgData,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
detectFace(okio.ByteString imgData,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
detectMaxFace(okio.ByteString imgData,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
getCodeInfo(okio.ByteString imgData,
java.lang.Integer faceNum,
java.util.List<CodeInfo> facePos,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
getCodeInfoSingle(okio.ByteString imgData,
CodeInfo facePos,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
getFeature(java.util.Map<okio.ByteString,CodeInfo> faces,
com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback) |
void |
hasFace(okio.ByteString imgData,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
isLocal(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
matDetectAndGetCodeInfo(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Integer faceNum,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
matDetectFace(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
matDetectMaxFace(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
matGetCodeInfo(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
java.lang.Integer facenum,
java.util.List<CodeInfo> facePos,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
matGetCodeInfoSingle(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
CodeInfo facePos,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
matHasFace(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
matSearchFaces(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
CodeInfo facePos,
java.lang.Double similarty,
java.lang.Integer rows,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback) |
void |
matWearMask(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
CodeInfo faceInfo,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
sdkCapacity(com.microsoft.thrifty.service.ServiceMethodCallback<java.util.Map<java.lang.String,java.lang.String>> callback) |
void |
searchFaces(okio.ByteString imgData,
CodeInfo facePos,
java.lang.Double similarty,
java.lang.Integer rows,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback) |
void |
searchFeatures(okio.ByteString feature,
java.lang.Double similarty,
java.lang.Integer rows,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback) |
void |
wearMask(okio.ByteString imgData,
CodeInfo faceInfo,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compare2Face, compareCode, compareCodes, compareFaces, compareFeatures, detectAndCompare2Face, detectAndGetCodeInfo, detectCenterFace, detectFace, detectMaxFace, getCodeInfo, getCodeInfoSingle, getFeature, hasFace, isLocal, matDetectAndGetCodeInfo, matDetectFace, matDetectMaxFace, matGetCodeInfo, matGetCodeInfoSingle, matHasFace, matSearchFaces, matWearMask, sdkCapacity, searchFaces, searchFeatures, wearMask
public FaceApiClient(com.microsoft.thrifty.protocol.Protocol protocol, com.microsoft.thrifty.service.AsyncClientBase.Listener listener)
public void compare2Face(okio.ByteString imgData1, CodeInfo facePos1, okio.ByteString imgData2, CodeInfo facePos2, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback)
public void compareCode(okio.ByteString code1, okio.ByteString code2, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback)
public void compareCodes(okio.ByteString code1, java.util.List<CodeInfo> codes, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback)
public void compareFaces(okio.ByteString code, okio.ByteString imgData, java.lang.Integer faceNum, com.microsoft.thrifty.service.ServiceMethodCallback<CompareResult> callback)
public void compareFeatures(okio.ByteString code1, java.util.List<okio.ByteString> codes, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback)
public void detectAndCompare2Face(okio.ByteString imgData1, FRect detectRect1, okio.ByteString imgData2, FRect detectRect2, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback)
public void detectAndGetCodeInfo(okio.ByteString imgData, java.lang.Integer faceNum, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void detectCenterFace(okio.ByteString imgData, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
public void detectFace(okio.ByteString imgData, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void detectMaxFace(okio.ByteString imgData, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
public void getCodeInfo(okio.ByteString imgData, java.lang.Integer faceNum, java.util.List<CodeInfo> facePos, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void getCodeInfoSingle(okio.ByteString imgData, CodeInfo facePos, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
public void getFeature(java.util.Map<okio.ByteString,CodeInfo> faces, com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback)
public void hasFace(okio.ByteString imgData, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
public void isLocal(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
public void matDetectAndGetCodeInfo(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, java.lang.Integer faceNum, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void matDetectFace(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void matDetectMaxFace(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
public void matGetCodeInfo(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, java.lang.Integer facenum, java.util.List<CodeInfo> facePos, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
public void matGetCodeInfoSingle(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, CodeInfo facePos, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
public void matHasFace(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
public void matSearchFaces(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, CodeInfo facePos, java.lang.Double similarty, java.lang.Integer rows, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback)
public void matWearMask(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, CodeInfo faceInfo, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
public void sdkCapacity(com.microsoft.thrifty.service.ServiceMethodCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
public void searchFaces(okio.ByteString imgData, CodeInfo facePos, java.lang.Double similarty, java.lang.Integer rows, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback)
public void searchFeatures(okio.ByteString feature, java.lang.Double similarty, java.lang.Integer rows, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FseResult>> callback)
Copyright © 2020. All rights reserved.