Getting Dynamic Liveness estimation results#
Dynamic Liveness estimation verifies the authenticity of a user's identity through real-time interactions. This document outlines how to capture and integrate interaction frames into your application results, ensuring comprehensive reporting.
In LUNA ID for Android#
- Enable interaction frame saving
Set thesavingInteractionFramesparameter totrue. By default, the parameter is set tofalse. - Capture interaction frames
Capture frames when specific statuses (HEADTRACK_STATE_IN_PROGRESS_BACKWARDorINTERACTION_EYES_CLOSED) are achieved. - Store and pass interaction frames
Store the captured frames in theinteractionFrameslist and pass them to theresultobject. - Generate report
Use the captured frames and their corresponding interaction types to generate a detailed report within your application.
In LUNA ID for iOS#
- Enable interaction frame saving
Implement thefunc interactionsFinish(with interactionFrames: [LCInteractionFrameInfo])method in your final application. - Generate report
Use the captured frames and their corresponding interaction types to generate a detailed report within your application.
The LCInteractionFrameInfo is used to pass information for report generation. It contains data about interaction frames and interaction types:
LCInteractionsType- An enumeration that defines the interaction type:LCInteractionsType_Head_left- User interaction via rotating the head to the left along the Y axis.LCInteractionsType_Head_right- User interaction via rotating the head to the right along the Y axis.LCInteractionsType_Head_down- User interaction via pitching the head down along the X axis.LCInteractionsType_Head_up- User interaction via pitching the head up along the X axis.LCInteractionsType_Blink- User interaction via blinking.
LCInteractionFrameInfo- A class containing information about the interaction frame:frame- The interaction frame as aUIImageobject.interactionsType- The interaction type corresponding to one of theLCInteractionsTypevalues.