|
Enrollment 28.2.0
|
Print template in ICS format used for biometric operations with Print that was extracted. More...
#include <ExtractedPrint.h>
Public Member Functions | |
| void | EnhanceWithEmbedding (std::shared_ptr< ExtractedPrintEmbedding > embedding) |
| Enhances the object with an embedding representation. | |
| void | EnhanceWithEmbedding (const EmbeddingExtractor &extractor) |
| Enhances the object with an embedding representation using an embedding extractor. | |
| std::shared_ptr< ExtractedPrintEmbedding > | GetEmbeddingRepresentation () const |
| Retrieves the embedding representation associated with the object. | |
| bool | HasEmbeddingRepresentation () const |
| Checks if the object has an embedding representation. | |
| ExtractedPrint (std::vector< uint8_t > &&d, std::shared_ptr< Print > fp) | |
| Create ExtractedPrint object. | |
| ExtractedPrint (std::vector< uint8_t > &&d, std::shared_ptr< Print > fp, std::shared_ptr< PrintExecutor > executor) | |
| Create ExtractedPrint object. | |
| std::shared_ptr< ISOTemplate > | ToISO () const |
| Convert this ExtractedPrint to into ISO/IEC 19794-2 compliant template. | |
| std::shared_ptr< ANSITemplate > | ToANSI () const |
| Convert this ExtractedPrint to into ANSI/INCITS 378 compliant template. | |
| void | WriteTo (Writer &w) const final |
| Write itself into writer. | |
| bool | IsICSTemplateBiometricPositionKnown () const |
| It checks if template contains known biometric position. | |
| PrintPosition | GetICSTemplateBiometricPosition () const |
| It returns biometric position to which template belongs. | |
| std::string | GetVersion () const |
| Provides version information of Innovatrics proprietary algorithm used to create the ICS template. | |
| std::shared_ptr< ICSTemplate > | Anonymize () const |
| Creates ICSTemplate without position. | |
| PrintSimilarityScore | SimilarWith (const ICSTemplate &tmpl, const ICSMatcher &matcher) const |
| It calculates similarity score between this and given ICSTemplate. | |
| uint8_t | CalculateQuality () |
| Function calculates a fingerprint template quality. | |
| std::shared_ptr< ISOTemplate > | ToISO (const std::shared_ptr< const Print > &print) const |
| Convert this ICSTemplate to into ISO/IEC 19794-2 compliant template. | |
| std::shared_ptr< ANSITemplate > | ToANSI (const std::shared_ptr< const Print > &print) const |
| Convert this ICSTemplate to into ANSI/INCITS 378 compliant template. | |
| std::vector< std::shared_ptr< Minutia > > | GetMinutiae () const |
| Get minutiae from template. | |
| std::vector< std::shared_ptr< CriticalPoint > > | GetCriticalPoints () const |
| Get critical points (core/delta) from template. | |
Static Public Member Functions | |
| static std::vector< std::shared_ptr< ICSTemplate > > | ToICSTemplates (const std::vector< std::shared_ptr< ExtractedPrint > > &prints) |
| Converts a vector of ExtractedPrint objects into a vector of ICSTemplate objects. | |
| static std::vector< std::shared_ptr< PrintTemplate > > | ToTemplates (const std::vector< std::shared_ptr< ExtractedPrint > > &prints) |
| Converts a vector of ExtractedPrint objects into a vector of PrintTemplate objects. | |
Public Attributes | |
| const std::shared_ptr< Print > | |
| Print that was extracted. | |
| const std::vector< uint8_t > | icsTemplateData |
| template data | |
|
inline |
Create ExtractedPrint object.
| d | template data |
| fp | fingerprint that belongs to template |
| NullArgumentException | when Print is null |
References ICSTemplate::ICSTemplate(), and print.
|
inline |
Create ExtractedPrint object.
| d | template data |
| fp | fingerprint that belongs to template |
| executor | PrintExecutor used to execute template functionality. |
| NullArgumentException | when executor is null |
| EnrollmentRuntimeException | when Print is null |
References ICSTemplate::ICSTemplate(), and print.
|
inlinenodiscardinherited |
Creates ICSTemplate without position.
References icsTemplateData.
|
inlineinherited |
Function calculates a fingerprint template quality.
This function returns quality of a fingerprint template. For enrollment, it is recommended to use only templates with quality > 30.
| EnrollmentException | when fails to calculate template quality |
References icsTemplateData.
|
inline |
Enhances the object with an embedding representation using an embedding extractor.
This function enhances the object with an embedding representation obtained from the provided embedding extractor.
| extractor | An instance of the EmbeddingExtractor used to extract the embedding. |
| EnrollmentException | Thrown if an error occurs during the extraction process. |
References EmbeddingExtractor::Extract(), and print.
|
inline |
Enhances the object with an embedding representation.
This function enhances the object with the provided embedding representation.
| embedding | A ExtractedPrintEmbedding to be associated with the object. |
| NullArgumentException | thrown if the embedding is null |
| EnrollmentInvalidArgumentException | thrown if the print associated with the embedding does not match the print associated with the object |
References print.
|
inlineinherited |
Get critical points (core/delta) from template.
The extraction of critical points is optional. The Enrollment SDK always extracts critical points. Other Innovatrics SDKs can produce template without critical points.
References GlobalLogger::Get(), and icsTemplateData.
|
inline |
Retrieves the embedding representation associated with the object.
This function retrieves the embedding representation associated with the object.
|
inlinenodiscardinherited |
It returns biometric position to which template belongs.
| EnrollmentRuntimeException | when biometric position is unknown |
|
inlineinherited |
Get minutiae from template.
References GlobalLogger::Get(), and icsTemplateData.
|
inlinenodiscardinherited |
Provides version information of Innovatrics proprietary algorithm used to create the ICS template.
References icsTemplateData.
|
inline |
Checks if the object has an embedding representation.
This function checks whether the object has an embedding representation associated with it.
|
inlinenodiscardinherited |
It checks if template contains known biometric position.
|
inlineinherited |
It calculates similarity score between this and given ICSTemplate.
It uses given ICSMatcher to calculate score.
| tmpl | gallery ICSTemplate. |
| matcher | is ICSMatcher used to calculate similarity score between probe (this template) and given template tmpl |
References ICSTemplate(), and ICSMatcher::Match().
|
inline |
Convert this ExtractedPrint to into ANSI/INCITS 378 compliant template.
| EnrollmentException | when it is not possible to convert template |
References print, and ICSTemplate::ToANSI().
|
inlineinherited |
Convert this ICSTemplate to into ANSI/INCITS 378 compliant template.
| it is Print from which ICSTemplate was extracted. |
| EnrollmentException | when it is not possible to convert template |
References icsTemplateData, PrintToIsoImpression(), and PrintToIsoPosition().
Referenced by ExtractedPrint::ToANSI().
|
inlinestatic |
Converts a vector of ExtractedPrint objects into a vector of ICSTemplate objects.
This function takes a vector of ExtractedPrint objects and converts each element into an ICSTemplate object, then returns a vector of ICSTemplate objects.
| prints | A vector of ExtractedPrint objects to be converted. |
Referenced by Applicant::ToICSTemplate().
|
inline |
Convert this ExtractedPrint to into ISO/IEC 19794-2 compliant template.
| EnrollmentException | when it is not possible to convert template |
References print, and ICSTemplate::ToISO().
|
inlineinherited |
Convert this ICSTemplate to into ISO/IEC 19794-2 compliant template.
| it is Print from which ICSTemplate was extracted. |
| EnrollmentException | when it is not possible to convert template |
References icsTemplateData, PrintToIsoImpression(), and PrintToIsoPosition().
Referenced by ExtractedPrint::ToISO().
|
inlinestatic |
Converts a vector of ExtractedPrint objects into a vector of PrintTemplate objects.
This function takes a vector of ExtractedPrint objects and converts each element into an PrintTemplate object, then returns a vector of PrintTemplate objects.
| prints | A vector of ExtractedPrint objects to be converted. |
Referenced by Applicant::ToTemplate().
|
inlinefinalvirtual |
Write itself into writer.
| writer | Writer to use to serialize this Serializable |
Implements Serializable.
References print, and ICSTemplate::WriteTo().