public class FaceApiMtfV2Android extends net.facelib.mtfsdk.BaseFaceApiMtfAndroid
FaceApi接口实现抽象类(线程安全)| 限定符和类型 | 字段和说明 |
|---|---|
static FaceApiMtfV2Android |
INSTANCE |
| 限定符 | 构造器和说明 |
|---|---|
protected |
FaceApiMtfV2Android() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
bindNativeFeatureInstanceForCurentThread() |
org.apache.commons.pool2.impl.GenericObjectPool<V2AndroidBridge> |
getFeaturePool() |
static FaceApiMtfV2Android |
getInstance() |
net.facelib.akcore.LicenseManager |
getLicenseManager()
获取授权管理对象
|
static org.apache.commons.pool2.impl.GenericObjectPoolConfig |
getPoolConfig()
返回V2特征提取算法资源池对象参数配置
|
protected double |
nativeCompareCode(byte[] code1,
byte[] code2) |
protected byte[] |
nativeGetFaceFeature(net.gdface.image.MatType matType,
byte[] imgMatrix,
int width,
int height,
net.gdface.sdk.CodeInfo faceInfo) |
static void |
setPoolConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
设置V2特征提取算法资源池对象参数配置
|
net.facelib.akcore.ProductInitStatus |
testV2Init(java.util.concurrent.atomic.AtomicLong initMills)
测试是否可以正常初始化特征提取算法实例
|
void |
unbindNativeFeatureInstanceForCurentThread() |
bindNativeDetectInstanceForCurentThread, detectAndGetCodeInfo, detectFace, detectMaxFace, facePosInterrelate, getCodeInfo, getCodeInfo, getDetectPool, getFeatureSe, matDetectMaxFace, nativeDetectFace, nativeDetectFace, nativeDetectMaxFace, reset, setFacePosStatus, testDetectInit, unbindNativeDetectInstanceForCurentThreadbindNativeInstanceForCurentThread, compareCode, detectAndGetCodeInfo, detectAndGetCodeInfo, detectFace, detectFace, getCodeInfo, getCodeInfo, getCodeInfo, getCodeInfo, getNativeMatrixType, isLocal, matDetectAndGetCodeInfo, matDetectAndGetCodeInfo, matDetectFace, matDetectFace, matGetCodeInfo, matGetCodeInfo, matWearMask, nativeDetectAndGetFeatures, nativeGetFaceFeatures, nativeGetFaceFeatures, nativeNv21DetectAndGetFeatures, nativeNv21DetectFace, nativeNv21GetFaceFeature, nativeNv21GetFaceFeatures, nativeNv21WearMask, nativeWearMask, sdkCapacity, searchFeatures, setAuxTool, unbindNativeInstanceForCurentThread, wearMaskcompare2Face, compareCodes, compareFaces, compareFeatures, detectAndCompare2Face, detectCenterFace, detectMaxFace, detectMaxFaceAndGetCodeInfo, findMaxFace, getFeature, getFeatureSeInstance, hasFace, makeOpenedLazyImage, matDetectMaxFaceAndGetCodeInfo, matHasFace, matSearchFaces, searchFacespublic static final FaceApiMtfV2Android INSTANCE
protected FaceApiMtfV2Android()
public static FaceApiMtfV2Android getInstance()
public net.facelib.akcore.LicenseManager getLicenseManager()
protected double nativeCompareCode(byte[] code1, byte[] code2)
nativeCompareCode 在类中 net.gdface.sdk.BaseFaceApiLocalprotected byte[] nativeGetFaceFeature(net.gdface.image.MatType matType, byte[] imgMatrix, int width, int height, net.gdface.sdk.CodeInfo faceInfo)
nativeGetFaceFeature 在类中 net.gdface.sdk.BaseFaceApiLocalpublic void bindNativeFeatureInstanceForCurentThread()
bindNativeFeatureInstanceForCurentThread 在类中 net.gdface.sdk.BaseFaceApiLocalpublic void unbindNativeFeatureInstanceForCurentThread()
unbindNativeFeatureInstanceForCurentThread 在类中 net.gdface.sdk.BaseFaceApiLocalpublic net.facelib.akcore.ProductInitStatus testV2Init(java.util.concurrent.atomic.AtomicLong initMills)
initMills - [out]如果不为null返回返回初始化耗时(毫秒)public org.apache.commons.pool2.impl.GenericObjectPool<V2AndroidBridge> getFeaturePool()
public static org.apache.commons.pool2.impl.GenericObjectPoolConfig getPoolConfig()
public static void setPoolConfig(org.apache.commons.pool2.impl.GenericObjectPoolConfig poolConfig)
poolConfig - 要设置的 poolConfigCopyright © 2021. All Rights Reserved.