visageSDK
objc_VisageFeaturesDetector.h
1 //
2 // objc_VisageFeaturesDetector.h
3 // SwiftWrapper
4 //
5 // Created by Visage Technologies on 25/08/2020.
6 // Copyright © 2020 Visage Technologies. All rights reserved.
7 //
8 
9 #ifndef VisageFeaturesDetector_h
10 #define VisageFeaturesDetector_h
11 
12 #ifdef __cplusplus
13 #include "VisageFeaturesDetector.h"
14 #endif
15 
16 #import <Foundation/Foundation.h>
17 #import "objc_FaceDataCollection.h"
18 #import "objc_VisageImage.h"
19 
23 @interface VisageFeaturesDetector : NSObject {
24  @private
25  #ifdef __cplusplus
27  #endif
28 }
29 
51 - (VisageFeaturesDetector *)init:(NSString *)detectorConfigFile;
52 
85 - (int)detectFaces:(VisageImage *)frame withRect:(NSMutableArray *)faces withMaxFaces:(int)maxFaces withMinFaceScale:(float)minFaceScale withMaxFaceScale:(float)maxFaceScale withRefinementStep:(bool)useRefinementStep;
86 
122 - (int)detectFacialFeatures:(VisageImage *)frame withFaceData:(FaceDataCollection *)output withMaxFaces:(int)maxFaces withMinFaceScale:(float)minFaceScale withMaxFaceScale:(float)maxFaceScale withOutputOnly2DFeatures:(bool)outputOnly2DFeatures;
123 @end
124 
125 #endif /* VisageFeaturesDetector_h */
Faces and facial features detector implementation.
Objective-C wrapper of the VisageSDK::VisageFeaturesDetector class.
Array-like structure capable of storing FaceData instances for multiple faces.