|
visageSDK
|
Objective-C wrapper of the VisageSDK::VisageLivenessAction class. More...
#import <objc_VisageLivenessAction.h>
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. | |
Objective-C wrapper of the VisageSDK::VisageLivenessAction class.
Definition at line 23 of file objc_VisageLivenessAction.h.
| - (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.
| faceData | face data of the current frame. |
| frame | current frame that needs to be processed by action. |
Implemented in VisageLivenessBlink, VisageLivenessBrowRaise, and VisageLivenessSmile.
1.8.15