17 #ifndef __VisageFeaturesDetector_h__
18 #define __VisageFeaturesDetector_h__
21 #define VISAGE_DECLSPEC
25 #define VISAGE_DECLSPEC __declspec(dllexport)
27 #define VISAGE_DECLSPEC __declspec(dllimport)
43 int VISAGE_DECLSPEC initializeLicenseManager(
const char *licenseKeyFileFolder);
56 class DeepAlignmentRuntime;
57 class VisageConfiguration;
192 int detectFaces(
VsImage* frame, VsRect* faces,
int maxFaces = 1,
float minFaceScale = 0.1f,
float maxFaceScale = 1.0f,
bool useRefinementStep =
true);
229 int detectFacialFeatures(
VsImage* frame,
FaceData* output,
int maxFaces = 1,
float minFaceScale = 0.1f,
float maxFaceScale = 1.0f,
bool outputOnly2DFeatures =
false);
231 bool fitModelToFaceD(
FDP *input,
FaceData *output,
VsImage *frame,
float pose[6],
bool freezeRot =
false,
bool freezePos =
false);
235 Candide3Model* m_model;
239 void calculateFDP(
FDP* f,
int w,
int h, VsMat* vert,
bool _3D);
240 void setFDPIndices(
FDP* f);
242 bool configureDetector();
244 bool loadModel(Candide3Model **model_,
int modelType);
246 VisageDetector* m_detector;
247 PupilRefiner* m_pupilRefiner;
248 EarsRefiner* m_earsRefiner;
249 DeepAlignmentRuntime* m_deepAlignmentRuntime;
251 VNNFaceFinder* m_faceFinder;
253 Candide3Model* m_au_model;
254 Candide3Model* m_mesh_model;
261 char m_detectCfgDirPath[1024];
265 #endif // __VisageFeaturesDetector_h__
Faces and facial features detector implementation.
VisageConfiguration is a class used to change, apply, load and save configuration parameters used by ...
const VISAGE_DECLSPEC char * getVisageSDKVersion(void)
Returns visageSDK version and revision number.
Face data structure, used as container for all face tracking and detection results.
Feature points of a face.