visageSDK
objc_VisageConfiguration.h
1 //
2 // objc_VisageConfiguration.h
3 // SwiftWrapper
4 //
5 // Created by Visage Technologies on 16/11/2020.
6 // Copyright © 2020 Visage Technologies. All rights reserved.
7 //
8 
9 #ifndef objc_VisageConfiguration_h
10 #define objc_VisageConfiguration_h
11 
12 #ifdef __cplusplus
13 #include "VisageConfiguration.h"
14 #endif
15 
19 @interface VisageConfiguration : NSObject {
20  @private
21  #ifdef __cplusplus
22  VisageSDK::VisageConfiguration* configuration;
23  #endif
24 }
25 
30 - (VisageConfiguration *)initWithConfigFile:(NSString *)configFile;
31 
36 - (VisageConfiguration *)initWithConfiguration:(VisageConfiguration *)configuration;
41 - (id)copyWithZone:(NSZone *)zone;
42 
47 - (float)getCameraFocus;
48 
53 - (float)getRecoveryTimeout;
54 
59 - (NSArray *)getSmoothingFactors;
60 
65 - (int)getEnableSmoothing;
66 
71 - (int)getTemporallyDenoiseInput;
72 
77 - (NSString *)getVftDataPath;
78 
83 - (NSString *)getVfdDataPath;
84 
89 - (NSString *)getPrDataPath;
90 
95 - (NSString *)getErDataPath;
96 
101 - (int)getPoseModelAuCount;
102 
107 - (int)getAuModelAuCount;
108 
113 - (int)getMeshModelAuCount;
114 
119 - (int)getPoseModelSuCount;
120 
125 - (int)getAuModelSuCount;
126 
131 - (int)getMeshModelSuCount;
132 
137 - (int)getProcessEyes;
138 
143 - (int)getRefineLandmarks;
144 
149 - (int)getRefineEars;
150 
155 - (float)getMinFaceScale;
156 
161 - (float)getMaxFaceScale;
162 
167 - (float)getFaceDetectorSensitivity;
168 
173 - (NSString *)getPoseFittingModelConfiguration;
174 
179 - (NSString *)getAuFittingModelConfiguration;
180 
185 - (NSString *)getMeshFittingModelConfiguration;
186 
194 - (bool)setCameraFocus:(float)camera_focus;
195 
203 - (bool)setRecoveryTimeout:(float)recovery_timeout;
204 
212 - (bool)setSmoothingFactors:(NSArray *)smoothing_factors;
213 
221 - (bool)setEnableSmoothing:(int)enable_smoothing;
222 
230 - (bool)setTemporallyDenoiseInput:(int)temporally_denoise_input;
231 
239 - (bool)setVftDataPath:(NSString *)vft_data_path;
240 
248 - (bool)setVfdDataPath:(NSString *)vfd_data_path;
249 
257 - (bool)setPrDataPath:(NSString *)pr_data_path;
258 
266 - (bool)setErDataPath:(NSString *)er_data_path;
267 
275 - (bool)setProcessEyes:(int)process_eyes;
276 
284 - (bool)setRefineLandmarks:(int)refine_landmarks;
285 
293 - (bool)setRefineEars:(int)refine_ears;
294 
302 - (bool)setMinFaceScale:(float)min_face_scale;
303 
311 - (bool)setMaxFaceScale:(float)max_face_scale;
312 
320 - (bool)setFaceDetectorSensitivity:(float)face_detector_sensitivity;
321 
333 - (bool)setPoseFittingModelConfiguration:(NSString *)pose_fitting_model_configuration;
334 
346 - (bool)setAuFittingModelConfiguration:(NSString *)au_fitting_model_configuration;
347 
359 - (bool)setMeshFittingModelConfiguration:(NSString *)mesh_fitting_model_configuration;
360 
364 - (void)enableAuModel;
365 
369 - (void)enableMeshModel;
370 
374 - (void)disableAuModel;
375 
379 - (void)disableMeshModel;
380 
385 - (bool)setConfigurationFile:(NSString *)trackerConfigFile;
386 @end
387 
388 #endif /* objc_VisageConfiguration_h */
VisageConfiguration is a class used to change, apply, load and save configuration parameters used by ...
Objective-C wrapper of the native VisageSDK::VisageConfiguration class.