public float depthLiveness(byte[] data, int width, int height, int[] landmarks) { float depthScore = FaceSDK.Run_livenessSilentPredictByte(FaceSDK.LivenessTypeId.LiveidDepth, data, height, width, 2, landmarks); return(depthScore); }
public float irLiveness(byte[] data, int width, int height, int[] landmarks) { float irScore = FaceSDK.Run_livenessSilentPredictByte(FaceSDK.LivenessTypeId.LiveidIr, data, height, width, 0, landmarks); return(irScore); }