|
visageSDK
|
Objective-C wrapper of the VisageSDK::VisageLivenessBlink class. More...
#import <objc_VisageLivenessBlink.h>
Instance Methods | |
| (int) | - update:withVsImage: |
| Method that should be called for each frame until the action is verified. More... | |
| (void) | - reset |
| Resets action. More... | |
Properties | |
| NSInteger | STATE_WAIT_FOR_FRONTAL |
| Describes action's state where face in the frame is not frontal (head rotations larger than 0.3 rad, ~17 degrees). More... | |
| NSInteger | STATE_ACTION_INITIALIZING |
| Describes action's state while the action is initializing, i.e. More... | |
| NSInteger | STATE_WAIT_FOR_STABLE |
| Describes action's state when user is not keeping his head still. | |
| NSInteger | STATE_WAIT_FOR_ACTION |
| Describes action's state when blink is trying to be verified. | |
Objective-C wrapper of the VisageSDK::VisageLivenessBlink class.
Definition at line 21 of file objc_VisageLivenessBlink.h.
| - (void) reset |
| - (int) update: | (const FaceData *) | faceData | |
| withVsImage: | (VisageImage *) | frame | |
Method that should be called for each frame until the action is verified.
It should only be called when tracking status is TRACK_STAT_OK. Returns action's current state so appropriate message and/or image can be displayed if user interaction is required (e.g. warning for user or instruction on how to perform blink).
| faceData | face data obtained from the tracker |
| frame | current frame to be processed by action |
Implements VisageLivenessAction.
|
readatomicassign |
Describes action's state while the action is initializing, i.e.
storing initial face data sequence. After each reset, action needs to reinitialize.
Definition at line 39 of file objc_VisageLivenessBlink.h.
|
readatomicassign |
Describes action's state where face in the frame is not frontal (head rotations larger than 0.3 rad, ~17 degrees).
If this state is detected, the action will be reset.
Definition at line 33 of file objc_VisageLivenessBlink.h.
1.8.15