|
Enrollment 28.2.0
|
FaceTemplate is Innovatrics proprietary face template. More...
#include <Face.h>
Public Member Functions | |
| 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. | |
| void | WriteTo (Writer &writer) const override |
| Function serializes FaceTemplate via provided Writer. | |
| FaceTemplate (std::vector< uint8_t > &&templ, std::shared_ptr< FaceExecutor > executor) | |
| Construct a new FaceTemplate object. | |
| FaceTemplate (std::vector< uint8_t > &&templ) | |
| Construct a new FaceTemplate object GlobalFaceExecutor is used. | |
| FaceTemplate (const std::vector< uint8_t > &templ, std::shared_ptr< FaceExecutor > executor) | |
| Construct a new FaceTemplate object, copy template data. | |
| FaceTemplate (const std::vector< uint8_t > &templ) | |
| Construct a new FaceTemplate object, copy template data GlobalFaceExecutor is used. | |
Public Attributes | |
| const std::vector< uint8_t > | data |
| Template data. | |
FaceTemplate is Innovatrics proprietary face template.
The template can be used later for verification.
|
inline |
Construct a new FaceTemplate object.
| templ | template data |
| executor | is FaceExecutor |
| NullArgumentException | when executor is null |
| InvalidTemplateException | when Face template has no data |
References data.
Referenced by SimilarWith().
|
inlineexplicit |
Construct a new FaceTemplate object GlobalFaceExecutor is used.
| templ | template data |
| InvalidTemplateException | when Face template has no data |
References data.
|
inline |
Construct a new FaceTemplate object, copy template data.
| templ | template data |
| executor | is FaceExecutor |
| NullArgumentException | when executor is null |
| InvalidTemplateException | when Face template has no data |
References data.
|
inlineexplicit |
Construct a new FaceTemplate object, copy template data GlobalFaceExecutor is used.
| templ | template data |
| InvalidTemplateException | when Face template has no data |
References data.
|
inlinenodiscard |
Provides version information of Innovatrics proprietary algorithm used to create the face template.
References data.
|
inlinenodiscard |
Calculates FaceSimilarityScore for given FaceTemplate.
| gallery | FaceTemplate for score calculation |
| EnrollmentException | when it is not possible to match templates |
References data, and FaceTemplate().
|
inlineoverridevirtual |
Function serializes FaceTemplate via provided Writer.
| writer | used to serialize Face. |
Implements Serializable.
References data, and Writer::WriteArray().
Referenced by ExtractedFace::WriteTo().