public abstract class BaseCassdk
extends net.gdface.sdk.BaseFaceApiLocal
| 限定符 | 构造器和说明 |
|---|---|
protected |
BaseCassdk() |
| 限定符和类型 | 方法和说明 |
|---|---|
net.gdface.sdk.CodeInfo[] |
detectAndGetCodeInfo(net.gdface.image.BaseLazyImage lazyImg,
int faceNum) |
java.util.List<net.gdface.sdk.CodeInfo> |
detectFace(net.gdface.image.BaseLazyImage lazyImg) |
protected net.gdface.sdk.CodeInfo |
getCodeFromImageMatrix(byte[] imgMatrix,
int width,
int height,
net.gdface.sdk.CodeInfo faceInfo,
java.util.concurrent.atomic.AtomicBoolean hasFail) |
java.util.List<net.gdface.sdk.CodeInfo> |
getCodeInfo(net.gdface.image.BaseLazyImage lazyImg,
int faceNum,
java.util.List<net.gdface.sdk.CodeInfo> facePos) |
protected byte[] |
getMatrixData(net.gdface.image.BaseLazyImage lazyImg) |
protected abstract net.gdface.sdk.CodeInfo[] |
nativeDetectAndGetFeatures(byte[] imgMatrix,
int width,
int height)
检测并提取特征
|
protected abstract void |
nativeDetectFace(byte[] imgRGB,
int width,
int height,
java.util.List<net.gdface.sdk.CodeInfo> faceInfo)
检测人脸
|
protected abstract byte[] |
nativeGetFaceFeature(byte[] imgMatrix,
int width,
int height,
net.gdface.sdk.CodeInfo faceInfo)
提取特征
|
protected abstract byte[][] |
nativeGetFaceFeatures(byte[] imgMatrix,
int width,
int height,
java.util.List<net.gdface.sdk.CodeInfo> facePos)
根据检测到的人脸位置
facePos,提取一组特征 |
compareCode, detectAndGetCodeInfo, detectFace, doCompareCode, getCodeInfo, getFailFolder, getFeatureSe, isLocal, makeOpenedLazyImage, saveFail, setFailFolderprotected abstract void nativeDetectFace(byte[] imgRGB,
int width,
int height,
java.util.List<net.gdface.sdk.CodeInfo> faceInfo)
imgRGB - width - height - faceInfo - protected abstract byte[] nativeGetFaceFeature(byte[] imgMatrix,
int width,
int height,
net.gdface.sdk.CodeInfo faceInfo)
imgMatrix - width - height - faceInfo - protected abstract byte[][] nativeGetFaceFeatures(byte[] imgMatrix,
int width,
int height,
java.util.List<net.gdface.sdk.CodeInfo> facePos)
facePos,提取一组特征imgMatrix - width - height - facePos - protected abstract net.gdface.sdk.CodeInfo[] nativeDetectAndGetFeatures(byte[] imgMatrix,
int width,
int height)
imgMatrix - width - height - public java.util.List<net.gdface.sdk.CodeInfo> detectFace(net.gdface.image.BaseLazyImage lazyImg)
throws net.gdface.image.UnsupportedFormatException
detectFace 在类中 net.gdface.sdk.BaseFaceApiLocalnet.gdface.image.UnsupportedFormatExceptionprotected net.gdface.sdk.CodeInfo getCodeFromImageMatrix(byte[] imgMatrix,
int width,
int height,
net.gdface.sdk.CodeInfo faceInfo,
java.util.concurrent.atomic.AtomicBoolean hasFail)
getCodeFromImageMatrix 在类中 net.gdface.sdk.BaseFaceApiLocalprotected byte[] getMatrixData(net.gdface.image.BaseLazyImage lazyImg)
throws net.gdface.image.UnsupportedFormatException
getMatrixData 在类中 net.gdface.sdk.BaseFaceApiLocalnet.gdface.image.UnsupportedFormatExceptionpublic java.util.List<net.gdface.sdk.CodeInfo> getCodeInfo(net.gdface.image.BaseLazyImage lazyImg,
int faceNum,
java.util.List<net.gdface.sdk.CodeInfo> facePos)
throws net.gdface.sdk.NotFaceDetectedException
getCodeInfo 在类中 net.gdface.sdk.BaseFaceApiLocalnet.gdface.sdk.NotFaceDetectedExceptionpublic net.gdface.sdk.CodeInfo[] detectAndGetCodeInfo(net.gdface.image.BaseLazyImage lazyImg,
int faceNum)
throws net.gdface.image.ImageErrorException,
net.gdface.sdk.NotFaceDetectedException
detectAndGetCodeInfo 在类中 net.gdface.sdk.BaseFaceApiLocalnet.gdface.image.ImageErrorExceptionnet.gdface.sdk.NotFaceDetectedExceptionCopyright © 2019. All Rights Reserved.