| Face Engine SDK 5.12.0 A face detection, recognition and tracking engine.

Public Member Functions | List of all members
fsdk::ILivenessDepthEstimator Struct Referenceabstract

Depth estimator interface. More...

`#include <ILivenessDepthEstimator.h>`

Inheritance diagram for fsdk::ILivenessDepthEstimator:

## Public Member Functions
virtual Result< FSDKError > | estimate (const Image &depth, DepthEstimation &out) const noexcept=0
| Check whether or not depth map corresponds to the real person. More...
Public Member Functions inherited from fsdk::IRefCounted
virtual int32_t | retain () noexcept=0
| Increase strong reference count. More...
virtual int32_t | retainLocked () noexcept=0
| Increase strong reference count thread safely. More...
virtual int32_t | release () noexcept=0
| Decrease strong reference count. More...
virtual int32_t | getRefCount () const noexcept=0
| Get actual strong reference count. More...
virtual int32_t | retainWeak () noexcept=0
| Increase weak reference count. More...
virtual int32_t | releaseWeak () noexcept=0
| Decrease weak reference count. More...
virtual int32_t | getWeakRefCount () const noexcept=0
| Get actual weak reference count. More...

## Detailed Description

Depth estimator interface.

Note
  This estimator is designed for face analysis using depth map. It works with 16 bit depth map of face warp.

See also
  IWarper for details.

## Member Function Documentation

## ◆ estimate()

virtual Result<FSDKError> fsdk::ILivenessDepthEstimator::estimate | ( | const Image & | depth,
|  | DepthEstimation & | out
| ) |  | const
| pure virtual noexcept

Check whether or not depth map corresponds to the real person.

Parameters

  [in] | depth | depth image with warped face.
  [out] | out | DepthEstimation output structure.

Returns
  Result with error code.

See also
  DepthEstimation, Image, Result and FSDKError for details.

Note
  depth warp format must be R16,

See also
  Format.

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

- include/fsdk/Estimators/ILivenessDepthEstimator.h