13 #ifndef __PBIO_API__PBIO__FACE_QUALITY_ESTIMATOR_H_
14 #define __PBIO_API__PBIO__FACE_QUALITY_ESTIMATOR_H_
20 #include "ComplexObject.h"
21 #include "RawSample.h"
24 #include "stl_wraps_impls/WrapOStreamImpl.h"
50 typedef LightSmartPtr<FaceQualityEstimator>::tPtr
Ptr;
82 const DHPtr &dll_handle,
102 FaceQualityEstimator::FaceQualityEstimator(
103 const DHPtr &dll_handle,
105 ComplexObject(dll_handle, impl)
114 void* exception = NULL;
116 const float result = _dll_handle->FaceQualityEstimator_estimateQuality(
118 (pbio::facerec::RawSampleImpl
const*) sample._impl,
121 checkException(exception, *_dll_handle);
130 #endif // __PBIO_API__PBIO__FACE_QUALITY_ESTIMATOR_H_
Interface object for sample quality estimation.
Definition: FaceQualityEstimator.h:41
Interface object for creating other interface objects.
Definition: FacerecService.h:64
Interface object that stores a captured face sample.
Definition: RawSample.h:49
LightSmartPtr< FaceQualityEstimator >::tPtr Ptr
Alias for the type of a smart pointer to FaceQualityEstimator.
Definition: FaceQualityEstimator.h:50
float estimateQuality(const pbio::RawSample &) const
Estimates quality of a given face sample.
Definition: FaceQualityEstimator.h:112
Error - the class of exceptions thrown when errors occur.
Definition: FacerecService.mm:79