16 #ifndef VSDK_VISAGEFACERECOGNITION_H 17 #define VSDK_VISAGEFACERECOGNITION_H 20 #define VISAGE_ANALYSER_DECLSPEC 23 #ifdef VISAGE_ANALYSER_EXPORTS 24 #define VISAGE_ANALYSER_DECLSPEC __declspec(dllexport) 26 #define VISAGE_ANALYSER_DECLSPEC __declspec(dllimport) 43 int VISAGE_DECLSPEC initializeLicenseManager(
const char *licenseKeyFileFolder);
91 VNN::INNFrontend* m_frontend;
92 VNN::INNRunner* m_runner;
93 std::vector<std::pair<short*, std::string > > m_descriptors;
94 std::vector<std::pair<float, std::string > > m_result;
152 int getDescriptorSize();
204 int extractDescriptor(
FaceData *facedata,
VsImage *image,
short *descriptor);
214 float descriptorsSimilarity(
short *first_descriptor,
short *second_descriptor);
225 int addDescriptor(
VsImage *image,
FaceData *facedata,
const char *name);
233 int addDescriptor(
short *descriptor,
const char *name);
238 int getDescriptorCount();
245 int getDescriptorName(
char* name,
int index);
252 int replaceDescriptorName(
const char* name,
int index);
258 int removeDescriptor(
int index);
265 int saveGallery(
const char *file_name);
272 int loadGallery(
const char *file_name);
287 int recognize(
short *descriptor,
int n,
const char** names,
float* similarities);
VisageFaceRecognition class contains a face recognition algorithm capable of measuring similarity bet...
bool is_initialized
If the model used in the VisageFaceRecognition is loaded and initialized successfully value of the is...
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.