Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
net.gdface.facedb.thrift.client.FaceDb Maven / Gradle / Ivy
// Automatically generated by the Thrifty compiler; do not edit!
// Generated on: 2019-09-24T07:53:45.918Z
// Source: J:\facedb\FaceDb.thrift at 137:1
package net.gdface.facedb.thrift.client;
import com.microsoft.thrifty.service.ServiceMethodCallback;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import okio.ByteString;
@Generated(
value = "com.microsoft.thrifty.gen.ThriftyCodeGenerator",
comments = "https://github.com/microsoft/thrifty"
)
public interface FaceDb {
void addFeature(ByteString feature, Map faces,
ServiceMethodCallback callback);
void addImage(ByteString imgData, List features,
ServiceMethodCallback callback);
void addImageIfAbsent(ByteString imgData, CodeInfo code, Double similarty,
ServiceMethodCallback callback);
void compareFaces(String featureId, ByteString imgData, List facePos,
ServiceMethodCallback> callback);
void compareFeature(String featureId, ByteString feature, ServiceMethodCallback callback);
void compareFeatureByFeatureId(String featureId1, String featureId2,
ServiceMethodCallback callback);
void compareFeatures(String featureId, List features,
ServiceMethodCallback> callback);
void deleteFeature(String featureId, Boolean cascade, ServiceMethodCallback callback);
void deleteFeatures(List featureIdList, Boolean cascade,
ServiceMethodCallback callback);
void deleteImage(String imgMd5, Boolean cascade, ServiceMethodCallback callback);
void deleteImages(List imgMd5List, Boolean cascade,
ServiceMethodCallback callback);
void detectAndAddFeatures(ByteString imgData, Integer faceNum, FRect detectRectangle,
ServiceMethodCallback callback);
void detectAndCompareFaces(String featureId, ByteString imgData, Integer faceNum,
FRect detectRectangle, ServiceMethodCallback> callback);
void detectAndSearchFaces(ByteString imgData, FRect detectRectangle, Double similarty,
Integer rows, String where, ServiceMethodCallback callback);
void getCodeInfo(Integer faceId, ServiceMethodCallback callback);
void getCodeInfoByFeatureId(String featureId, ServiceMethodCallback callback);
void getCodeInfoByImageMd5(String imageMd5, ServiceMethodCallback callback);
void getCodeInfosByFeatureId(String featureId, ServiceMethodCallback> callback);
void getCodeInfosByImageMd5(String imageMd5, ServiceMethodCallback> callback);
void getFace(Integer faceId, ServiceMethodCallback callback);
void getFaceByFeatureId(String featureId, ServiceMethodCallback callback);
void getFaceByImageMd5(String imageMd5, ServiceMethodCallback callback);
void getFaceCount(String where, ServiceMethodCallback callback);
void getFacesByFeatureId(String featureId, ServiceMethodCallback> callback);
void getFacesByImageMd5(String imageMd5, ServiceMethodCallback> callback);
void getFeature(String featureId, ServiceMethodCallback callback);
void getFeatureByFaceId(Integer faceId, ServiceMethodCallback callback);
void getFeatureByImageMd5(String imageMd5, ServiceMethodCallback callback);
void getFeatureCount(ServiceMethodCallback callback);
void getFeaturesByImageMd5(String imageMd5, ServiceMethodCallback> callback);
void getImage(String imageMd5, ServiceMethodCallback callback);
void getImageByFaceId(Integer faceId, ServiceMethodCallback callback);
void getImageByFeatureId(String featureId, ServiceMethodCallback callback);
void getImageBytes(String imageMd5, ServiceMethodCallback callback);
void getImageCount(String where, ServiceMethodCallback callback);
void getImagesByFeatureId(String featureId, ServiceMethodCallback> callback);
void hasFeature(ByteString feature, ServiceMethodCallback callback);
void hasFeatureByMD5(String featureId, ServiceMethodCallback callback);
void hasImage(String imageMd5, ServiceMethodCallback callback);
void isLocal(ServiceMethodCallback callback);
void loadFeaturesMd5ByCreateTime(Long timestamp, ServiceMethodCallback> callback);
void loadFeaturesMd5ByWhere(String where, ServiceMethodCallback> callback);
void loadImagesByWhere(String where, Integer startRow, Integer numRows,
ServiceMethodCallback> callback);
void loadImagesMd5ByCreateTime(Long timestamp, ServiceMethodCallback> callback);
void loadImagesMd5ByWhere(String where, ServiceMethodCallback> callback);
void searchFaces(ByteString imgData, CodeInfo facePos, Double similarty, Integer rows,
String where, ServiceMethodCallback callback);
void searchFeatures(ByteString feature, Double similarty, Integer rows, String where,
ServiceMethodCallback callback);
void supportSearch(ServiceMethodCallback callback);
}