13 #ifndef __PBIO_API__PBIO__LIVENESS_2D_ESTIMATOR_H_ 
   14 #define __PBIO_API__PBIO__LIVENESS_2D_ESTIMATOR_H_ 
   20 #include "ComplexObject.h" 
   22 #include "RawSample.h" 
   24 #include "stl_wraps_impls/WrapOStreamImpl.h" 
   50     typedef LightSmartPtr<Liveness2DEstimator>::tPtr 
Ptr;
 
  231         const DHPtr &dll_handle,
 
  251 Liveness2DEstimator::Liveness2DEstimator(
 
  252     const DHPtr &dll_handle,
 
  254 ComplexObject(dll_handle, impl)
 
  263     void* exception = NULL;
 
  267     _dll_handle->Liveness2DEstimator_estimateLiveness(
 
  269         (pbio::facerec::RawSampleImpl 
const*) sample._impl,
 
  274     checkException(exception, *_dll_handle);
 
  276     return static_cast<Liveness>(verdict);
 
  283     void* exception = NULL;
 
  287     _dll_handle->Liveness2DEstimator_estimateLiveness(
 
  289         (pbio::facerec::RawSampleImpl 
const*) sample._impl,
 
  294     checkException(exception, *_dll_handle);
 
  298     result.
score = score;
 
  306 #endif  // __PBIO_API__PBIO__LIVENESS_2D_ESTIMATOR_H_ 
Liveness estimateLiveness(const pbio::RawSample &sample)
Estimates liveness of an observed face. 
Definition: Liveness2DEstimator.h:261
The observed face belongs to a real person. 
Definition: Liveness2DEstimator.h:71
Interface object for creating other interface objects. 
Definition: FacerecService.h:64
Liveness
Estimated liveness. 
Definition: Liveness2DEstimator.h:57
Interface object used to estimate face liveness in order to prevent spoofing attacks. 
Definition: Liveness2DEstimator.h:41
The observed face is not frontal and turned left. 
Definition: Liveness2DEstimator.h:113
Interface object that stores a captured face sample. 
Definition: RawSample.h:49
The observed face is out of image boundaries. 
Definition: Liveness2DEstimator.h:92
LivenessAndScore estimate(const pbio::RawSample &sample)
liveness and score of an observed face. 
Definition: Liveness2DEstimator.h:281
Error - the class of exceptions thrown when errors occur. 
More than one face detected on the input image. 
Definition: Liveness2DEstimator.h:99
The observed face is taken from a photo. 
Definition: Liveness2DEstimator.h:78
Input image is too noisy. 
Definition: Liveness2DEstimator.h:141
The Observed face is not frontal and turned up. 
Definition: Liveness2DEstimator.h:120
The observed face was not checked. 
Definition: Liveness2DEstimator.h:85
Not enough information. 
Definition: Liveness2DEstimator.h:64
Input image is too flared. 
Definition: Liveness2DEstimator.h:155
The Observed face is not frontal and turned down. 
Definition: Liveness2DEstimator.h:127
The observed face is not frontal and turned right. 
Definition: Liveness2DEstimator.h:106
LightSmartPtr< Liveness2DEstimator >::tPtr Ptr
Alias for the type of a smart pointer to Liveness2DEstimator. 
Definition: Liveness2DEstimator.h:50
Input image has bad lighting. 
Definition: Liveness2DEstimator.h:134
float score
Liveness score. 
Definition: Liveness2DEstimator.h:177
Estimated liveness and score. 
Definition: Liveness2DEstimator.h:163
Definition: FacerecService.mm:79
Liveness liveness
Estimated liveness (see Liveness for details). 
Definition: Liveness2DEstimator.h:170
Input image is too blurry. 
Definition: Liveness2DEstimator.h:148