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

 

Next chapterConfiguration

Contents

Get in touch

Luxand, Inc.
815 N. Royal St. Suite 202
Alexandria, VA
22314
USA
Freephone:
+1 800 471 5636

Join our newsletter

And always stay informed of the latest company news and events!

Sign up >>

DMCA.com Protection Status