BNBFaceData

Objective-C

@interface BNBFaceData : NSObject

+ (nullable BNBFaceData *)create;

- (nonnull NSArray<NSNumber *> *)getLandmarks;

- (void)setLandmarks:(nonnull NSArray<NSNumber *> *)lms;

- (nonnull NSArray<NSNumber *> *)getLatents;

- (void)setLatents:(nonnull NSArray<NSNumber *> *)lats;

- (nonnull NSArray<NSNumber *> *)getVertices;

- (void)setVertices:(nonnull NSArray<NSNumber *> *)verts;

- (nonnull NSArray<NSNumber *> *)getEarsLandmarks;

- (void)setEarsLandmarks:(nonnull NSArray<NSNumber *> *)lms;

- (nonnull NSArray<NSNumber *> *)getEarsLatents;

- (void)setEarsLatents:(nonnull NSArray<NSNumber *> *)lats;

- (nonnull NSArray<NSNumber *> *)getBrowsLms;

- (void)setBrowsLms:(nonnull NSArray<NSNumber *> *)lms;

- (nonnull BNBCameraPosition *)getCameraPosition;

- (void)setCameraPosition:(nonnull BNBCameraPosition *)cam;

/** filled when face_match feature is enabled */
- (nonnull NSArray<NSNumber *> *)getEmbeddings;

- (BOOL)hasFace;

- (nonnull BNBPixelRect *)getFaceRect;

- (void)setFaceRect:(nonnull BNBPixelRect *)rect;

- (BNBGender)getGender;

- (void)setGender:(BNBGender)g;

@end

Swift

class BNBFaceData : NSObject

Undocumented

  • Undocumented

    Declaration

    Objective-C

    + (nullable BNBFaceData *)create;

    Swift

    class func create() -> BNBFaceData?
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getLandmarks;

    Swift

    func getLandmarks() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setLandmarks:(nonnull NSArray<NSNumber *> *)lms;

    Swift

    func setLandmarks(_ lms: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getLatents;

    Swift

    func getLatents() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setLatents:(nonnull NSArray<NSNumber *> *)lats;

    Swift

    func setLatents(_ lats: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getVertices;

    Swift

    func getVertices() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setVertices:(nonnull NSArray<NSNumber *> *)verts;

    Swift

    func setVertices(_ verts: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getEarsLandmarks;

    Swift

    func getEarsLandmarks() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setEarsLandmarks:(nonnull NSArray<NSNumber *> *)lms;

    Swift

    func setEarsLandmarks(_ lms: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getEarsLatents;

    Swift

    func getEarsLatents() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setEarsLatents:(nonnull NSArray<NSNumber *> *)lats;

    Swift

    func setEarsLatents(_ lats: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getBrowsLms;

    Swift

    func getBrowsLms() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (void)setBrowsLms:(nonnull NSArray<NSNumber *> *)lms;

    Swift

    func setBrowsLms(_ lms: [NSNumber])
  • Undocumented

    Declaration

    Objective-C

    - (nonnull BNBCameraPosition *)getCameraPosition;

    Swift

    func getCameraPosition() -> BNBCameraPosition
  • Undocumented

    Declaration

    Objective-C

    - (void)setCameraPosition:(nonnull BNBCameraPosition *)cam;

    Swift

    func setCameraPosition(_ cam: BNBCameraPosition)
  • filled when face_match feature is enabled

    Declaration

    Objective-C

    - (nonnull NSArray<NSNumber *> *)getEmbeddings;

    Swift

    func getEmbeddings() -> [NSNumber]
  • Undocumented

    Declaration

    Objective-C

    - (BOOL)hasFace;

    Swift

    func hasFace() -> Bool
  • Undocumented

    Declaration

    Objective-C

    - (nonnull BNBPixelRect *)getFaceRect;

    Swift

    func getFaceRect() -> BNBPixelRect
  • Undocumented

    Declaration

    Objective-C

    - (void)setFaceRect:(nonnull BNBPixelRect *)rect;

    Swift

    func setFace(_ rect: BNBPixelRect)
  • Undocumented

    Declaration

    Objective-C

    - (BNBGender)getGender;

    Swift

    func getGender() -> BNBGender
  • Undocumented

    Declaration

    Objective-C

    - (void)setGender:(BNBGender)g;

    Swift

    func setGender(_ g: BNBGender)