Liveness
要使用 Liveness(活体检测)功能,需要在 SDK 构造函数中将 activeFaceLiveness 参数设置为 true。如下例所示:
self.faceRecognitionConfig = ZaigIosFaceRecognitionConfiguration(
// ... 其他配置
documentNumber: "000.000.000-00",
activeFaceLiveness: true
// ...
)