在oppo R15 初始化 AuthorityStatus =8 导致 没有执行以下代码:
if (FaceSDK.getAuthorityStatus() == 0) {
FaceSDK.getARGBFromYUVimg(imageData, mArgbData,
imageWidth, imageHeight,
360 - mDegree, 1);
// rows=768-cols=432
FaceTracker.ErrCode errorCode = mFaceTracker.faceVerification(
mArgbData,
imageWidth, imageHeight,
FaceSDK.ImgType.ARGB,
FaceTracker.ActionType.RECOGNIZE);
mErrCode = errorCode.ordinal();
faces = mFaceTracker.get_TrackedFaceInfo();
long endingTime = System.nanoTime();
Float fps = 1000000000.0f / (endingTime - startTime + 1);
if (faces != null && faces.length > 0) {
// Log.e(TAG, "face decode fps " + fps + "-" + errorCode.name());
if (mErrCode == FaceTracker.ErrCode.OK.ordinal()) {
mSaveFaceArgbData = mArgbData;
}
}
}
收藏
点赞
0
个赞
请登录后评论
TOP
切换版块
=8貌似是远程鉴权失败,核对下授权文件是否过期,配置是否正确