Face SDK  1.13.0 Mozart release
Face Recognition Software Development Kit
Public Member Functions | Protected Member Functions | Properties | List of all members
FaceSDK.Liveness.Liveness Class Reference
Inheritance diagram for FaceSDK.Liveness.Liveness:
FaceSDK.FaceSDKBase FaceSDK.Liveness.ILiveness FaceSDK.IFaceSDKBase FaceSDK.IFaceSDKBase

Public Member Functions

 Liveness (uint version, ILivenessConfig config, ILicense license, uint batchSize, int computeDevice)
 Creates Liveness object using given config and given license More...
 
 Liveness (uint version, ILivenessConfig config, IDataContainer container, uint batchSize, int computeDevice)
 Creates Liveness object using given config and given container More...
 
 Liveness (uint version, ILivenessConfig config, ILicense license, IDataContainer container, uint batchSize, int computeDevice)
 Creates Liveness object using given config, license and container More...
 
 Liveness (uint version, ILivenessConfig config, uint batchSize, int computeDevice)
 Creates Liveness object using given config and using default license and container More...
 
IFaceSDKSet< ILivenessResultProcessFaces (IFaceSDKSet< IFace > faces)
 Performs liveness detection on detected faces. The faces must be detected by compatible face detection algorithm. See list of dependencies.
If you serialize faces you must serialize with full frame for correct work. More...
 
- Public Member Functions inherited from FaceSDK.FaceSDKBase
override bool Equals (object obj)
 
override int GetHashCode ()
 
void CheckValidity (string objectName=null)
 Throw an ObjectDisposedException adding a given name to exception's Message in case that object is not valid More...
 
void Dispose ()
 

Protected Member Functions

override void FreeHandle (IntPtr handle)
 
override ulong GetId ()
 

Properties

uint Version [get]
 
- Properties inherited from FaceSDK.FaceSDKBase
IntPtr Handle [get, protected set]
 
bool Valid [get]
 
- Properties inherited from FaceSDK.IFaceSDKBase
bool Valid [get]
 True if object is valid, false if disposed or not created properly More...
 
- Properties inherited from FaceSDK.Liveness.ILiveness
uint Version [get]
 Returns liveness detection algorithm version More...
 

Constructor & Destructor Documentation

◆ Liveness() [1/4]

FaceSDK.Liveness.Liveness.Liveness ( uint  version,
ILivenessConfig  config,
ILicense  license,
uint  batchSize,
int  computeDevice 
)
inline

Creates Liveness object using given config and given license

Parameters
versionLiveness algorithm version
configLiveness config
licenseLicense
batchSizeBatch size
computeDeviceCompute device

◆ Liveness() [2/4]

FaceSDK.Liveness.Liveness.Liveness ( uint  version,
ILivenessConfig  config,
IDataContainer  container,
uint  batchSize,
int  computeDevice 
)
inline

Creates Liveness object using given config and given container

Parameters
versionLiveness algorithm version
configLiveness config
containerData container
batchSizeBatch size
computeDeviceCompute device

◆ Liveness() [3/4]

FaceSDK.Liveness.Liveness.Liveness ( uint  version,
ILivenessConfig  config,
ILicense  license,
IDataContainer  container,
uint  batchSize,
int  computeDevice 
)
inline

Creates Liveness object using given config, license and container

Parameters
versionLiveness algorithm version
configLiveness config
licenseLicense
containerData container
batchSizeBatch size
computeDeviceCompute device

◆ Liveness() [4/4]

FaceSDK.Liveness.Liveness.Liveness ( uint  version,
ILivenessConfig  config,
uint  batchSize,
int  computeDevice 
)
inline

Creates Liveness object using given config and using default license and container

Parameters
versionLiveness algorithm version
configLiveness config


Parameters
batchSizeBatch size
computeDeviceCompute device

Member Function Documentation

◆ ProcessFaces()

IFaceSDKSet<ILivenessResult> FaceSDK.Liveness.Liveness.ProcessFaces ( IFaceSDKSet< IFace faces)
inline

Performs liveness detection on detected faces. The faces must be detected by compatible face detection algorithm. See list of dependencies.
If you serialize faces you must serialize with full frame for correct work.

Parameters
facesFaces obtained directly from IFaceDetector or deserialized by ISerializer.
Returns
Set of liveness results.

Implements FaceSDK.Liveness.ILiveness.


The documentation for this class was generated from the following file: