|
visageSDK
|
Objective-C wrapper of the native VisageSDK::VisageConfiguration class. More...
#import <objc_VisageConfiguration.h>
Inherits NSObject.
Instance Methods | |
| (VisageConfiguration *) | - initWithConfigFile: |
| Constructor. More... | |
| (VisageConfiguration *) | - initWithConfiguration: |
| Copy constructor. More... | |
| (id) | - copyWithZone: |
| Copy operator. More... | |
| (float) | - getCameraFocus |
| Returns the value of the camera_focus parameter. More... | |
| (float) | - getRecoveryTimeout |
| Returns the value of the recovery_timeout parameter. More... | |
| (NSArray *) | - getSmoothingFactors |
| Returns the value of the smoothing_factors parameter. More... | |
| (int) | - getEnableSmoothing |
| Returns the value of the enable_smoothing parameter. More... | |
| (int) | - getTemporallyDenoiseInput |
| Returns the value of the temporally_denoise_input parameter. More... | |
| (NSString *) | - getVftDataPath |
| Returns the value of the vft_data_path parameter. More... | |
| (NSString *) | - getVfdDataPath |
| Returns the value of the vfd_data_path parameter. More... | |
| (NSString *) | - getPrDataPath |
| Returns the value of the pr_data_path parameter. More... | |
| (NSString *) | - getErDataPath |
| Returns the value of the er_data_path parameter. More... | |
| (int) | - getPoseModelAuCount |
| Returns the number of action units for the pose fitting model. More... | |
| (int) | - getAuModelAuCount |
| Returns the number of action units for the action unit fitting model. More... | |
| (int) | - getMeshModelAuCount |
| Returns the number of action units for the mesh fitting model. More... | |
| (int) | - getPoseModelSuCount |
| Returns the number of shape units for the pose fitting model. More... | |
| (int) | - getAuModelSuCount |
| Returns the number of shape units for the action unit fitting model. More... | |
| (int) | - getMeshModelSuCount |
| Returns the number of shape units for the mesh fitting model. More... | |
| (int) | - getProcessEyes |
| Returns the value of the process_eyes parameter. More... | |
| (int) | - getRefineLandmarks |
| Returns the value of the refine_landmarks parameter. More... | |
| (int) | - getRefineEars |
| Returns the value of the refine_ears parameter. More... | |
| (float) | - getMinFaceScale |
| Returns the value of the min_face_scale parameter. More... | |
| (float) | - getMaxFaceScale |
| Returns the value of the max_face_scale parameter. More... | |
| (float) | - getFaceDetectorSensitivity |
| Returns the value of the face_detector_sensitivity parameter. More... | |
| (NSString *) | - getPoseFittingModelConfiguration |
| Returns the value of the pose_fitting_model_configuration parameter. More... | |
| (NSString *) | - getAuFittingModelConfiguration |
| Returns the value of the au_fitting_model_configuration parameter. More... | |
| (NSString *) | - getMeshFittingModelConfiguration |
| Returns the value of the mesh_fitting_model_configuration parameter. More... | |
| (bool) | - setCameraFocus: |
| Sets the value of the camera_focus parameter. More... | |
| (bool) | - setRecoveryTimeout: |
| Sets the value of the recovery_timeout parameter. More... | |
| (bool) | - setSmoothingFactors: |
| Sets the values of the smoothing_factors parameter. More... | |
| (bool) | - setEnableSmoothing: |
| Sets the value of the enable_smoothing parameter. More... | |
| (bool) | - setTemporallyDenoiseInput: |
| Sets the value of the temporally_denoise_input parameter. More... | |
| (bool) | - setVftDataPath: |
| Sets the value of the vft_data_path parameter. More... | |
| (bool) | - setVfdDataPath: |
| Sets the value of the vfd_data_path parameter. More... | |
| (bool) | - setPrDataPath: |
| Sets the value of the pr_data_path parameter. More... | |
| (bool) | - setErDataPath: |
| Sets the value of the er_data_path parameter. More... | |
| (bool) | - setProcessEyes: |
| Sets the value of the process_eyes parameter. More... | |
| (bool) | - setRefineLandmarks: |
| Sets the value of the refine_landmarks parameter. More... | |
| (bool) | - setRefineEars: |
| Sets the value of the refine_ears parameter. More... | |
| (bool) | - setMinFaceScale: |
| Sets the value of the min_face_scale parameter. More... | |
| (bool) | - setMaxFaceScale: |
| Sets the value of the max_face_scale parameter. More... | |
| (bool) | - setFaceDetectorSensitivity: |
| Sets the value of the face_detector_sensitivity parameter. More... | |
| (bool) | - setPoseFittingModelConfiguration: |
| Sets the value of the pose_fitting_model_configuration parameter. More... | |
| (bool) | - setAuFittingModelConfiguration: |
| Sets the value of the au_fitting_model_configuration parameter. More... | |
| (bool) | - setMeshFittingModelConfiguration: |
| Sets the value of the mesh_fitting_model_configuration parameter. More... | |
| (void) | - enableAuModel |
| Enables the use of the 3D model used to estimate action units (au_fitting_model configuration parameter). | |
| (void) | - enableMeshModel |
| Enables the use of the fine 3D mesh (mesh_fitting_model configuration parameter). | |
| (void) | - disableAuModel |
| Disables the use of the 3D model used to estimate action units (au_fitting_model configuration parameter). | |
| (void) | - disableMeshModel |
| Disables the use of the fine 3D mesh (mesh_fitting_model configuration parameter). | |
| (bool) | - setConfigurationFile: |
| Reads and loads values from a specified configuration (*.cfg) file. More... | |
Objective-C wrapper of the native VisageSDK::VisageConfiguration class.
Definition at line 19 of file objc_VisageConfiguration.h.
| - (id) copyWithZone: | (NSZone *) | zone |
Copy operator.
| zone | Zone. |
| - (NSString *) getAuFittingModelConfiguration |
Returns the value of the au_fitting_model_configuration parameter.
| - (int) getAuModelAuCount |
Returns the number of action units for the action unit fitting model.
| - (int) getAuModelSuCount |
Returns the number of shape units for the action unit fitting model.
| - (float) getCameraFocus |
Returns the value of the camera_focus parameter.
| - (int) getEnableSmoothing |
Returns the value of the enable_smoothing parameter.
| - (NSString *) getErDataPath |
Returns the value of the er_data_path parameter.
| - (float) getFaceDetectorSensitivity |
Returns the value of the face_detector_sensitivity parameter.
| - (float) getMaxFaceScale |
Returns the value of the max_face_scale parameter.
| - (NSString *) getMeshFittingModelConfiguration |
Returns the value of the mesh_fitting_model_configuration parameter.
| - (int) getMeshModelAuCount |
Returns the number of action units for the mesh fitting model.
| - (int) getMeshModelSuCount |
Returns the number of shape units for the mesh fitting model.
| - (float) getMinFaceScale |
Returns the value of the min_face_scale parameter.
| - (NSString *) getPoseFittingModelConfiguration |
Returns the value of the pose_fitting_model_configuration parameter.
| - (int) getPoseModelAuCount |
Returns the number of action units for the pose fitting model.
| - (int) getPoseModelSuCount |
Returns the number of shape units for the pose fitting model.
| - (NSString *) getPrDataPath |
Returns the value of the pr_data_path parameter.
| - (int) getProcessEyes |
Returns the value of the process_eyes parameter.
| - (float) getRecoveryTimeout |
Returns the value of the recovery_timeout parameter.
| - (int) getRefineEars |
Returns the value of the refine_ears parameter.
| - (int) getRefineLandmarks |
Returns the value of the refine_landmarks parameter.
| - (NSArray *) getSmoothingFactors |
Returns the value of the smoothing_factors parameter.
| - (int) getTemporallyDenoiseInput |
Returns the value of the temporally_denoise_input parameter.
| - (NSString *) getVfdDataPath |
Returns the value of the vfd_data_path parameter.
| - (NSString *) getVftDataPath |
Returns the value of the vft_data_path parameter.
| - (VisageConfiguration *) initWithConfigFile: | (NSString *) | configFile |
Constructor.
Creates a new instance of the VisageConfiguration class by reading a specified configuration (*.cfg) file.
| configFile | Path to a specified configuration (*.cfg) file. |
| - (VisageConfiguration *) initWithConfiguration: | (VisageConfiguration *) | configuration |
Copy constructor.
Creates a new instance of the VisageConfiguration class by copying an already existing instance.
| configuration | Reference to pre-existing VisageConfiguration object. |
| - (bool) setAuFittingModelConfiguration: | (NSString *) | au_fitting_model_configuration |
Sets the value of the au_fitting_model_configuration parameter.
This function sets the .cfg (au_fitting_model_configuration) file used for action unit fitting. The path to the model configuration must be relative to the configuration file used for tracker initialization. The model will be disabled if the passed string is empty ("") or "none".
NOTE: Changing the model configuration affects the sizes of arrays in the FaceData object populated with values from the model file.
| au_fitting_model_configuration | NSString path to the model configuration file |
| - (bool) setCameraFocus: | (float) | camera_focus |
Sets the value of the camera_focus parameter.
Value must be greater than zero.
| camera_focus | Float value |
| - (bool) setConfigurationFile: | (NSString *) | trackerConfigFile |
Reads and loads values from a specified configuration (*.cfg) file.
| trackerConfigFile | Path to a configuration (*.cfg) file |
| - (bool) setEnableSmoothing: | (int) | enable_smoothing |
Sets the value of the enable_smoothing parameter.
Value can be 0, 1.
| enable_smoothing | Integer value |
| - (bool) setErDataPath: | (NSString *) | er_data_path |
Sets the value of the er_data_path parameter.
The path must be relative to the configuration file used for tracker initialization and not empty.
| er_data_path | NSString path to the folder containing ears' refinement data files |
| - (bool) setFaceDetectorSensitivity: | (float) | face_detector_sensitivity |
Sets the value of the face_detector_sensitivity parameter.
Value must be greater than 0.0 and less than or equal to 1.0.
| face_detector_sensitivity | Float value |
| - (bool) setMaxFaceScale: | (float) | max_face_scale |
Sets the value of the max_face_scale parameter.
Value must be greater than 0.0 and less than or equal to 1.0.
| max_face_scale | Float value |
| - (bool) setMeshFittingModelConfiguration: | (NSString *) | mesh_fitting_model_configuration |
Sets the value of the mesh_fitting_model_configuration parameter.
This function sets the .cfg (mesh_fitting_model_configuration) file used for mesh fitting. The path to the model configuration must be relative to the configuration file used for tracker initialization. The model will be disabled if the passed string is empty ("") or "none".
NOTE: Changing the model configuration affects the sizes of arrays in the FaceData object populated with values from the model file.
| mesh_fitting_model_configuration | NSString path to the model configuration file |
| - (bool) setMinFaceScale: | (float) | min_face_scale |
Sets the value of the min_face_scale parameter.
Value must be greater than 0.0 and less than or equal to 1.0.
| min_face_scale | Float value |
| - (bool) setPoseFittingModelConfiguration: | (NSString *) | pose_fitting_model_configuration |
Sets the value of the pose_fitting_model_configuration parameter.
This function sets the .cfg (pose_fitting_model_configuration) file used for pose fitting. The path to the model configuration must be relative to the configuration file used for tracker initialization. The model will be disabled if the passed string is empty ("") or "none".
NOTE: Changing the model configuration affects the sizes of arrays in the FaceData object populated with values from the model file.
| pose_fitting_model_configuration | NSString path to the model configuration file |
| - (bool) setPrDataPath: | (NSString *) | pr_data_path |
Sets the value of the pr_data_path parameter.
The path must be relative to the configuration file used for tracker initialization and not empty.
| pr_data_path | NSString path to the folder containing pupils' refinement data files |
| - (bool) setProcessEyes: | (int) | process_eyes |
Sets the value of the process_eyes parameter.
Value can only be 0, 1, 2, or 3.
| process_eyes | Integer value |
| - (bool) setRecoveryTimeout: | (float) | recovery_timeout |
Sets the value of the recovery_timeout parameter.
Value must be greater than or equal to zero and not a NaN value.
| recovery_timeout | Float value |
| - (bool) setRefineEars: | (int) | refine_ears |
Sets the value of the refine_ears parameter.
Value can only be 0 or 1.
| refine_ears | Integer value |
| - (bool) setRefineLandmarks: | (int) | refine_landmarks |
Sets the value of the refine_landmarks parameter.
Value can be 0, 1.
| refine_landmarks | Integer value |
| - (bool) setSmoothingFactors: | (NSArray *) | smoothing_factors |
Sets the values of the smoothing_factors parameter.
Values must not be a NaN value.
| smoothing_factors | Reference to a NSArray containing float values |
| - (bool) setTemporallyDenoiseInput: | (int) | temporally_denoise_input |
Sets the value of the temporally_denoise_input parameter.
Value can be 0, 1.
| temporally_denoise_input | Integer value |
| - (bool) setVfdDataPath: | (NSString *) | vfd_data_path |
Sets the value of the vfd_data_path parameter.
The path must be relative to the configuration file used for tracker initialization and not empty.
| vfd_data_path | NSString path to the folder containing algorithm data file required by tracker and detector |
| - (bool) setVftDataPath: | (NSString *) | vft_data_path |
Sets the value of the vft_data_path parameter.
The path must be relative to the configuration file used for tracker initialization and not empty.
| vft_data_path | NSString path to the folder containing tracking algorithm data files required by tracker |
1.8.15