Luxand FaceSDK – Initialization
FSDK_Initialize Function
Initializes the FaceSDK library. Should be called before using of any face detection functions.
C++ Syntax:
int FSDK_Initialize(char* DataFilesPath);
Delphi Syntax:
function FSDK_Initialize(DataFilesPath: PChar): integer;
C# Syntax:
int FSDK.InitializeLibrary();
VB Syntax:
Function FSDKVB_Initialize(ByRef DataFilesPath As Byte) As Long
Java and Android Syntax:
int FSDK.Initialize();
Parameters:
DataFilesPath – pointer to the null-terminated string specifying the path where facesdk.dll is stored. An empty string means the current directory. (Note: the parameter is not used since FaceSDK 1.8; an empty string might be passed as this parameter.)
Return Value:
Returns FSDKE_OK if successful or FSDK_IO_ERROR if an I/O error occurs.
Python Syntax:
def FSDK.Initialize(dataFilesPath='');
Return Value:
None
FSDK_Finalize Function
Finalizes the FaceSDK library. Should be called when the application is exited.
C++ Syntax:
int FSDK_Finalize();
Delphi Syntax:
function FSDK_Finalize: integer;
C# Syntax:
int FSDK.Finalize();
VB Syntax:
Function FSDKVB_Finalize() As Long
Java and Android Syntax:
int FSDK.Finalize();
Return Value:
Returns FSDKE_OK if successful.
Python Syntax:
def FSDK.Finalize();
Return Value:
None