Enrollment 28.2.0
Loading...
Searching...
No Matches
ISOFullFrontalImageValidator Class Referencefinal

Check if usage of Full Frontal Images on travel documents will follow best practices, as described in Section B.3.2 Best practices for use of Full Frontal Images on travel documents [6]. More...

#include <FaceValidation.h>

Collaboration diagram for ISOFullFrontalImageValidator:

Public Member Functions

std::vector< FailedFaceAttribute > Validate (const std::shared_ptr< Face > &probe) final
 Check if usage of Full Frontal image on travel documents will be reliable.

Detailed Description

Check if usage of Full Frontal Images on travel documents will follow best practices, as described in Section B.3.2 Best practices for use of Full Frontal Images on travel documents [6].

For a Full Frontal Image, the (Image Width: Image Height) aspect ratio should be between 1:1,25 and 1:1,34. This allows for ratio of 1:1,25 specified by NIST best practices for mug shots, 1:1,28 used in many passport images, and 1:1,33 used in many driver's license images. [6]

Member Function Documentation

◆ Validate()

std::vector< FailedFaceAttribute > Validate ( const std::shared_ptr< Face > & probe)
inlinefinalvirtual

Check if usage of Full Frontal image on travel documents will be reliable.

Parameters
probeFace to be checked
Returns
list of attributes that will cause not reliable usage the image on travel documents
Exceptions
NullArgumentExceptionwhen probe is null

Implements FaceAttributeReliability.

References Face::WIDTH_HEIGHT_RATIO.


The documentation for this class was generated from the following file: