|
Enrollment 28.2.0
|
Applicant represent enrolled person. More...
#include <Applicant.h>
Public Member Functions | |
| std::vector< std::shared_ptr< ExtractedPrint > > | GetEnrolledPrints () const |
| Function provides enrolled Prints. | |
| std::vector< std::shared_ptr< ExtractedFace > > | GetEnrolledFaces () const |
| Function provides enrolled Faces. | |
| std::vector< std::shared_ptr< ExtractedIris > > | GetEnrolledIrises () const |
| Function provides enrolled Irises. | |
| std::shared_ptr< ModalitiesTemplate > | ToTemplate () const |
| Converts Applicant to ModalitiesTemplate. | |
| std::shared_ptr< ModalitiesICSTemplate > | ToICSTemplate () const |
| Converts Applicant to ModalitiesICSTemplate. | |
| std::shared_ptr< ModalitiesICSTemplate > | ToICSTemplate (ModalitiesICSTemplateFactory &factory) const |
| Converts Applicant to ModalitiesICSTemplate. | |
| ModalityScore | SimilarWith (const Applicant &gallery, ApplicantMatcher &matcher) const |
| Calculates SimilarityScore for each modality. | |
| std::shared_ptr< ExtractedPrint > | AddUniquePrint (std::shared_ptr< ExtractedPrint > print) |
| Validates print according to default FlatteningValidation and adds Print when is valid. | |
| bool | AddValidPrint (std::shared_ptr< ExtractedPrint > print, ApplicantPrintValidation &validation) |
| Validates print according to given ApplicantPrintValidation and adds Print when is valid See Custom Print validation. | |
| void | AddPrint (std::shared_ptr< ExtractedPrint > print) |
| Adds Print to applicant. | |
| void | AddSlap (std::shared_ptr< SlapCapture > slap) |
| It adds SlapCapture to applicant. | |
| void | AddThumbs (std::shared_ptr< ThumbsCapture > thumbs) |
| It adds ThumbsCapture to applicant. | |
| bool | AddValidFace (std::shared_ptr< ExtractedFace > face, ApplicantFaceValidation &validation) |
| Validates Face according to given ApplicantFaceValidation and adds Face when is valid. | |
| void | AddFace (std::shared_ptr< ExtractedFace > face) |
| It adds Face to applicant. | |
| void | AddIris (std::shared_ptr< ExtractedIris > iris) |
| It adds Iris to applicant. | |
| void | WriteTo (Writer &writer) const final |
| It serializes applicant via provided Writer. | |
| Applicant () | |
| Constructor uses GLobalLogger. | |
Applicant represent enrolled person.
It holds person biometric data. It provides features:
|
inline |
It adds Face to applicant.
| face | ExtractedFace detected by FaceDetector and extracted |
| NullArgumentException | when face is null object |
|
inline |
It adds Iris to applicant.
| iris | Iris detected by IrisDetector |
| NullArgumentException | when iris is null object |
|
inline |
Adds Print to applicant.
| print template calculated by PrintExtractor. |
| NullArgumentException | when print is null |
|
inline |
It adds SlapCapture to applicant.
| slap | SlapCapture |
| NullArgumentException | when slap is null |
|
inline |
It adds ThumbsCapture to applicant.
| thumbs | ThumbsCapture |
| NullArgumentException | when thumbs is null |
|
inline |
Validates print according to default FlatteningValidation and adds Print when is valid.
See Print flattening.
| ExtractedPrint to be checked and added. |
| NullArgumentException | when FlatteningValidation throws |
References AddValidPrint(), and FlatteningValidation::GetInvalidatingPrint().
|
inline |
Validates Face according to given ApplicantFaceValidation and adds Face when is valid.
| face | ExtractedFace to be checked and added |
| validation | ApplicantFaceValidation to check Face validity |
| NullArgumentException | when probe is null |
References ApplicantFaceValidation::Validate().
|
inline |
Validates print according to given ApplicantPrintValidation and adds Print when is valid See Custom Print validation.
| ExtractedPrint to be checked and added | |
| validation | ApplicantPrintValidation to check print validity |
| NullArgumentException | when print is null |
References ApplicantPrintValidation::Validate().
Referenced by AddUniquePrint().
|
inline |
Function provides enrolled Faces.
|
inline |
Function provides enrolled Irises.
|
inline |
Function provides enrolled Prints.
|
inlinenodiscard |
Calculates SimilarityScore for each modality.
This is convenient function to check similarity of applicants. It is not efficient because it always creates probe and gallery ModalitiesTemplate.
| gallery | applicant to compare with |
| matcher | is ApplicantMatcher used to calculate ModalityScore between probe (this Applicant) and given Applicant gallery. |
| EnrollmentException | when it is not possible to match applicants |
References Applicant(), and ApplicantMatcher::Match().
|
inline |
Converts Applicant to ModalitiesICSTemplate.
It gets all enrolled prints, faces, irises and converts them to ModalityICSTemplate. It uses default ModalitiesICSTemplateDefaultFactory for conversion.
References ToICSTemplate().
Referenced by ToICSTemplate().
|
inline |
Converts Applicant to ModalitiesICSTemplate.
It gets all enrolled prints, faces, irises and converts them to ModalityICSTemplate.
| factory | ModalitiesICSTemplateFactory used for conversion |
References ModalitiesICSTemplateFactory::CreateModalitiesICSTemplate(), ExtractedPrint::ToICSTemplates(), ExtractedFace::ToTemplates(), and ExtractedIris::ToTemplates().
|
inline |
Converts Applicant to ModalitiesTemplate.
It gets all enrolled prints, faces, irises and converts them to ModalityTemplate. The ModalityTemplate can be later used in ModalitiesGallery as probe or candidate. The ModalityTemplate can be later used in ModalitiesVerifyMatcher as probe or reference for Applicant verification.
References ModalitiesTemplate::Create(), ExtractedFace::ToTemplates(), ExtractedIris::ToTemplates(), and ExtractedPrint::ToTemplates().
|
inlinefinalvirtual |
It serializes applicant via provided Writer.
| writer | used to serialize Applicant. |
Implements Serializable.