Banuba SDK
|
Face tracker component. More...
#import <BNBFaceTracker.h>
Instance Methods | |
(void) | - setFace: |
Sets face to face tracker. More... | |
(nullable BNBFace *) | - getFace |
(BOOL) | - hasFace |
true if fase with index, specified in face asset was recognized More... | |
(BOOL) | - isMouthOpen |
true if mouth is open More... | |
(BOOL) | - isSmiling |
true if is smiling More... | |
(BOOL) | - isEyebrowsUp |
true if eyebrows up More... | |
(BOOL) | - isDisgust |
true if disgust More... | |
(nonnull BNBEyesStatus *) | - getEyesStatus |
(nonnull NSArray< BNBEar * > *) | - getEars |
(nullable BNBComponent *) | - asComponent |
(BNBGender) | - getGender |
Class Methods | |
(nullable BNBFaceTracker *) | + create |
Fabric method for face tracker creating. More... | |
Face tracker component.
All transformations components of entity with face_tracker component will update relatively face, which index was specified in face asset. Also updates face asset resources. Subclass of component.
Definition at line 23 of file BNBFaceTracker.h.
- (nullable BNBComponent *) asComponent |
+ (nullable BNBFaceTracker *) create |
Fabric method for face tracker creating.
- (nonnull NSArray<BNBEar *> *) getEars |
- (nonnull BNBEyesStatus *) getEyesStatus |
- (nullable BNBFace *) getFace |
- (BNBGender) getGender |
- (BOOL) hasFace |
true if fase with index, specified in face asset was recognized
- (BOOL) isDisgust |
true if disgust
- (BOOL) isEyebrowsUp |
true if eyebrows up
- (BOOL) isMouthOpen |
true if mouth is open
- (BOOL) isSmiling |
true if is smiling
- (void) setFace: | (nullable BNBFace *) | face |
Sets face to face tracker.
face | (face): face asset |