FeatureSe.addFeature(byte[],byte[],java.lang.String)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出CodeBean.imgMD5字段返回Long类型整数,FseResult.owner字段返回Long类型整数,CodeBean.imgMD5字段FaceApi抽象实现,SDK接口类必须从此类派生FseJniBridge拆分开主要是为了便于生成c header文件[\w\.\-]{1,32}FeatureSe.clearAll()CodeBeanCodeBeanget/set方法到CodeBean.delegate()指定的实例,CodeBeanCodeBeanget/set方法到CodeBean.delegate()指定的实例,CodeInfoCodeInfoget/set方法到CodeInfo.delegate()指定的实例,CodeInfoCodeInfoget/set方法到CodeInfo.delegate()指定的实例,Comparator实例Comparator实例null时,即比较同一张图像中的两张人脸的相似度
调用该方法时假设图像(imgData1和imgData2)能正常解码,ImageErrorException异常对象封装到RuntimeException抛出null则抛出IllegalArgumentExceptionnull时,即比较同一张图像中的两张人脸的相似度
调用该方法时假设图像(imgData1和imgData2)能正常解码,ImageErrorException异常对象封装到RuntimeException抛出null则抛出IllegalArgumentExceptionFaceApi.compare2Face(byte[],CodeInfo,byte[],CodeInfo)对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.compare2Face(byte[],CodeInfo,byte[],CodeInfo)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出null或长度不一致则抛出IllegalArgumentException异常,返回两个特征码之间的相似度(0.0~1)null或长度不一致则抛出IllegalArgumentException异常,返回两个特征码之间的相似度(0.0~1)FaceApi.compareCode(byte[],byte[])FaceApi.compareCodes(byte[],net.gdface.sdk.CodeInfo[])泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.compareFaces(byte[], byte[], int)方法调用的返回结果CompareResultCompareResultget/set方法到CompareResult.delegate()指定的实例,CompareResultCompareResultget/set方法到CompareResult.delegate()指定的实例,CodeInfo实例CompareResult实例EyeInfo实例FAngle实例FInt2实例FRect实例FseResult实例CodeBean实例FRect)进行人脸检测,找到并提取唯一的人脸特征码,然后比较相似度,返回相似度结果null时,
即比较同一张图像中的两张人脸的相似度,这种情况下detectRect1和detectRect2都不能为nullnull时,detectRect1和detectRect2被忽略FRect)进行人脸检测,找到并提取唯一的人脸特征码,然后比较相似度,返回相似度结果null时,
即比较同一张图像中的两张人脸的相似度,这种情况下detectRect1和detectRect2都不能为nullnull时,detectRect1和detectRect2被忽略FaceApi.detectAndCompare2Face(byte[],FRect,byte[],FRect)对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.detectAndCompare2Face(byte[],FRect,byte[],FRect)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出imgData进行人脸检测,然后提取人脸特征码imgData进行人脸检测,然后提取人脸特征码CodeInfo数组,
与FaceApi.getCodeInfo(byte[], int, CodeInfo[])的返回结果有差别,返回结果中不包含检测到人脸但提取特征码失败的对象imgData进行人脸检测,然后提取人脸特征码CodeInfo数组,
与#getCodeInfo(byte[], int, CodeInfo[])的返回结果有差别,返回结果中不包含检测到人脸但提取特征码失败的对象CodeInfoCodeInfoFaceApi.detectCenterFace(byte[])FaceApi.detectFace(byte[])对应的泛型方法FaceApi.detectFace(byte[])CodeInfoCodeInfoFaceApi.detectMaxFace(byte[])EyeInfoEyeInfoget/set方法到EyeInfo.delegate()指定的实例,EyeInfoEyeInfoget/set方法到EyeInfo.delegate()指定的实例,ContextLoaderFaceApi接口FaceApi接口方法到FaceApiDecorator.delegate()指定的实例,RuntimeException抛出FaceApiDecorator的支持泛型方法参数FaceApi接口BinaryUtils.getBytesNotEmpty(Object)InputStream的方法返回时会自动执行InputStream.close()关闭流BinaryUtils.readBytes(java.io.InputStream)RuntimeException抛出FaceLogImpl服务封装FaceApiSpringController.compare2Face(Compare2FaceArgs)FaceApiSpringController.compareCode(CompareCodeArgs)FaceApiSpringController.compareCodes(CompareCodesArgs)FaceApiSpringController.compareFaces(CompareFacesArgs)FaceApiSpringController.compareFeatures(CompareFeaturesArgs)FaceApiSpringController.detectAndCompare2Face(DetectAndCompare2FaceArgs)FaceApiSpringController.detectAndGetCodeInfo(DetectAndGetCodeInfoArgs)FaceApiSpringController.detectCenterFace(DetectCenterFaceArgs)FaceApiSpringController.detectFace(DetectFaceArgs)FaceApiSpringController.detectMaxFace(DetectMaxFaceArgs)FaceApiSpringController.getCodeInfo(GetCodeInfoArgs)FaceApiSpringController.getCodeInfo(GetCodeInfoSingleArgs)FaceApiSpringController.getFeature(GetFeatureArgs)FaceApiSpringController.hasFace(HasFaceArgs)FaceApiSpringController.matDetectAndGetCodeInfo(MatDetectAndGetCodeInfoArgs)FaceApiSpringController.matDetectFace(MatDetectFaceArgs)FaceApiSpringController.matDetectMaxFace(MatDetectMaxFaceArgs)FaceApiSpringController.matGetCodeInfo(MatGetCodeInfoArgs)FaceApiSpringController.matGetCodeInfo(MatGetCodeInfoSingleArgs)FaceApiSpringController.matHasFace(MatHasFaceArgs)FaceApiSpringController.matSearchFaces(MatSearchFacesArgs)FaceApiSpringController.matWearMask(MatWearMaskArgs)FaceApiSpringController.Response接口实例的工厂类接口FaceApiSpringController.searchFaces(SearchFacesArgs)FaceApiSpringController.searchFeatures(SearchFeaturesArgs)FaceApiSpringController.wearMask(WearMaskArgs)FaceApi接口的RPC实现(线程安全)FaceApi接口方法到FaceApiThriftClient.delegate()指定的实例RuntimeException异常被封装到ServiceRuntimeException中抛出FaceApi接口的异步RPC实现(线程安全)FaceApi接口方法到FaceApiThriftClientAsync.delegate()指定的实例RuntimeException异常被封装到ServiceRuntimeException中抛出FutureCallback实现FaceApi接口FaceApi实例封装为一个thrift服务FaceApiThriftDecorator.delegate()指定的实例FAngleFAngleget/set方法到FAngle.delegate()指定的实例,FAngleFAngleget/set方法到FAngle.delegate()指定的实例,FeatureSe.addFeature(byte[], byte[], String)方法将特征添加到搜索引擎FeatureSe.searchCode(byte[], double, int)在内存中搜索与指定特征相似的的特征返回搜索结果FeatureSe接口FeatureSe接口方法到FeatureSeDecorator.delegate()指定的实例,RuntimeException抛出FeatureSeDecorator的支持泛型方法参数FeatureSe接口BinaryUtils.getBytesNotEmpty(Object)InputStream的方法返回时会自动执行InputStream.close()关闭流BinaryUtils.readBytes(java.io.InputStream)RuntimeException抛出#addFeature(byte[], byte[], String)方法将特征添加到搜索引擎#searchCode(byte[], double, int)在内存中搜索与指定特征相似的的特征返回搜索结果FeatureSeSpringController.addFeature(AddFeatureToFseArgs)FeatureSeSpringController.addFeature(AddFeatureToFseWithAppIdArgs)FeatureSeSpringController.getFeatureByHex(GetFeatureByHexFromFseArgs)FeatureSeSpringController.getFeature(GetFeatureFromFseArgs)FeatureSeSpringController.removeFeatureByHex(RemoveFeatureByHexFromFseArgs)FeatureSeSpringController.removeFeature(RemoveFeatureFromFseArgs)FeatureSeSpringController.Response接口实例的工厂类接口FeatureSeSpringController.searchCode(SearchCodeFromFseArgs)FeatureSe接口的RPC实现(线程安全)FeatureSe接口方法到FeatureSeThriftClient.delegate()指定的实例RuntimeException异常被封装到ServiceRuntimeException中抛出FeatureSe接口的异步RPC实现(线程安全)FeatureSe接口方法到FeatureSeThriftClientAsync.delegate()指定的实例RuntimeException异常被封装到ServiceRuntimeException中抛出FutureCallback实现FeatureSe接口FeatureSe实例封装为一个thrift服务FeatureSeThriftDecorator.delegate()指定的实例FInt2FInt2get/set方法到FInt2.delegate()指定的实例,FInt2FInt2get/set方法到FInt2.delegate()指定的实例,FRectFRectget/set方法到FRect.delegate()指定的实例,FRectFRectget/set方法到FRect.delegate()指定的实例,FseResultFseResultget/set方法到FseResult.delegate()指定的实例,FseResultFseResultget/set方法到FseResult.delegate()指定的实例,lazyImg)中指定的人脸位置facePos并提取特征码,返回生成人脸特征码数据数组对象(人脸可能不止一个)lazyImage)能正常解码,所以当对图像解码出现异常时,将异常对象封装到RuntimeException抛出facePos提供的人脸信息位置, 在imgData图像中提取特征码FaceApi.detectAndGetCodeInfo(byte[], int)不同, 本方法不对图像数据imgData进行人脸检测,facePos是 FaceApi.detectFace(byte[])或 #detectFaceAgain(byte[], FRect[]) 的返回结果CodeInfo.getCode()返回nullfacePos提供的人脸信息位置, 在imgData图像中提取特征码#detectAndGetCodeInfo(byte[], int)不同, 本方法不对图像数据imgData进行人脸检测,facePos是 #detectFace(byte[])或 #detectFaceAgain(byte[], FRect[]) 的返回结果CodeInfo.getCode()返回nullFaceApi.getCodeInfo(byte[],int,net.gdface.sdk.CodeInfo[])对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.getCodeInfo(byte[],int,net.gdface.sdk.CodeInfo[])泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出null#multiFaceFeature()返回false时代表此方法未被实现,执行会抛出异常#multiFaceFeature()返回false时代表此方法未被实现,执行会抛出异常FeatureSe.getFeature(byte[])对应的泛型方法FeatureSe.getFeature(byte[])FaceApi.getFeature(java.util.Map)FaceApi接口实例对应的搜索引擎接口实例,如果没有则返回nullnullnullnull时用于描述当前人脸信息对象中所有的坐标数据的原点相对实际原点的偏移量frect对象上下左右扩充指定的像素,如果超出图像尺寸,则以图像尺寸为边界true则能检测到人脸并能提取特征码FaceApi.hasFace(byte[])对应的泛型方法true则能检测到人脸并能提取特征码FaceApi.hasFace(byte[])ImageErrorExceptionImageErrorExceptionget/set方法到ImageErrorException.delegate()指定的实例,ImageErrorExceptionImageErrorExceptionget/set方法到ImageErrorException.delegate()指定的实例,null,
应用层也可将此字段根据业务需要解释为其他含义FaceApi.isLocal()rect为null或所有字段为0时返回truelibname的动态库,
如果libdir为null则调用System.loadLibrary(String)在系统搜索路径下查找动态库,
否则调用System.load(String)加载libdir指定路径下的动态库FaceApi 对象封装为 FaceApiDecorator 实例FaceApi 已经是 FaceApiDecorator 则返回 FaceApi}FeatureSe 对象封装为 FeatureSeDecorator 实例FeatureSe 已经是 FeatureSeDecorator 则返回 FeatureSe}BaseLazyImage.setAutoClose(boolean)设置 autClose为falseThriftServerConfig实例imgData进行人脸检测,然后提取人脸特征码CodeInfo数组imgData进行人脸检测,然后提取人脸特征码CodeInfo数组FaceApi.matDetectAndGetCodeInfo(MatType,byte[],int,int,int)对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.matDetectAndGetCodeInfo(MatType,byte[],int,int,int)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出CodeInfoCodeInfoFaceApi.matDetectMaxFace(MatType,byte[],int,int)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.matGetCodeInfo(MatType,byte[],int,int,int,net.gdface.sdk.CodeInfo[])对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.matGetCodeInfo(MatType,byte[],int,int,int,net.gdface.sdk.CodeInfo[])泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.matGetCodeInfo(MatType,byte[],int,int,CodeInfo)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出true则能检测到人脸并能提取特征码true则能检测到人脸并能提取特征码facePos指定的人脸位置提取特征码,然后在数据库中搜索相似的人脸返回搜索结果。facePos指定的人脸位置提取特征码,然后在数据库中搜索相似的人脸返回搜索结果。FaceApi.matSearchFaces(MatType,byte[],int,int,CodeInfo,double,int)对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出FaceApi.matSearchFaces(MatType,byte[],int,int,CodeInfo,double,int)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出true 戴口罩返回
false 未戴口罩返回
null 不知道
true 戴口罩返回
false 未戴口罩返回
null 不知道
FaceApi.matWearMask(MatType,byte[],int,int,CodeInfo)泛型方法对应的unchecked方法,
所有显式申明的异常都被封装到RuntimeException抛出facePos并提取特征码,返回生成人脸特征码数据数组对象(人脸可能不止一个)facePos,提取一组特征NotFaceDetectedExceptionNotFaceDetectedExceptionget/set方法到NotFaceDetectedException.delegate()指定的实例,NotFaceDetectedExceptionNotFaceDetectedExceptionget/set方法到NotFaceDetectedException.delegate()指定的实例,CodeInfo.facialData)不做任何修改,子类可重写此方法FeatureSe.removeFeature(byte[])CapacityFieldConstantCapacityFieldConstantFaceApi.sdkCapacity()code与数据库中的特征码比对,以相似度降序返回比对结果facePos指定的人脸位置提取特征码,然后在数据库中搜索相似的人脸返回搜索结果。facePos指定的人脸位置提取特征码,然后在数据库中搜索相似的人脸返回搜索结果。code相似度大于similarty的记录(最多返回前rows个结果)FseResult数组,返回结果以相似度降序排列FseResult#getSimilartys() 获取FseResult#getFeatureIds()获取code相似度大于similarty的记录(最多返回前rows个结果)FseResult数组,返回结果以相似度降序排列FseResult#getSimilartys() 获取FseResult#getFeatureIds()获取FaceApi实例FaceApi实例FeatureSe.size()BaseFaceApi.getNativeMatrixType())PrintStream输出对象内容PrintStream输出对象内容PrintStream输出对象内容PrintStream输出对象内容PrintStream输出对象内容true 戴口罩返回
false 未戴口罩返回
null 不知道
true 戴口罩返回
false 未戴口罩返回
null 不知道
Copyright © 2020. All rights reserved.