@Generated(value="com.microsoft.thrifty.gen.ThriftyCodeGenerator",
comments="https://github.com/microsoft/thrifty")
public interface FaceDb
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFeature(okio.ByteString feature,
java.util.Map<okio.ByteString,CodeInfo> faces,
com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback) |
void |
addImage(okio.ByteString imgData,
java.util.List<CodeInfo> features,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
addImageIfAbsent(okio.ByteString imgData,
CodeInfo code,
java.lang.Double similarty,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
compareFaces(java.lang.String featureId,
okio.ByteString imgData,
java.util.List<CodeInfo> facePos,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback) |
void |
compareFeature(java.lang.String featureId,
okio.ByteString feature,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback) |
void |
compareFeatureId(java.lang.String featureId1,
java.lang.String featureId2,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback) |
void |
compareFeatures(java.lang.String featureId,
java.util.List<CodeInfo> features,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback) |
void |
dbCapacity(com.microsoft.thrifty.service.ServiceMethodCallback<java.util.Map<java.lang.String,java.lang.String>> callback) |
void |
deleteFeature(java.lang.String featureId,
java.lang.Boolean cascade,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
deleteFeatures(java.util.List<java.lang.String> featureIdList,
java.lang.Boolean cascade,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback) |
void |
deleteImage(java.lang.String imgMd5,
java.lang.Boolean cascade,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
deleteImages(java.util.List<java.lang.String> imgMd5List,
java.lang.Boolean cascade,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback) |
void |
detectAndAddFeatures(okio.ByteString imgData,
java.lang.Integer faceNum,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
detectAndCompareFaces(java.lang.String featureId,
okio.ByteString imgData,
java.lang.Integer faceNum,
com.microsoft.thrifty.service.ServiceMethodCallback<CompareResult> callback) |
void |
detectAndGetCodeInfo(okio.ByteString imgData,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
detectAndGetCodeInfoMat(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
detectAndSearchFaces(okio.ByteString imgData,
java.lang.Double similarty,
java.lang.Integer rows,
java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback) |
void |
getCodeInfo(java.lang.Integer faceId,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
getCodeInfoByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
getCodeInfoByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback) |
void |
getCodeInfosByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
getCodeInfosByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback) |
void |
getFace(java.lang.Integer faceId,
com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback) |
void |
getFaceByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback) |
void |
getFaceByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback) |
void |
getFaceCount(java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback) |
void |
getFacesByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FaceBean>> callback) |
void |
getFacesByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FaceBean>> callback) |
void |
getFeature(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback) |
void |
getFeatureByFaceId(java.lang.Integer faceId,
com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback) |
void |
getFeatureByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback) |
void |
getFeatureCount(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback) |
void |
getFeaturesByImageMd5(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FeatureBean>> callback) |
void |
getImage(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
getImageByFaceId(java.lang.Integer faceId,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
getImageByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
getImageBytes(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback) |
void |
getImageBytesRef(java.lang.String primaryKey,
java.lang.String refType,
com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback) |
void |
getImageCount(java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback) |
void |
getImageRef(java.lang.String primaryKey,
java.lang.String refType,
com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback) |
void |
getImagesByFeatureId(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<ImageBean>> callback) |
void |
hasFeature(okio.ByteString feature,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
hasFeatureByMD5(java.lang.String featureId,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
hasImage(java.lang.String imageMd5,
com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
isLocal(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback) |
void |
loadFeaturesMd5ByCreateTime(java.lang.Long timestamp,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
loadFeaturesMd5ByCreateTimeTimeStr(java.lang.String timestamp,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
loadFeaturesMd5ByWhere(java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
loadImagesByWhere(java.lang.String where,
java.lang.Integer startRow,
java.lang.Integer numRows,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<ImageBean>> callback) |
void |
loadImagesMd5ByCreateTime(java.lang.Long timestamp,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
loadImagesMd5ByCreateTimeTimeStr(java.lang.String timestamp,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
loadImagesMd5ByWhere(java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback) |
void |
searchFaces(okio.ByteString imgData,
CodeInfo facePos,
java.lang.Double similarty,
java.lang.Integer rows,
java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback) |
void |
searchFacesMat(MatType matType,
okio.ByteString matData,
java.lang.Integer width,
java.lang.Integer height,
CodeInfo facePos,
java.lang.Double similarty,
java.lang.Integer rows,
java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback) |
void |
searchFeatures(okio.ByteString feature,
java.lang.Double similarty,
java.lang.Integer rows,
java.lang.String where,
com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback) |
void addFeature(okio.ByteString feature, java.util.Map<okio.ByteString,CodeInfo> faces, com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback)
void addImage(okio.ByteString imgData, java.util.List<CodeInfo> features, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void addImageIfAbsent(okio.ByteString imgData, CodeInfo code, java.lang.Double similarty, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void compareFaces(java.lang.String featureId, okio.ByteString imgData, java.util.List<CodeInfo> facePos, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback)
void compareFeature(java.lang.String featureId, okio.ByteString feature, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback)
void compareFeatureId(java.lang.String featureId1, java.lang.String featureId2, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Double> callback)
void compareFeatures(java.lang.String featureId, java.util.List<CodeInfo> features, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.Double>> callback)
void dbCapacity(com.microsoft.thrifty.service.ServiceMethodCallback<java.util.Map<java.lang.String,java.lang.String>> callback)
void deleteFeature(java.lang.String featureId, java.lang.Boolean cascade, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void deleteFeatures(java.util.List<java.lang.String> featureIdList, java.lang.Boolean cascade, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback)
void deleteImage(java.lang.String imgMd5, java.lang.Boolean cascade, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void deleteImages(java.util.List<java.lang.String> imgMd5List, java.lang.Boolean cascade, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback)
void detectAndAddFeatures(okio.ByteString imgData, java.lang.Integer faceNum, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void detectAndCompareFaces(java.lang.String featureId, okio.ByteString imgData, java.lang.Integer faceNum, com.microsoft.thrifty.service.ServiceMethodCallback<CompareResult> callback)
void detectAndGetCodeInfo(okio.ByteString imgData, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
void detectAndGetCodeInfoMat(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
void detectAndSearchFaces(okio.ByteString imgData, java.lang.Double similarty, java.lang.Integer rows, java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback)
void getCodeInfo(java.lang.Integer faceId, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
void getCodeInfoByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
void getCodeInfoByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<CodeInfo> callback)
void getCodeInfosByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
void getCodeInfosByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<CodeInfo>> callback)
void getFace(java.lang.Integer faceId, com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback)
void getFaceByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback)
void getFaceByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<FaceBean> callback)
void getFaceCount(java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback)
void getFacesByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FaceBean>> callback)
void getFacesByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FaceBean>> callback)
void getFeature(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback)
void getFeatureByFaceId(java.lang.Integer faceId, com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback)
void getFeatureByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<FeatureBean> callback)
void getFeatureCount(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback)
void getFeaturesByImageMd5(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<FeatureBean>> callback)
void getImage(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void getImageByFaceId(java.lang.Integer faceId, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void getImageByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void getImageBytes(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback)
void getImageBytesRef(java.lang.String primaryKey, java.lang.String refType, com.microsoft.thrifty.service.ServiceMethodCallback<okio.ByteString> callback)
void getImageCount(java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Integer> callback)
void getImageRef(java.lang.String primaryKey, java.lang.String refType, com.microsoft.thrifty.service.ServiceMethodCallback<ImageBean> callback)
void getImagesByFeatureId(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<ImageBean>> callback)
void hasFeature(okio.ByteString feature, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void hasFeatureByMD5(java.lang.String featureId, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void hasImage(java.lang.String imageMd5, com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void isLocal(com.microsoft.thrifty.service.ServiceMethodCallback<java.lang.Boolean> callback)
void loadFeaturesMd5ByCreateTime(java.lang.Long timestamp, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void loadFeaturesMd5ByCreateTimeTimeStr(java.lang.String timestamp, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void loadFeaturesMd5ByWhere(java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void loadImagesByWhere(java.lang.String where, java.lang.Integer startRow, java.lang.Integer numRows, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<ImageBean>> callback)
void loadImagesMd5ByCreateTime(java.lang.Long timestamp, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void loadImagesMd5ByCreateTimeTimeStr(java.lang.String timestamp, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void loadImagesMd5ByWhere(java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<java.lang.String>> callback)
void searchFaces(okio.ByteString imgData, CodeInfo facePos, java.lang.Double similarty, java.lang.Integer rows, java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback)
void searchFacesMat(MatType matType, okio.ByteString matData, java.lang.Integer width, java.lang.Integer height, CodeInfo facePos, java.lang.Double similarty, java.lang.Integer rows, java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback)
void searchFeatures(okio.ByteString feature, java.lang.Double similarty, java.lang.Integer rows, java.lang.String where, com.microsoft.thrifty.service.ServiceMethodCallback<java.util.List<SearchResult>> callback)
Copyright © 2021. All Rights Reserved.