|
Enrollment 28.2.0
|
ExtractedFace is ICF Template created by FaceExtractor with Face that was extracted. More...
#include <Face.h>
Public Member Functions | |
| void | WriteTo (Writer &writer) const final |
| Function serializes ExtractedFace via provided Writer. | |
| FaceSimilarityScore | SimilarWith (const FaceTemplate &gallery) const |
| Calculates FaceSimilarityScore for given FaceTemplate. | |
| std::string | GetVersion () const |
| Provides version information of Innovatrics proprietary algorithm used to create the face template. | |
Static Public Member Functions | |
| static std::vector< std::shared_ptr< FaceTemplate > > | ToTemplates (const std::vector< std::shared_ptr< ExtractedFace > > &faces) |
| Converts a vector of ExtractedFace objects into a vector of FaceTemplate objects. | |
Public Attributes | |
| const std::shared_ptr< Face > | face |
| Face that is used to template extraction. | |
| const std::vector< uint8_t > | data |
| Template data. | |
Friends | |
| class | Face |
ExtractedFace is ICF Template created by FaceExtractor with Face that was extracted.
The template can be used later for verification.
|
inlinenodiscardinherited |
Provides version information of Innovatrics proprietary algorithm used to create the face template.
References data.
|
inlinenodiscardinherited |
Calculates FaceSimilarityScore for given FaceTemplate.
| gallery | FaceTemplate for score calculation |
| EnrollmentException | when it is not possible to match templates |
References data, and FaceTemplate().
|
inlinestatic |
Converts a vector of ExtractedFace objects into a vector of FaceTemplate objects.
This function takes a vector of ExtractedFace objects and converts each element into an FaceTemplate object, then returns a vector of FaceTemplate objects.
| faces | A vector of ExtractedFace objects to be converted. |
Referenced by Applicant::ToICSTemplate(), and Applicant::ToTemplate().
|
inlinefinalvirtual |
Function serializes ExtractedFace via provided Writer.
| writer | used to serialize Face. |
Implements Serializable.
References face, Writer::Write(), and FaceTemplate::WriteTo().