visageSDK
Instance Methods | List of all members
VisageLivenessAction Class Reference

Objective-C wrapper of the VisageSDK::VisageLivenessAction class. More...

#import <objc_VisageLivenessAction.h>

Inheritance diagram for VisageLivenessAction:
VisageLivenessBlink VisageLivenessBrowRaise VisageLivenessSmile

Instance Methods

(int) - update:withVsImage:
 Method used to process input data in order to confirm that the action has occured. More...
 
(void) - reset
 Resets action state.
 

Detailed Description

Objective-C wrapper of the VisageSDK::VisageLivenessAction class.

Definition at line 23 of file objc_VisageLivenessAction.h.

Method Documentation

◆ update:withVsImage:()

- (int) update: (const FaceData *)  faceData
withVsImage: (VisageImage *)  frame 

Method used to process input data in order to confirm that the action has occured.

This method is supposed to be called for each frame until the action is verified. If action uses faceData, it should only be called when tracking status is TRACK_STAT_OK. Method should return action's current state and in case user interaction is required, appropriate message and/or image can be displayed.

Parameters
faceDataface data of the current frame.
framecurrent frame that needs to be processed by action.
Returns
action's current state

Implemented in VisageLivenessBlink, VisageLivenessBrowRaise, and VisageLivenessSmile.


The documentation for this class was generated from the following file: