Luxand FaceSDK – Initialization

FSDK_Initialize Function

Initializes the FaceSDK library. Should be called before using any face recognition functions. 

C++ Syntax:

int _FSDKIMPORT_ FSDK_Initialize(char* DataFilesPath); 

Delphi Syntax:

function FSDK_Initialize(DataFilesPath: PChar): integer; cdecl; external 'FaceSDK.dll'; 

Parameters:

DataFilesPath – the pointer to the null-terminated string that specifies the path where the FaceSDK data files (data1.pak, data2.pak, data3.pak, data4.pak, data5.pak, fdata1.pak, cache.dat) are stored. An empty string means the current directory. 

Return Value:

The function returns FSDK_OK if successful or FSDK_IO_ERROR if an I/O error occurs.

FSDK_Finalize Function

Finalizes the FaceSDK library. Should be called when the application is exited. 

C++ Syntax:

int _FSDKIMPORT_ FSDK_Finalize();

Delphi Syntax:

function FSDK_Finalize: integer; cdecl; external 'FaceSDK.dll';

Return Value:

The function returns FSDK_OK if successful.

Search

Solutions   |   Products   |   Download   |   Support   |   Development   |   Press   |   About Luxand © 2005-2008 Luxand Development