13 #ifndef __PBIO_API__PBIO__QUALITY_ESTIMATOR_H_
14 #define __PBIO_API__PBIO__QUALITY_ESTIMATOR_H_
20 #include "ComplexObject.h"
21 #include "RawSample.h"
24 #include "stl_wraps_impls/WrapOStreamImpl.h"
50 typedef LightSmartPtr<QualityEstimator>::tPtr
Ptr;
129 const DHPtr &dll_handle,
149 QualityEstimator::QualityEstimator(
150 const DHPtr &dll_handle,
152 ComplexObject(dll_handle, impl)
161 void* exception = NULL;
165 _dll_handle->QualityEstimator_estimateQuality(
167 (pbio::facerec::RawSampleImpl
const*) sample._impl,
182 checkException(exception, *_dll_handle);
190 #endif // __PBIO_API__PBIO__QUALITY_ESTIMATOR_H_
Interface object for creating other interface objects.
Definition: FacerecService.h:64
Interface object that stores a captured face sample.
Definition: RawSample.h:49
int lighting
Lighting uniformity.
Definition: QualityEstimator.h:78
Set of quality parameters. Each parameter is in range 1 to 5. '1' stands for 'best qualit'...
Definition: QualityEstimator.h:64
Quality estimateQuality(const pbio::RawSample &) const
Estimates quality of a given face sample.
Definition: QualityEstimator.h:159
int sharpness
Sharpness.
Definition: QualityEstimator.h:92
LightSmartPtr< QualityEstimator >::tPtr Ptr
Alias for the type of a smart pointer to QualityEstimator.
Definition: QualityEstimator.h:50
Error - the class of exceptions thrown when errors occur.
int total
Total quality score.
Definition: QualityEstimator.h:71
Interface object used to estimate sample quality.
Definition: QualityEstimator.h:41
int flare
Flare.
Definition: QualityEstimator.h:99
int noise
Noise.
Definition: QualityEstimator.h:85
Definition: FacerecService.mm:79