9 #ifndef __PBIO_API__PBIO__LIVENESS_ESTIMATOR_H_
10 #define __PBIO_API__PBIO__LIVENESS_ESTIMATOR_H_
16 #include "ComplexObject.h"
17 #include "RawSample.h"
20 #include "stl_wraps_impls/WrapOStreamImpl.h"
42 typedef LightSmartPtr<LivenessEstimator>::tPtr
Ptr;
113 const DHPtr &dll_handle,
133 LivenessEstimator::LivenessEstimator(
134 const DHPtr &dll_handle,
136 ComplexObject(dll_handle, impl)
145 void* exception = NULL;
147 const int result = _dll_handle->LivenessEstimator_estimateLiveness(
151 checkException(exception, *_dll_handle);
167 void* exception = NULL;
169 _dll_handle->LivenessEstimator_addSample(
171 (pbio::facerec::RawSampleImpl
const*) sample._impl,
174 checkException(exception, *_dll_handle);
180 #endif // __PBIO_API__PBIO__LIVENESS_ESTIMATOR_H_
Interface object for creating other interface objects.
Definition: FacerecService.h:64
Interface object used to estimate face liveness to prevent spoofing attacks.
Definition: LivenessEstimator.h:33
Interface object that stores a captured face sample.
Definition: RawSample.h:49
Not enough information.
Definition: LivenessEstimator.h:56
Error - the class of exceptions thrown when errors occur.
The observed face is taken from a photo.
Definition: LivenessEstimator.h:70
void addSample(const pbio::RawSample &)
Add a sample of the observed face from the new frame.
Definition: LivenessEstimator.h:165
Definition: FacerecService.mm:79
LightSmartPtr< LivenessEstimator >::tPtr Ptr
Alias for the type of a smart pointer to LivenessEstimator.
Definition: LivenessEstimator.h:42
Liveness
Estimated liveness.
Definition: LivenessEstimator.h:49
Liveness estimateLiveness()
Estimate liveness of the observed face.
Definition: LivenessEstimator.h:143
The observed face belongs to a living person.
Definition: LivenessEstimator.h:63