This guide has moved. Liveness detection for Android and iOS video KYC apps is now part of our guide to what liveness detection is and how to add it to a video call.

Liveness detection checks that a face shown to a camera comes from a real person who is present at that moment, not from a photo, screen replay, mask or deepfake.

On Android and iOS, the VideoSDK captureImage() method captures a frame from the local participant's camera (Android docs, iOS docs). Your server then sends the frame to the Face Spoof Detection API and the Face Match API, which the docs list on the Enterprise plan. The liveness detection guide has the steps and the tested code.